Mock Version: 2.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/fixedptc.spec'], chrootPath='/var/lib/mock/1316381-fedora-rawhide-i386-1585077899.038756/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0glt6i1r:/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0glt6i1r:/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', '5a44c19a2b774df4b72a78945f8637b6', '-D', '/var/lib/mock/1316381-fedora-rawhide-i386-1585077899.038756/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0glt6i1r:/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', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/fixedptc.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': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1585008000 Wrote: /builddir/build/SRPMS/fixedptc-0-6.20200228hgb8acfec.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/fixedptc.spec'], chrootPath='/var/lib/mock/1316381-fedora-rawhide-i386-1585077899.038756/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0glt6i1r:/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0glt6i1r:/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', 'd5a25649bd3e4404a8624fe35cbded45', '-D', '/var/lib/mock/1316381-fedora-rawhide-i386-1585077899.038756/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0glt6i1r:/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', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/fixedptc.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': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1585008000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BOZqBw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fixedptc-code-b8acfecf8c010b0c003bbd04df62f89afbca1e20 + /usr/bin/unzip -qq /builddir/build/SOURCES/fixedptc-code-b8acfecf8c010b0c003bbd04df62f89afbca1e20.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd fixedptc-code-b8acfecf8c010b0c003bbd04df62f89afbca1e20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + awk '/^\/\*-/ {dump=1; next} \ / \*\// {if (dump==1) exit 0} \ {if (dump) {gsub(/^ \* ?/, ""); print}}' fixedptc.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Zxlxlu + umask 022 + cd /builddir/build/BUILD + cd fixedptc-code-b8acfecf8c010b0c003bbd04df62f89afbca1e20 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + /usr/bin/make -O -j2 V=1 VERBOSE=1 test verify_32 gcc -o test -O3 -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld test.c gcc -o verify_32 -O3 -Wall -DFIXEDPT_BITS=32 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lm verify.c + /usr/bin/make -O -j2 V=1 VERBOSE=1 test verify_64 make: 'test' is up to date. gcc -o verify_64 -O3 -Wall -DFIXEDPT_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lm verify.c In file included from verify.c:8: fixedptc.h:84:9: error: unknown type name '__int128_t' 84 | typedef __int128_t fixedptd; | ^~~~~~~~~~ fixedptc.h:86:9: error: unknown type name '__uint128_t' 86 | typedef __uint128_t fixedptud; | ^~~~~~~~~~~ fixedptc.h: In function 'fixedpt_mul': fixedptc.h:135:38: warning: right shift count >= width of type [-Wshift-count-overflow] 135 | return (((fixedptd)A * (fixedptd)B) >> FIXEDPT_FBITS); | ^~ fixedptc.h: In function 'fixedpt_div': fixedptc.h:143:23: warning: left shift count >= width of type [-Wshift-count-overflow] 143 | return (((fixedptd)A << FIXEDPT_FBITS) / (fixedptd)B); | ^~ fixedptc.h: In function 'fixedpt_str': fixedptc.h:166:37: warning: left shift count >= width of type [-Wshift-count-overflow] 166 | const fixedptud one = (fixedptud)1 << FIXEDPT_BITS; | ^~ fixedptc.h:203:27: warning: right shift count >= width of type [-Wshift-count-overflow] 203 | str[slen++] = '0' + (fr >> FIXEDPT_BITS) % 10; | ^~ verify.c: In function 'verify_numbers': fixedptc.h:128:65: warning: left shift count >= width of type [-Wshift-count-overflow] 128 | #define fixedpt_tofloat(T) ((float) ((T)*((float)(1)/(float)(1L << FIXEDPT_FBITS)))) | ^~ verify.c:29:54: note: in expansion of macro 'fixedpt_tofloat' 29 | printf("pi as fixedpt converted to float: %0.6f\n", fixedpt_tofloat(pi_x)); | ^~~~~~~~~~~~~~~ make: *** [Makefile:11: verify_64] Error 1 + true + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.c3jSrw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fixedptc-0-6.20200228hgb8acfec.fc33.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fixedptc-0-6.20200228hgb8acfec.fc33.i386 ++ dirname /builddir/build/BUILDROOT/fixedptc-0-6.20200228hgb8acfec.fc33.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fixedptc-0-6.20200228hgb8acfec.fc33.i386 + cd fixedptc-code-b8acfecf8c010b0c003bbd04df62f89afbca1e20 + install -p -m 0644 -D fixedptc.h /builddir/build/BUILDROOT/fixedptc-0-6.20200228hgb8acfec.fc33.i386/usr/include/fixedptc/fixedptc.h + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0-6.20200228hgb8acfec.fc33 --unique-debug-suffix -0-6.20200228hgb8acfec.fc33.i386 --unique-debug-src-base fixedptc-0-6.20200228hgb8acfec.fc33.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/fixedptc-code-b8acfecf8c010b0c003bbd04df62f89afbca1e20 + /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 /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XiazNv + umask 022 + cd /builddir/build/BUILD + cd fixedptc-code-b8acfecf8c010b0c003bbd04df62f89afbca1e20 + ./test fixedptc library version: $Id$ Using 32-bit precision, 24.8 format The most precise number: 0.00390625 The biggest number: 8388607.0 Here are some example numbers: Random number: 143.125 PI: 3.140625 e: 2.71875 2.5 + 3.0 = 5.5 2.5 * 3.0 = 7.5 1.0 / 4.0 = 0.25 exp(1)=2.71875 sqrt(pi)= 1.76953125 sqrt(25)= 5.0 sin(pi/2)= 0.97265625 sin(3.5*pi)= -0.97265625 4^3.5= 129.5 4^0.5= 2.0 + ./verify_32 fixedptc library version: $Id$ Using 32-bit precision, 24.8 format pi as string: 3.14159265358979323846264338 pi as float: 3.141593 pi as double: 3.141592653589793 pi as fixedpt: 3.14 delta fixedpt-double: -0.0015926536 pi as fixedpt converted to float: 3.140625 e as string: 2.71828182845904523536028747 e as float: 2.718282 e as double: 2.718281828459045 e as fixedpt: 2.71 delta fixedpt-double: -0.0082818285 sin(pi) as float: -0.000000 sin(pi) as double: 0.000000000000000 sin(pi) as fixedpt: 0.0 delta fixedpt-double: -0.0000000000 sin(e) as float: 0.410781 sin(e) as double: 0.410781290502909 sin(e) as fixedpt: 0.4 delta fixedpt-double: -0.0107812905 tan(e) as float: -0.450550 tan(e) as double: -0.450549534069808 tan(e) as fixedpt: -0.44 delta fixedpt-double: 0.0105495341 pow(pi,3) as float: 31.006279 pow(pi,3) as double: 31.006276680299816 pow(pi,3) as fixedpt: 31.37 delta fixedpt-double: 0.3637233197 exp(3) as float: 20.085537 exp(3) as double: 20.085536956787109 exp(3) as fixedpt: 20.18 delta fixedpt-double: 0.0944630768 ln(e) as float: 1.000000 ln(e) as double: 1.000000000000000 ln(e) as fixedpt: 1.0 delta fixedpt-double: 0.0000000000 + ./verify_64 /var/tmp/rpm-tmp.XiazNv: line 35: ./verify_64: No such file or directory + true + RPM_EC=0 ++ jobs -p + exit 0 Processing files: fixedptc-devel-0-6.20200228hgb8acfec.fc33.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.146h9t + umask 022 + cd /builddir/build/BUILD + cd fixedptc-code-b8acfecf8c010b0c003bbd04df62f89afbca1e20 + DOCDIR=/builddir/build/BUILDROOT/fixedptc-0-6.20200228hgb8acfec.fc33.i386/usr/share/doc/fixedptc-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fixedptc-0-6.20200228hgb8acfec.fc33.i386/usr/share/doc/fixedptc-devel + cp -pr README.txt /builddir/build/BUILDROOT/fixedptc-0-6.20200228hgb8acfec.fc33.i386/usr/share/doc/fixedptc-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.igZiow + umask 022 + cd /builddir/build/BUILD + cd fixedptc-code-b8acfecf8c010b0c003bbd04df62f89afbca1e20 + LICENSEDIR=/builddir/build/BUILDROOT/fixedptc-0-6.20200228hgb8acfec.fc33.i386/usr/share/licenses/fixedptc-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fixedptc-0-6.20200228hgb8acfec.fc33.i386/usr/share/licenses/fixedptc-devel + cp -pr LICENSE /builddir/build/BUILDROOT/fixedptc-0-6.20200228hgb8acfec.fc33.i386/usr/share/licenses/fixedptc-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: fixedptc-devel = 0-6.20200228hgb8acfec.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fixedptc-0-6.20200228hgb8acfec.fc33.i386 Wrote: /builddir/build/RPMS/fixedptc-devel-0-6.20200228hgb8acfec.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ah00Tt + umask 022 + cd /builddir/build/BUILD + cd fixedptc-code-b8acfecf8c010b0c003bbd04df62f89afbca1e20 + /usr/bin/rm -rf /builddir/build/BUILDROOT/fixedptc-0-6.20200228hgb8acfec.fc33.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0