Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/loudgain.spec'], chrootPath='/var/lib/mock/f40-build-51822651-6207236/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o6o7_imw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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.o6o7_imw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'a41a62d50ef24c97930922ec59ae74bc', '-D', '/var/lib/mock/f40-build-51822651-6207236/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o6o7_imw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '--console=pipe', '--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 aarch64 --nodeps /builddir/build/SPECS/loudgain.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/loudgain-0.6.8-15.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/loudgain.spec'], chrootPath='/var/lib/mock/f40-build-51822651-6207236/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o6o7_imw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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.o6o7_imw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '47f27854d2a14619a2be41e35b866bbe', '-D', '/var/lib/mock/f40-build-51822651-6207236/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o6o7_imw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '--console=pipe', '--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 aarch64 --nodeps /builddir/build/SPECS/loudgain.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ElUARC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf loudgain-0.6.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/loudgain-0.6.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd loudgain-0.6.8 + rm -rf /builddir/build/BUILD/loudgain-0.6.8-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/loudgain-0.6.8-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hardened-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix_ffmpeg5.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.FxjCav + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd loudgain-0.6.8 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 redhat-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 -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 CMake Deprecation Warning at CMakeLists.txt:6 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 14.1.1 -- The CXX compiler identification is GNU 14.1.1 -- 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 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.0") -- Checking for module 'libavcodec' -- Found libavcodec, version 60.31.102 -- Checking for module 'libavformat' -- Found libavformat, version 60.16.100 -- Checking for module 'libswresample' -- Found libswresample, version 4.12.100 -- Checking for module 'libavutil' -- Found libavutil, version 58.29.100 -- Checking for module 'taglib' -- Found taglib, version 1.12 -- Looking for include file pty.h -- Looking for include file pty.h - found -- Configuring done (2.5s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_SHARED_LIBS 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/loudgain-0.6.8/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j12 --verbose Change Dir: '/builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j12 /usr/bin/cmake -S/builddir/build/BUILD/loudgain-0.6.8 -B/builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build/CMakeFiles /builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/loudgain.dir/build.make CMakeFiles/loudgain.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build' cd /builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/loudgain-0.6.8 /builddir/build/BUILD/loudgain-0.6.8 /builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build /builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build /builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build/CMakeFiles/loudgain.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/loudgain.dir/build.make CMakeFiles/loudgain.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build' [ 60%] Building C object CMakeFiles/loudgain.dir/src/printf.c.o [ 80%] Building C object CMakeFiles/loudgain.dir/src/loudgain.c.o [ 80%] Building C object CMakeFiles/loudgain.dir/src/scan.c.o [ 80%] Building CXX object CMakeFiles/loudgain.dir/src/tag.cc.o /usr/bin/gcc -I/builddir/build/BUILD/loudgain-0.6.8/src -I/usr/include/ffmpeg -I/usr/include/taglib -I/builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -pedantic -g -MD -MT CMakeFiles/loudgain.dir/src/loudgain.c.o -MF CMakeFiles/loudgain.dir/src/loudgain.c.o.d -o CMakeFiles/loudgain.dir/src/loudgain.c.o -c /builddir/build/BUILD/loudgain-0.6.8/src/loudgain.c /usr/bin/gcc -I/builddir/build/BUILD/loudgain-0.6.8/src -I/usr/include/ffmpeg -I/usr/include/taglib -I/builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -pedantic -g -MD -MT CMakeFiles/loudgain.dir/src/printf.c.o -MF CMakeFiles/loudgain.dir/src/printf.c.o.d -o CMakeFiles/loudgain.dir/src/printf.c.o -c /builddir/build/BUILD/loudgain-0.6.8/src/printf.c /usr/bin/gcc -I/builddir/build/BUILD/loudgain-0.6.8/src -I/usr/include/ffmpeg -I/usr/include/taglib -I/builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -D_GNU_SOURCE -Wall -pedantic -g -MD -MT CMakeFiles/loudgain.dir/src/scan.c.o -MF CMakeFiles/loudgain.dir/src/scan.c.o.d -o CMakeFiles/loudgain.dir/src/scan.c.o -c /builddir/build/BUILD/loudgain-0.6.8/src/scan.c /usr/bin/g++ -I/builddir/build/BUILD/loudgain-0.6.8/src -I/usr/include/ffmpeg -I/usr/include/taglib -I/builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++11 -D_GNU_SOURCE -Wall -pedantic -g -MD -MT CMakeFiles/loudgain.dir/src/tag.cc.o -MF CMakeFiles/loudgain.dir/src/tag.cc.o.d -o CMakeFiles/loudgain.dir/src/tag.cc.o -c /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc /builddir/build/BUILD/loudgain-0.6.8/src/scan.c: In function ‘scan_file’: /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:159:74: error: passing argument 5 of ‘av_find_best_stream’ from incompatible pointer type [-Wincompatible-pointer-types] 159 | stream_id = av_find_best_stream(container, AVMEDIA_TYPE_AUDIO, -1, -1, &codec, 0); | ^~~~~~ | | | AVCodec ** In file included from /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:45: /usr/include/ffmpeg/libavformat/avformat.h:2113:48: note: expected ‘const struct AVCodec **’ but argument is of type ‘AVCodec **’ 2113 | const struct AVCodec **decoder_ret, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:181:3: warning: ‘channel_layout’ is deprecated [-Wdeprecated-declarations] 181 | if (!ctx->channel_layout) | ^~ In file included from /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:44: /usr/include/ffmpeg/libavcodec/avcodec.h:1130:14: note: declared here 1130 | uint64_t channel_layout; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:182:5: warning: ‘channel_layout’ is deprecated [-Wdeprecated-declarations] 182 | ctx->channel_layout = av_get_default_channel_layout(ctx->channels); | ^~~ /usr/include/ffmpeg/libavcodec/avcodec.h:1130:14: note: declared here 1130 | uint64_t channel_layout; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:182:5: warning: ‘av_get_default_channel_layout’ is deprecated [-Wdeprecated-declarations] 182 | ctx->channel_layout = av_get_default_channel_layout(ctx->channels); | ^~~ In file included from /usr/include/ffmpeg/libavcodec/avcodec.h:34: /usr/include/ffmpeg/libavutil/channel_layout.h:506:9: note: declared here 506 | int64_t av_get_default_channel_layout(int nb_channels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:182:5: warning: ‘channels’ is deprecated [-Wdeprecated-declarations] 182 | ctx->channel_layout = av_get_default_channel_layout(ctx->channels); | ^~~ /usr/include/ffmpeg/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:191:3: warning: ‘av_get_channel_layout_string’ is deprecated [-Wdeprecated-declarations] 191 | av_get_channel_layout_string(infobuf, sizeof(infobuf), -1, ctx->channel_layout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ffmpeg/libavutil/channel_layout.h:484:6: note: declared here 484 | void av_get_channel_layout_string(char *buf, int buf_size, int nb_channels, uint64_t channel_layout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:191:3: warning: ‘channel_layout’ is deprecated [-Wdeprecated-declarations] 191 | av_get_channel_layout_string(infobuf, sizeof(infobuf), -1, ctx->channel_layout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ffmpeg/libavcodec/avcodec.h:1130:14: note: declared here 1130 | uint64_t channel_layout; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:193:5: warning: ‘channels’ is deprecated [-Wdeprecated-declarations] 193 | stream_id, codec->long_name, infotext, ctx->sample_rate, ctx->channels, infobuf); | ^~~~~~~~~ /usr/include/ffmpeg/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:197:9: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations] 197 | av_init_packet(&packet); | ^~~~~~~~~~~~~~ In file included from /usr/include/ffmpeg/libavcodec/avcodec.h:44: /usr/include/ffmpeg/libavcodec/packet.h:629:6: note: declared here 629 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:205:17: warning: ‘channels’ is deprecated [-Wdeprecated-declarations] 205 | ctx -> channels, ctx -> sample_rate, | ^~~ /usr/include/ffmpeg/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c: In function ‘scan_frame’: /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:417:9: warning: ‘av_opt_set_channel_layout’ is deprecated [-Wdeprecated-declarations] 417 | av_opt_set_channel_layout(swr, "in_channel_layout", frame -> channel_layout, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:49: /usr/include/ffmpeg/libavutil/opt.h:702:5: note: declared here 702 | int av_opt_set_channel_layout(void *obj, const char *name, int64_t ch_layout, int search_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:417:9: warning: ‘channel_layout’ is deprecated [-Wdeprecated-declarations] 417 | av_opt_set_channel_layout(swr, "in_channel_layout", frame -> channel_layout, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ffmpeg/libavcodec/avcodec.h:36: /usr/include/ffmpeg/libavutil/frame.h:575:14: note: declared here 575 | uint64_t channel_layout; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:418:9: warning: ‘av_opt_set_channel_layout’ is deprecated [-Wdeprecated-declarations] 418 | av_opt_set_channel_layout(swr, "out_channel_layout", frame -> channel_layout, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ffmpeg/libavutil/opt.h:702:5: note: declared here 702 | int av_opt_set_channel_layout(void *obj, const char *name, int64_t ch_layout, int search_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:418:9: warning: ‘channel_layout’ is deprecated [-Wdeprecated-declarations] 418 | av_opt_set_channel_layout(swr, "out_channel_layout", frame -> channel_layout, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ffmpeg/libavutil/frame.h:575:14: note: declared here 575 | uint64_t channel_layout; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:421:3: warning: ‘channels’ is deprecated [-Wdeprecated-declarations] 421 | av_opt_set_int(swr, "in_channel_count", frame -> channels, 0); | ^~~~~~~~~~~~~~ /usr/include/ffmpeg/libavutil/frame.h:731:9: note: declared here 731 | int channels; | ^~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:422:3: warning: ‘channels’ is deprecated [-Wdeprecated-declarations] 422 | av_opt_set_int(swr, "out_channel_count", frame -> channels, 0); | ^~~~~~~~~~~~~~ /usr/include/ffmpeg/libavutil/frame.h:731:9: note: declared here 731 | int channels; | ^~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/scan.c:438:17: warning: ‘channels’ is deprecated [-Wdeprecated-declarations] 438 | &out_linesize, frame -> channels, frame -> nb_samples, out_fmt, 0 | ^ /usr/include/ffmpeg/libavutil/frame.h:731:9: note: declared here 731 | int channels; | ^~~~~~~~ gmake[2]: *** [CMakeFiles/loudgain.dir/build.make:107: CMakeFiles/loudgain.dir/src/scan.c.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc: In function ‘bool tag_write_mp3(scan_result*, bool, char, char*, bool, bool, int)’: /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc:207:16: warning: ‘bool TagLib::MPEG::File::save(int, bool, int)’ is deprecated [-Wdeprecated-declarations] 207 | return f.save(TagLib::MPEG::File::ID3v2, strip, id3v2version); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc:61: /usr/include/taglib/mpegfile.h:205:30: note: declared here 205 | TAGLIB_DEPRECATED bool save(int tags, bool stripOthers, int id3v2Version); | ^~~~ /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc: In function ‘bool tag_clear_mp3(scan_result*, bool, int)’: /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc:220:16: warning: ‘bool TagLib::MPEG::File::save(int, bool, int)’ is deprecated [-Wdeprecated-declarations] 220 | return f.save(TagLib::MPEG::File::ID3v2, strip, id3v2version); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/taglib/mpegfile.h:205:30: note: declared here 205 | TAGLIB_DEPRECATED bool save(int tags, bool stripOthers, int id3v2Version); | ^~~~ /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc: In function ‘void tag_remove_mp4(TagLib::MP4::Tag*)’: /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc:493:29: warning: ‘TagLib::MP4::ItemListMap’ is deprecated [-Wdeprecated-declarations] 493 | TagLib::MP4::ItemListMap &items = tag->itemListMap(); | ^~~~~ In file included from /usr/include/taglib/mp4file.h:33, from /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc:70: /usr/include/taglib/mp4tag.h:45:57: note: declared here 45 | TAGLIB_DEPRECATED typedef TagLib::Map ItemListMap; | ^~~~~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc:493:53: warning: ‘TagLib::MP4::ItemMap& TagLib::MP4::Tag::itemListMap()’ is deprecated [-Wdeprecated-declarations] 493 | TagLib::MP4::ItemListMap &items = tag->itemListMap(); | ~~~~~~~~~~~~~~~~^~ /usr/include/taglib/mp4tag.h:77:36: note: declared here 77 | TAGLIB_DEPRECATED ItemMap &itemListMap(); | ^~~~~~~~~~~ /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc: In function ‘bool tag_write_wav(scan_result*, bool, char, char*, bool, bool, int)’: /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc:718:16: warning: ‘bool TagLib::RIFF::WAV::File::save(TagTypes, bool, int)’ is deprecated [-Wdeprecated-declarations] 718 | return f.save(TagLib::RIFF::WAV::File::AllTags, false, id3v2version); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc:74: /usr/include/taglib/wavfile.h:165:32: note: declared here 165 | TAGLIB_DEPRECATED bool save(TagTypes tags, bool stripOthers, int id3v2Version = 4); | ^~~~ /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc: In function ‘bool tag_clear_wav(scan_result*, bool, int)’: /builddir/build/BUILD/loudgain-0.6.8/src/tag.cc:728:16: warning: ‘bool TagLib::RIFF::WAV::File::save(TagTypes, bool, int)’ is deprecated [-Wdeprecated-declarations] 728 | return f.save(TagLib::RIFF::WAV::File::AllTags, false, id3v2version); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/taglib/wavfile.h:165:32: note: declared here 165 | TAGLIB_DEPRECATED bool save(TagTypes tags, bool stripOthers, int id3v2Version = 4); | ^~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build' gmake[1]: Leaving directory '/builddir/build/BUILD/loudgain-0.6.8/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/loudgain.dir/all] Error 2 gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.FxjCav (%build) Bad exit status from /var/tmp/rpm-tmp.FxjCav (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 47f27854d2a14619a2be41e35b866bbe -D /var/lib/mock/f40-build-51822651-6207236/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.o6o7_imw:/etc/resolv.conf --bind=/dev/btrfs-control --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 --console=pipe --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 aarch64 --nodeps /builddir/build/SPECS/loudgain.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/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 47f27854d2a14619a2be41e35b866bbe -D /var/lib/mock/f40-build-51822651-6207236/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.o6o7_imw:/etc/resolv.conf --bind=/dev/btrfs-control --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 --console=pipe --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 aarch64 --nodeps /builddir/build/SPECS/loudgain.spec'