Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libavif.spec'], chrootPath='/var/lib/mock/dist-an23.2-build-443618-73212/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sr2n4rmh:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sr2n4rmh:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1c79e82af4a743f4b95c3e79f100596d', '-D', '/var/lib/mock/dist-an23.2-build-443618-73212/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sr2n4rmh:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libavif.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1749686400 Wrote: /builddir/build/SRPMS/libavif-0.11.1-2.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libavif.spec'], chrootPath='/var/lib/mock/dist-an23.2-build-443618-73212/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sr2n4rmh:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sr2n4rmh:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3f1b28956425440db1a673165faf4282', '-D', '/var/lib/mock/dist-an23.2-build-443618-73212/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sr2n4rmh:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libavif.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1749686400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GtifQL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libavif-0.11.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libavif-0.11.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libavif-0.11.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-fix-CVE-2025-48174.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VWetlq + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libavif-0.11.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B anolis-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_FULL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_FULL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=/var/lib -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DAVIF_CODEC_DAV1D=1 -DAVIF_BUILD_APPS=1 -DAVIF_BUILD_GDK_PIXBUF=1 -- The C compiler identification is GNU 12.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- libavif: Enabling warnings for GCC -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Checking for module 'libyuv' -- Package 'libyuv', required by 'virtual:world', not found -- libavif: libyuv not found; libyuv-based fast paths disabled. -- Checking for module 'libsharpyuv' -- Found libsharpyuv, version 1.3.2 -- libavif: libsharpyuv found; sharp rgb to yuv conversion enabled. -- Checking for module 'dav1d' -- Found dav1d, version 1.1.0 -- Found dav1d: /usr/lib64/libdav1d.so (found version "1.1.0") -- libavif: Codec enabled: dav1d (decode) -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.39") -- Found JPEG: /usr/lib64/libjpeg.so (found version "62") -- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5") -- Checking for one of the modules 'gdk-pixbuf-2.0' -- Configuring done (1.0s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libavif-0.11.1/anolis-linux-build + /usr/bin/cmake --build anolis-linux-build -j80 --verbose /usr/bin/cmake -S/builddir/build/BUILD/libavif-0.11.1 -B/builddir/build/BUILD/libavif-0.11.1/anolis-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libavif-0.11.1/anolis-linux-build/CMakeFiles /builddir/build/BUILD/libavif-0.11.1/anolis-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/libavif-0.11.1/anolis-linux-build' /usr/bin/gmake -f CMakeFiles/avif.dir/build.make CMakeFiles/avif.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libavif-0.11.1/anolis-linux-build' cd /builddir/build/BUILD/libavif-0.11.1/anolis-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libavif-0.11.1 /builddir/build/BUILD/libavif-0.11.1 /builddir/build/BUILD/libavif-0.11.1/anolis-linux-build /builddir/build/BUILD/libavif-0.11.1/anolis-linux-build /builddir/build/BUILD/libavif-0.11.1/anolis-linux-build/CMakeFiles/avif.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libavif-0.11.1/anolis-linux-build' /usr/bin/gmake -f CMakeFiles/avif.dir/build.make CMakeFiles/avif.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libavif-0.11.1/anolis-linux-build' [ 3%] Building C object CMakeFiles/avif.dir/src/alpha.c.o /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/alpha.c.o -MF CMakeFiles/avif.dir/src/alpha.c.o.d -o CMakeFiles/avif.dir/src/alpha.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/alpha.c [ 6%] Building C object CMakeFiles/avif.dir/src/avif.c.o /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/avif.c.o -MF CMakeFiles/avif.dir/src/avif.c.o.d -o CMakeFiles/avif.dir/src/avif.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/avif.c [ 9%] Building C object CMakeFiles/avif.dir/src/colr.c.o [ 16%] Building C object CMakeFiles/avif.dir/src/diag.c.o [ 16%] Building C object CMakeFiles/avif.dir/src/exif.c.o /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/colr.c.o -MF CMakeFiles/avif.dir/src/colr.c.o.d -o CMakeFiles/avif.dir/src/colr.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/colr.c /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/diag.c.o -MF CMakeFiles/avif.dir/src/diag.c.o.d -o CMakeFiles/avif.dir/src/diag.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/diag.c /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/exif.c.o -MF CMakeFiles/avif.dir/src/exif.c.o.d -o CMakeFiles/avif.dir/src/exif.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/exif.c [ 22%] Building C object CMakeFiles/avif.dir/src/io.c.o [ 22%] Building C object CMakeFiles/avif.dir/src/mem.c.o /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/io.c.o -MF CMakeFiles/avif.dir/src/io.c.o.d -o CMakeFiles/avif.dir/src/io.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/io.c /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/mem.c.o -MF CMakeFiles/avif.dir/src/mem.c.o.d -o CMakeFiles/avif.dir/src/mem.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/mem.c [ 25%] Building C object CMakeFiles/avif.dir/src/obu.c.o [ 29%] Building C object CMakeFiles/avif.dir/src/rawdata.c.o /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/obu.c.o -MF CMakeFiles/avif.dir/src/obu.c.o.d -o CMakeFiles/avif.dir/src/obu.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/obu.c /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/rawdata.c.o -MF CMakeFiles/avif.dir/src/rawdata.c.o.d -o CMakeFiles/avif.dir/src/rawdata.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/rawdata.c [ 32%] Building C object CMakeFiles/avif.dir/src/read.c.o [ 35%] Building C object CMakeFiles/avif.dir/src/reformat.c.o [ 38%] Building C object CMakeFiles/avif.dir/src/reformat_libsharpyuv.c.o /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/read.c.o -MF CMakeFiles/avif.dir/src/read.c.o.d -o CMakeFiles/avif.dir/src/read.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/read.c /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/reformat.c.o -MF CMakeFiles/avif.dir/src/reformat.c.o.d -o CMakeFiles/avif.dir/src/reformat.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/reformat.c /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/reformat_libsharpyuv.c.o -MF CMakeFiles/avif.dir/src/reformat_libsharpyuv.c.o.d -o CMakeFiles/avif.dir/src/reformat_libsharpyuv.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/reformat_libsharpyuv.c [ 41%] Building C object CMakeFiles/avif.dir/src/reformat_libyuv.c.o [ 48%] Building C object CMakeFiles/avif.dir/src/stream.c.o [ 48%] Building C object CMakeFiles/avif.dir/src/scale.c.o /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/reformat_libyuv.c.o -MF CMakeFiles/avif.dir/src/reformat_libyuv.c.o.d -o CMakeFiles/avif.dir/src/reformat_libyuv.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/reformat_libyuv.c /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/scale.c.o -MF CMakeFiles/avif.dir/src/scale.c.o.d -o CMakeFiles/avif.dir/src/scale.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/scale.c /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/stream.c.o -MF CMakeFiles/avif.dir/src/stream.c.o.d -o CMakeFiles/avif.dir/src/stream.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/stream.c [ 54%] Building C object CMakeFiles/avif.dir/src/utils.c.o [ 54%] Building C object CMakeFiles/avif.dir/src/write.c.o /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/utils.c.o -MF CMakeFiles/avif.dir/src/utils.c.o.d -o CMakeFiles/avif.dir/src/utils.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/utils.c /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/write.c.o -MF CMakeFiles/avif.dir/src/write.c.o.d -o CMakeFiles/avif.dir/src/write.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/write.c [ 58%] Building C object CMakeFiles/avif.dir/src/codec_dav1d.c.o /usr/bin/gcc -DAVIF_BUILDING_SHARED_LIBS -DAVIF_CODEC_DAV1D=1 -DAVIF_DLL -DAVIF_LIBSHARPYUV_ENABLED=1 -Davif_EXPORTS -I/builddir/build/BUILD/libavif-0.11.1/include -I/usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -fvisibility=hidden -Wall -Wextra -Werror -MD -MT CMakeFiles/avif.dir/src/codec_dav1d.c.o -MF CMakeFiles/avif.dir/src/codec_dav1d.c.o.d -o CMakeFiles/avif.dir/src/codec_dav1d.c.o -c /builddir/build/BUILD/libavif-0.11.1/src/codec_dav1d.c /builddir/build/BUILD/libavif-0.11.1/src/stream.c: In function 'makeRoom': /builddir/build/BUILD/libavif-0.11.1/src/stream.c:239:16: error: 'return' with a value, in function returning void [-Werror=return-type] 239 | return AVIF_RESULT_INVALID_ARGUMENT; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libavif-0.11.1/src/stream.c:235:13: note: declared here 235 | static void makeRoom(avifRWStream * stream, size_t size) | ^~~~~~~~ cc1: all warnings being treated as errors gmake[2]: *** [CMakeFiles/avif.dir/build.make:275: CMakeFiles/avif.dir/src/stream.c.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/builddir/build/BUILD/libavif-0.11.1/anolis-linux-build' gmake[1]: Leaving directory '/builddir/build/BUILD/libavif-0.11.1/anolis-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:124: CMakeFiles/avif.dir/all] Error 2 gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.VWetlq (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.VWetlq (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 3f1b28956425440db1a673165faf4282 -D /var/lib/mock/dist-an23.2-build-443618-73212/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.sr2n4rmh:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libavif.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 3f1b28956425440db1a673165faf4282 -D /var/lib/mock/dist-an23.2-build-443618-73212/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.sr2n4rmh:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libavif.spec'