Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/libgdither.spec'], chrootPath='/var/lib/mock/epel9-build-36348997-4672008/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/libgdither.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1642636800 Wrote: /builddir/build/SRPMS/libgdither-0.6-26.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/libgdither.spec'], chrootPath='/var/lib/mock/epel9-build-36348997-4672008/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/libgdither.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1642636800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pT3uNR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libgdither-0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/libgdither-0.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libgdither-0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (libgdither-0.6-default.patch): + echo 'Patch #0 (libgdither-0.6-default.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .default --fuzz=0 patching file Makefile patching file libgdither.pc Patch #1 (libgdither-0.6-gavl.patch): + echo 'Patch #1 (libgdither-0.6-gavl.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gavl_fix --fuzz=0 patching file gdither.c Patch #2 (libgdither-0.6-ldflags.patch): + echo 'Patch #2 (libgdither-0.6-ldflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ldflags --fuzz=0 patching file Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8OpV25 + umask 022 + cd /builddir/build/BUILD + cd libgdither-0.6 + export 'INIT_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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + INIT_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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export PREFIX=/usr + PREFIX=/usr + /usr/bin/make -O -j2 V=1 VERBOSE=1 cc -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ffast-math -fPIC -c gdither.c gdither.c: In function 'gdither_new': gdither.c:124:5: warning: case value '23' not in enumerated type 'GDitherSize' [-Wswitch] 124 | case 23: | ^~~~ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -shared gdither.o -Wl,-soname,libgdither.so.1 -o libgdither.so.1.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.swP1CS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x ++ dirname /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x + cd libgdither-0.6 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x 'INSTALL=/usr/bin/install -p' PREFIX=/usr LIBDIR=/usr/lib64 cc -shared gdither.o -Wl,-soname,libgdither.so.1 -o libgdither.so.1.0 mkdir -p /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/lib64 install -pm 0755 libgdither.so* /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/lib64 ln -s libgdither.so.1.0 /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/lib64/libgdither.so.1 ln -s libgdither.so.1.0 /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/lib64/libgdither.so mkdir -p /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/include/libgdither install -pm 0644 gdither.h /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/include/libgdither install -pm 0644 gdither_types.h /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/include/libgdither mkdir -p /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/lib64/pkgconfig/ install -pm 0644 libgdither.pc /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/lib64/pkgconfig/ + find /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x -name '*.la' -exec rm -f '{}' ';' + sed -i -e 's|/usr/local|/usr|g' /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/lib64/pkgconfig/libgdither.pc + sed -i -e 's|/usr/lib|/usr/lib64|' /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/lib64/pkgconfig/libgdither.pc + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.6-26.el9 --unique-debug-suffix -0.6-26.el9.s390x --unique-debug-src-base libgdither-0.6-26.el9.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libgdither-0.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/lib64/libgdither.so.1.0 extracting debug info from /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/lib64/libgdither.so.1.0 original debug info size: 36kB, size after compression: 36kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 29 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.rqnvFP + umask 022 + cd /builddir/build/BUILD + cd libgdither-0.6 + make test '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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -Werror --std=c99 -I/builddir/build/BUILD/libgdither-0.6' cc -shared gdither.o -Wl,-soname,libgdither.so.1 -o libgdither.so.1.0 (cd tests && make test) make[1]: Entering directory '/builddir/build/BUILD/libgdither-0.6/tests' cc -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -Werror --std=c99 -I/builddir/build/BUILD/libgdither-0.6 -I.. -O3 -g -Wall -Werror ../gdither.o -lm runcheck.c -o runcheck cc -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -Werror --std=c99 -I/builddir/build/BUILD/libgdither-0.6 ../gdither.o -lm `pkg-config --libs fftw3` \ distortion.c -o distortion cc -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -Werror --std=c99 -I/builddir/build/BUILD/libgdither-0.6 ../gdither.o -lm `pkg-config --libs fftw3` \ shapeplot.c -o shapeplot cc -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -Werror --std=c99 -I/builddir/build/BUILD/libgdither-0.6 -lm `pkg-config --libs fftw3` \ noisetest.c -o noisetest cc -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -Werror --std=c99 -I/builddir/build/BUILD/libgdither-0.6 -I.. -O3 -g -Wall -Werror ../gdither.o -lm interleavetest.c -o interleavetest g++ -I.. -O3 -g -Wall -Werror ../gdither.o -lm cplusplus.cc -o cplusplus baseline 24 in 32 test, 1024 samples took 0.002794 us/sample Optimised: GDitherNone, 1024 samples, 24 in 32bit took 0.003027 us/sample GDitherRect, 1024 samples, 24 in 32bit took 0.004889 us/sample GDitherTri, 1024 samples, 24 in 32bit took 0.015600 us/sample GDitherShaped, 1024 samples, 24 in 32bit took 0.013737 us/sample GDitherNone, 1024 samples, 16bit took 0.003027 us/sample GDitherRect, 1024 samples, 16bit took 0.004889 us/sample GDitherTri, 1024 samples, 16bit took 0.005821 us/sample GDitherShaped, 1024 samples, 16bit took 0.007683 us/sample Unoptimised: GDitherNone, 1024 samples, 20 in 32bit took 0.003958 us/sample GDitherRect, 1024 samples, 20 in 32bit took 0.004889 us/sample GDitherTri, 1024 samples, 20 in 32bit took 0.003958 us/sample GDitherShaped, 1024 samples, 20 in 32bit took 0.007916 us/sample GDitherNone, 1024 samples, 24 in float took 0.001863 us/sample GDitherRect, 1024 samples, 24 in float took 0.003725 us/sample GDitherTri, 1024 samples, 24 in float took 0.003027 us/sample GDitherShaped, 1024 samples, 24 in float took 0.009779 us/sample GDitherTri, 1024 samples, 24 in float, double input took 0.004889 us/sample RMS SNR for no dithering = -149dB RMS SNR for rectangular dithering = -142dB RMS SNR for triangular dithering = -144dB RMS SNR for noise-shaped dithering = -142dB ok no dithering mean harmonic resonace = 40.4dB no dithering peak harmonic resonance = 47.9dB rectangular dithering mean harmonic resonace = 1.5dB rectangular dithering peak harmonic resonance = -2.7dB triangular dithering mean harmonic resonace = -0.2dB triangular dithering peak harmonic resonance = -2.6dB noise-shaped dithering mean harmonic resonace = -1.0dB noise-shaped dithering peak harmonic resonance = -6.8dB ok random amp/frequecy range = [0.50,0.52] 16bit distribution range = [0.82,1.21] ok checking interleaving ok make[1]: Leaving directory '/builddir/build/BUILD/libgdither-0.6/tests' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libgdither-0.6-26.el9.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.405z4T + umask 022 + cd /builddir/build/BUILD + cd libgdither-0.6 + DOCDIR=/builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/share/doc/libgdither + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/share/doc/libgdither + cp -pr README /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/share/doc/libgdither + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.W22vHL + umask 022 + cd /builddir/build/BUILD + cd libgdither-0.6 + LICENSEDIR=/builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/share/licenses/libgdither + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/share/licenses/libgdither + cp -pr COPYING /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x/usr/share/licenses/libgdither + RPM_EC=0 ++ jobs -p + exit 0 Provides: libgdither = 0.6-26.el9 libgdither(s390-64) = 0.6-26.el9 libgdither.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: libgdither-devel-0.6-26.el9.s390x Provides: libgdither-devel = 0.6-26.el9 libgdither-devel(s390-64) = 0.6-26.el9 pkgconfig(libgdither) = 0.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libgdither.so.1()(64bit) Processing files: libgdither-debugsource-0.6-26.el9.s390x Provides: libgdither-debugsource = 0.6-26.el9 libgdither-debugsource(s390-64) = 0.6-26.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libgdither-debuginfo-0.6-26.el9.s390x Provides: debuginfo(build-id) = c5b1aeb916c5f36e6b6d7908314bd47b64f20e2b libgdither-debuginfo = 0.6-26.el9 libgdither-debuginfo(s390-64) = 0.6-26.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libgdither-debugsource(s390-64) = 0.6-26.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x Wrote: /builddir/build/RPMS/libgdither-debuginfo-0.6-26.el9.s390x.rpm Wrote: /builddir/build/RPMS/libgdither-0.6-26.el9.s390x.rpm Wrote: /builddir/build/RPMS/libgdither-devel-0.6-26.el9.s390x.rpm Wrote: /builddir/build/RPMS/libgdither-debugsource-0.6-26.el9.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.u72ntL + umask 022 + cd /builddir/build/BUILD + cd libgdither-0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libgdither-0.6-26.el9.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0