Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xcalib.spec'], chrootPath='/var/lib/mock/f31-build-60919-28781/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xcalib.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549152000 Wrote: /builddir/build/SRPMS/xcalib-0.8-23.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xcalib.spec'], chrootPath='/var/lib/mock/f31-build-60919-28781/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xcalib.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549152000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zCIgEr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xcalib-0.8 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xcalib-repack-0.8.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xcalib-0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xcalib-0.8-cflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cflags --fuzz=0 + echo 'Patch #1 (xcalib-0.8-rhbz783562.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .rhbz783562 --fuzz=0 + iconv -f iso8859-1 -t utf8 README + touch -r README README-utf8 + mv README-utf8 README + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (xcalib-0.8-cflags.patch): patching file Makefile Patch #1 (xcalib-0.8-rhbz783562.patch): patching file xcalib.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gj1zer + umask 022 + cd /builddir/build/BUILD + cd xcalib-0.8 + export '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 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + export XINCLUDEDIR=/usr/include + XINCLUDEDIR=/usr/include + export XLIBDIR=/usr/lib64 + XLIBDIR=/usr/lib64 + /usr/bin/make -O -j4 V=1 VERBOSE=1 BUILDSTDERR: xcalib.c: In function 'main': BUILDSTDERR: xcalib.c:590:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 590 | if (++i >= argc) BUILDSTDERR: | ^~ BUILDSTDERR: xcalib.c:592:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 592 | displayname = argv[i]; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: xcalib.c:866:52: warning: pointer targets in passing argument 3 of 'XF86VidModeGetGammaRampSize' differ in signedness [-Wpointer-sign] BUILDSTDERR: 866 | if (!XF86VidModeGetGammaRampSize (dpy, screen, &ramp_size)) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned int * BUILDSTDERR: In file included from xcalib.c:55: BUILDSTDERR: /usr/include/X11/extensions/xf86vmode.h:285:5: note: expected 'int *' but argument is of type 'unsigned int *' BUILDSTDERR: 285 | int* /* size */ BUILDSTDERR: | ^~~~ BUILDSTDERR: xcalib.c:921:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 921 | if(i=0) BUILDSTDERR: | ^ BUILDSTDERR: xcalib.c:949:11: warning: unused variable 'redGamma' [-Wunused-variable] BUILDSTDERR: 949 | float redGamma = 1.0; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: xcalib.c:963:11: warning: unused variable 'greenGamma' [-Wunused-variable] BUILDSTDERR: 963 | float greenGamma = 1.0; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: xcalib.c:977:11: warning: unused variable 'blueGamma' [-Wunused-variable] BUILDSTDERR: 977 | float blueGamma = 1.0; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: xcalib.c:530:16: warning: unused variable 'ramp_scaling' [-Wunused-variable] BUILDSTDERR: 530 | unsigned int ramp_scaling; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: xcalib.c:515:7: warning: unused variable 'rv' [-Wunused-variable] BUILDSTDERR: 515 | int rv = 0; BUILDSTDERR: | ^~ BUILDSTDERR: xcalib.c:514:7: warning: unused variable 'found' [-Wunused-variable] BUILDSTDERR: 514 | int found; BUILDSTDERR: | ^~~~~ BUILDSTDERR: xcalib.c:513:7: warning: unused variable 'offset' [-Wunused-variable] BUILDSTDERR: 513 | int offset = 0; /* Offset to read profile from */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: xcalib.c:512:7: warning: unused variable 'ecount' [-Wunused-variable] BUILDSTDERR: 512 | int ecount = 1; /* Embedded count */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: xcalib.c:511:7: warning: unused variable 'search' [-Wunused-variable] BUILDSTDERR: 511 | int search = 0; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: xcalib.c:510:7: warning: unused variable 'verb' [-Wunused-variable] BUILDSTDERR: 510 | int verb = 2; BUILDSTDERR: | ^~~~ BUILDSTDERR: xcalib.c:509:8: warning: unused variable 'tag_name' [-Wunused-variable] BUILDSTDERR: 509 | char tag_name[40] = { '\000' }; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: xcalib.c:507:11: warning: unused variable 'nfa' [-Wunused-variable] BUILDSTDERR: 507 | int fa, nfa; /* argument we're looking at */ BUILDSTDERR: | ^~~ BUILDSTDERR: xcalib.c:507:7: warning: unused variable 'fa' [-Wunused-variable] BUILDSTDERR: 507 | int fa, nfa; /* argument we're looking at */ BUILDSTDERR: | ^~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -c xcalib.c -I/usr/include -DXCALIB_VERSION=\"0.8\" cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64 -lm -o xcalib xcalib.o -lX11 -lXxf86vm -lXext Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TISnRt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64 + cd xcalib-0.8 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64 'INSTALL=/usr/bin/install -p' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.8-23.fc31 --unique-debug-suffix -0.8-23.fc31.riscv64 --unique-debug-src-base xcalib-0.8-23.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xcalib-0.8 BUILDSTDERR: 67 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mkdir -p /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64/usr/bin/ cp ./xcalib /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64/usr/bin/ chmod 0755 /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64/usr/bin/xcalib explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64/usr/bin/xcalib extracting debug info from /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64/usr/bin/xcalib original debug info size: 88kB, size after compression: 92kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: xcalib-0.8-23.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xwlMJs + umask 022 + cd /builddir/build/BUILD + cd xcalib-0.8 + DOCDIR=/builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64/usr/share/doc/xcalib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64/usr/share/doc/xcalib + cp -pr README /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64/usr/share/doc/xcalib + cp -pr README.profilers /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64/usr/share/doc/xcalib + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.L1I2Lq + umask 022 + cd /builddir/build/BUILD + cd xcalib-0.8 + LICENSEDIR=/builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64/usr/share/licenses/xcalib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64/usr/share/licenses/xcalib + cp -pr COPYING /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64/usr/share/licenses/xcalib + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: xcalib = 0.8-23.fc31 xcalib(riscv-64) = 0.8-23.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXxf86vm.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: xcalib-debugsource-0.8-23.fc31.riscv64 Provides: xcalib-debugsource = 0.8-23.fc31 xcalib-debugsource(riscv-64) = 0.8-23.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xcalib-debuginfo-0.8-23.fc31.riscv64 Provides: debuginfo(build-id) = 50caf356bb9d8b59953fc029f4c3385f3541da4d xcalib-debuginfo = 0.8-23.fc31 xcalib-debuginfo(riscv-64) = 0.8-23.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xcalib-debugsource(riscv-64) = 0.8-23.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64 Wrote: /builddir/build/RPMS/xcalib-debugsource-0.8-23.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/xcalib-0.8-23.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/xcalib-debuginfo-0.8-23.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.y0ktxr + umask 022 + cd /builddir/build/BUILD + cd xcalib-0.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xcalib-0.8-23.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0