Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/zita-resampler.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-227860-17207/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/zita-resampler.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/zita-resampler-1.8.0-1.ocs23.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/zita-resampler.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-227860-17207/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/zita-resampler.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9CJj7R + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zita-resampler-1.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/zita-resampler-1.8.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd zita-resampler-1.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/zita-resampler-1.6.2-destdir.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.N5TORs + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -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 zita-resampler-1.8.0 + /usr/bin/make -O -j32 V=1 VERBOSE=1 -C source make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/source' g++ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -fPIC -O2 -ffast-math -march=native -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DENABLE_SSE2 -c -o resampler-table.o resampler-table.cc make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/source' resampler-table.cc: In constructor 'Resampler_table::Resampler_table(double, unsigned int, unsigned int)': resampler-table.cc:81:20: warning: ignoring return value of 'int posix_memalign(void**, size_t, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | posix_memalign ((void **) &_ctab, 16, n * sizeof (float)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/source' g++ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -fPIC -O2 -ffast-math -march=native -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DENABLE_SSE2 -c -o cresampler.o cresampler.cc make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/source' make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/source' g++ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -fPIC -O2 -ffast-math -march=native -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DENABLE_SSE2 -c -o resampler.o resampler.cc make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/source' resampler.cc: In member function 'int Resampler::setup(unsigned int, unsigned int, unsigned int, unsigned int, double)': resampler.cc:128:24: warning: ignoring return value of 'int posix_memalign(void**, size_t, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 128 | posix_memalign ((void **)(&_buff), 16, n * sizeof (float)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/source' g++ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -fPIC -O2 -ffast-math -march=native -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DENABLE_SSE2 -c -o vresampler.o vresampler.cc make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/source' vresampler.cc: In member function 'int VResampler::setup(double, unsigned int, unsigned int, double)': vresampler.cc:95:24: warning: ignoring return value of 'int posix_memalign(void**, size_t, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 95 | posix_memalign ((void **)(&_buff), 16, n * sizeof (float)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vresampler.cc:96:24: warning: ignoring return value of 'int posix_memalign(void**, size_t, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 96 | posix_memalign ((void **)(&_c1), 16, hl * sizeof (float)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vresampler.cc:97:24: warning: ignoring return value of 'int posix_memalign(void**, size_t, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | posix_memalign ((void **)(&_c2), 16, hl * sizeof (float)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/source' g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname,libzita-resampler.so.1 -o libzita-resampler.so.1.8.0 resampler.o vresampler.o resampler-table.o cresampler.o make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/source' + ln -sf libzita-resampler.so.1.8.0 source/libzita-resampler.so + CXXFLAGS+=' -I../source' + LDFLAGS+=' -L../source' + /usr/bin/make -O -j32 V=1 VERBOSE=1 -C apps make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' gzip -c zresample.1 > zresample.1.gz make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' gzip -c zretune.1 > zretune.1.gz make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' g++ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../source -O2 -ffast-math -Wall -march=native -MMD -MP -DVERSION=\"1.6.0\" -c -o audiofile.o audiofile.cc make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' g++ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../source -O2 -ffast-math -Wall -march=native -MMD -MP -DVERSION=\"1.6.0\" -c -o dither.o dither.cc make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' g++ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../source -O2 -ffast-math -Wall -march=native -MMD -MP -DVERSION=\"1.6.0\" -c -o zretune.o zretune.cc make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' g++ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../source -O2 -ffast-math -Wall -march=native -MMD -MP -DVERSION=\"1.6.0\" -c -o zresample.o zresample.cc make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L../source -o zretune zretune.o audiofile.o dither.o -lzita-resampler -lsndfile -lrt make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L../source -o zresample zresample.o audiofile.o dither.o -lzita-resampler -lsndfile -lrt make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/apps' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.G1PwRz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/zita-resampler-1.8.0-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/zita-resampler-1.8.0-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/zita-resampler-1.8.0-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/zita-resampler-1.8.0-1.ocs23.x86_64 + cd zita-resampler-1.8.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/zita-resampler-1.8.0-1.ocs23.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr LIBDIR=/usr/lib64 -C source install make: Entering directory '/builddir/build/BUILD/zita-resampler-1.8.0/source' install -d /builddir/build/BUILDROOT/zita-resampler-1.8.0-1.ocs23.x86_64/usr/include/zita-resampler install -d /builddir/build/BUILDROOT/zita-resampler-1.8.0-1.ocs23.x86_64/usr/lib64 install -m 644 zita-resampler/resampler.h zita-resampler/resampler-table.h zita-resampler/vresampler.h zita-resampler/cresampler.h /builddir/build/BUILDROOT/zita-resampler-1.8.0-1.ocs23.x86_64/usr/include/zita-resampler install -m 755 libzita-resampler.so.1.8.0 /builddir/build/BUILDROOT/zita-resampler-1.8.0-1.ocs23.x86_64/usr/lib64 ldconfig ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied make: Leaving directory '/builddir/build/BUILD/zita-resampler-1.8.0/source' make: *** [Makefile:61: install] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.G1PwRz (%install) Bad exit status from /var/tmp/rpm-tmp.G1PwRz (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/zita-resampler.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/zita-resampler.spec