Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libgdither.spec'], chrootPath='/var/lib/mock/dist-an7-build-31761-15795/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fl_gsiqe:/etc/resolv.conf', '--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=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fl_gsiqe:/etc/resolv.conf', '--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', '469bec7ab4854a578deb761b994e1333', '-D', '/var/lib/mock/dist-an7-build-31761-15795/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fl_gsiqe:/etc/resolv.conf', '--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 --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libgdither-0.6-8.an7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libgdither.spec'], chrootPath='/var/lib/mock/dist-an7-build-31761-15795/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fl_gsiqe:/etc/resolv.conf', '--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=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fl_gsiqe:/etc/resolv.conf', '--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', 'f0992b44bf9d4512aa3899396e755c30', '-D', '/var/lib/mock/dist-an7-build-31761-15795/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fl_gsiqe:/etc/resolv.conf', '--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 --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cbDmrC + 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 -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libgdither-0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libgdither-0.6-default.patch):' Patch #0 (libgdither-0.6-default.patch): + /usr/bin/cat /builddir/build/SOURCES/libgdither-0.6-default.patch + /usr/bin/patch -p1 -b --suffix .default --fuzz=0 patching file Makefile patching file libgdither.pc + echo 'Patch #1 (libgdither-0.6-gavl.patch):' Patch #1 (libgdither-0.6-gavl.patch): + /usr/bin/cat /builddir/build/SOURCES/libgdither-0.6-gavl.patch + /usr/bin/patch -p1 -b --suffix .gavl_fix --fuzz=0 patching file gdither.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4gR3jQ + umask 022 + cd /builddir/build/BUILD + cd libgdither-0.6 + export 'INIT_CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + INIT_CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + make -j64 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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] case 23: ^ cc -shared gdither.o -Wl,-soname,libgdither.so.1 -o libgdither.so.1.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ysT9F4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64 ++ dirname /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64 + cd libgdither-0.6 + rm -rf /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64 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-8.an7.x86_64/usr/lib64 install -pm 0755 libgdither.so* /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/lib64 ln -s libgdither.so.1.0 /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/lib64/libgdither.so.1 ln -s libgdither.so.1.0 /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/lib64/libgdither.so mkdir -p /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/include/libgdither install -pm 0644 gdither.h /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/include/libgdither install -pm 0644 gdither_types.h /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/include/libgdither mkdir -p /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/lib64/pkgconfig/ install -pm 0644 libgdither.pc /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/lib64/pkgconfig/ + find /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64 -name '*.la' -exec rm -f '{}' ';' + sed -i -e 's|/usr/local|/usr|g' /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/lib64/pkgconfig/libgdither.pc + sed -i -e 's|/usr/lib|/usr/lib64|' /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/lib64/pkgconfig/libgdither.pc + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/libgdither-0.6 extracting debug info from /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/lib64/libgdither.so.1.0 dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libgdither.so.1.0.debug to /usr/lib/debug/usr/lib64/libgdither.so.1.debug symlinked /usr/lib/debug/usr/lib64/libgdither.so.1.0.debug to /usr/lib/debug/usr/lib64/libgdither.so.debug 29 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.m8nRyj + umask 022 + cd /builddir/build/BUILD + cd libgdither-0.6 + make test 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Werror --std=c99 -I/builddir/build/BUILD/libgdither-0.6 -I.. -O3 -g -Wall -Werror ../gdither.o -lm runcheck.c -o runcheck cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Werror --std=c99 -I/builddir/build/BUILD/libgdither-0.6 ../gdither.o -lm `pkg-config --libs fftw3` \ distortion.c -o distortion cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Werror --std=c99 -I/builddir/build/BUILD/libgdither-0.6 ../gdither.o -lm `pkg-config --libs fftw3` \ shapeplot.c -o shapeplot cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Werror --std=c99 -I/builddir/build/BUILD/libgdither-0.6 -lm `pkg-config --libs fftw3` \ noisetest.c -o noisetest cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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.001863 us/sample Optimised: GDitherNone, 1024 samples, 24 in 32bit took 0.001863 us/sample GDitherRect, 1024 samples, 24 in 32bit took 0.003027 us/sample GDitherTri, 1024 samples, 24 in 32bit took 0.002794 us/sample GDitherShaped, 1024 samples, 24 in 32bit took 0.004889 us/sample GDitherNone, 1024 samples, 16bit took 0.000931 us/sample GDitherRect, 1024 samples, 16bit took 0.003027 us/sample GDitherTri, 1024 samples, 16bit took 0.002794 us/sample GDitherShaped, 1024 samples, 16bit took 0.013737 us/sample Unoptimised: GDitherNone, 1024 samples, 20 in 32bit took 0.003027 us/sample GDitherRect, 1024 samples, 20 in 32bit took 0.002794 us/sample GDitherTri, 1024 samples, 20 in 32bit took 0.003027 us/sample GDitherShaped, 1024 samples, 20 in 32bit took 0.005821 us/sample GDitherNone, 1024 samples, 24 in float took 0.003027 us/sample GDitherRect, 1024 samples, 24 in float took 0.002794 us/sample GDitherTri, 1024 samples, 24 in float took 0.003027 us/sample GDitherShaped, 1024 samples, 24 in float took 0.006752 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' + exit 0 Processing files: libgdither-0.6-8.an7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CVH0nB + umask 022 + cd /builddir/build/BUILD + cd libgdither-0.6 + DOCDIR=/builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/share/doc/libgdither-0.6 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/share/doc/libgdither-0.6 + cp -pr COPYING /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/share/doc/libgdither-0.6 + cp -pr README /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64/usr/share/doc/libgdither-0.6 + exit 0 Provides: libgdither = 0.6-8.an7 libgdither(x86-64) = 0.6-8.an7 libgdither.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: libgdither-devel-0.6-8.an7.x86_64 Provides: libgdither-devel = 0.6-8.an7 libgdither-devel(x86-64) = 0.6-8.an7 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-debuginfo-0.6-8.an7.x86_64 Provides: libgdither-debuginfo = 0.6-8.an7 libgdither-debuginfo(x86-64) = 0.6-8.an7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64 Wrote: /builddir/build/RPMS/libgdither-0.6-8.an7.x86_64.rpm Wrote: /builddir/build/RPMS/libgdither-devel-0.6-8.an7.x86_64.rpm Wrote: /builddir/build/RPMS/libgdither-debuginfo-0.6-8.an7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mCvemM + umask 022 + cd /builddir/build/BUILD + cd libgdither-0.6 + rm -rf /builddir/build/BUILDROOT/libgdither-0.6-8.an7.x86_64 + exit 0 Child return code was: 0