Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xcalib.spec'], chrootPath='/var/lib/mock/f37-build-672784-75485/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=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/xcalib-0.8-30.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xcalib.spec'], chrootPath='/var/lib/mock/f37-build-672784-75485/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=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.50I8qV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xcalib-0.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xcalib-repack-0.8.tar.bz2 + 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):' Patch #0 (xcalib-0.8-cflags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cflags --fuzz=0 patching file Makefile Patch #1 (xcalib-0.8-rhbz783562.patch): + echo 'Patch #1 (xcalib-0.8-rhbz783562.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 -b --suffix .rhbz783562 --fuzz=0 patching file xcalib.c + iconv -f iso8859-1 -t utf8 README + touch -r README README-utf8 + mv README-utf8 README + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8cPo2q + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xcalib-0.8 + export '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 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -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 gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -c xcalib.c -I/usr/include -DXCALIB_VERSION=\"0.8\" gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64 -lm -o xcalib xcalib.o -lX11 -lXxf86vm -lXext xcalib.c: In function 'main': xcalib.c:590:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 590 | if (++i >= argc) | ^~ xcalib.c:592:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 592 | displayname = argv[i]; | ^~~~~~~~~~~ xcalib.c:866:52: warning: pointer targets in passing argument 3 of 'XF86VidModeGetGammaRampSize' differ in signedness [-Wpointer-sign] 866 | if (!XF86VidModeGetGammaRampSize (dpy, screen, &ramp_size)) { | ^~~~~~~~~~ | | | unsigned int * In file included from xcalib.c:55: /usr/include/X11/extensions/xf86vmode.h:285:5: note: expected 'int *' but argument is of type 'unsigned int *' 285 | int* /* size */ | ^~~~ xcalib.c:921:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 921 | if(i=0) | ^ xcalib.c:949:11: warning: unused variable 'redGamma' [-Wunused-variable] 949 | float redGamma = 1.0; | ^~~~~~~~ xcalib.c:963:11: warning: unused variable 'greenGamma' [-Wunused-variable] 963 | float greenGamma = 1.0; | ^~~~~~~~~~ xcalib.c:977:11: warning: unused variable 'blueGamma' [-Wunused-variable] 977 | float blueGamma = 1.0; | ^~~~~~~~~ xcalib.c:530:16: warning: unused variable 'ramp_scaling' [-Wunused-variable] 530 | unsigned int ramp_scaling; | ^~~~~~~~~~~~ xcalib.c:515:7: warning: unused variable 'rv' [-Wunused-variable] 515 | int rv = 0; | ^~ xcalib.c:514:7: warning: unused variable 'found' [-Wunused-variable] 514 | int found; | ^~~~~ xcalib.c:513:7: warning: unused variable 'offset' [-Wunused-variable] 513 | int offset = 0; /* Offset to read profile from */ | ^~~~~~ xcalib.c:512:7: warning: unused variable 'ecount' [-Wunused-variable] 512 | int ecount = 1; /* Embedded count */ | ^~~~~~ xcalib.c:511:7: warning: unused variable 'search' [-Wunused-variable] 511 | int search = 0; | ^~~~~~ xcalib.c:510:7: warning: unused variable 'verb' [-Wunused-variable] 510 | int verb = 2; | ^~~~ xcalib.c:509:8: warning: unused variable 'tag_name' [-Wunused-variable] 509 | char tag_name[40] = { '\000' }; | ^~~~~~~~ xcalib.c:507:11: warning: unused variable 'nfa' [-Wunused-variable] 507 | int fa, nfa; /* argument we're looking at */ | ^~~ xcalib.c:507:7: warning: unused variable 'fa' [-Wunused-variable] 507 | int fa, nfa; /* argument we're looking at */ | ^~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VnZTkc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64 + 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 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xcalib-0.8 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64/usr/bin/ cp ./xcalib /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64/usr/bin/ chmod 0755 /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64/usr/bin/xcalib + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.8-30.fc37 --unique-debug-suffix -0.8-30.fc37.riscv64 --unique-debug-src-base xcalib-0.8-30.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xcalib-0.8 extracting debug info from /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64/usr/bin/xcalib original debug info size: 172kB, size after compression: 172kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 67 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: xcalib-0.8-30.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BtgnbW + umask 022 + cd /builddir/build/BUILD + cd xcalib-0.8 + DOCDIR=/builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64/usr/share/doc/xcalib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64/usr/share/doc/xcalib + cp -pr README /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64/usr/share/doc/xcalib + cp -pr README.profilers /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64/usr/share/doc/xcalib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Fb1yWP + umask 022 + cd /builddir/build/BUILD + cd xcalib-0.8 + LICENSEDIR=/builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64/usr/share/licenses/xcalib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64/usr/share/licenses/xcalib + cp -pr COPYING /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64/usr/share/licenses/xcalib + RPM_EC=0 ++ jobs -p + exit 0 Provides: xcalib = 0.8-30.fc37 xcalib(riscv-64) = 0.8-30.fc37 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) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: xcalib-debugsource-0.8-30.fc37.riscv64 Provides: xcalib-debugsource = 0.8-30.fc37 xcalib-debugsource(riscv-64) = 0.8-30.fc37 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-30.fc37.riscv64 Provides: debuginfo(build-id) = 7ba33a901e5d2dd01b421c6f99b97088c82ed3e3 xcalib-debuginfo = 0.8-30.fc37 xcalib-debuginfo(riscv-64) = 0.8-30.fc37 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-30.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64 Wrote: /builddir/build/RPMS/xcalib-debugsource-0.8-30.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/xcalib-0.8-30.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/xcalib-debuginfo-0.8-30.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.thpia0 + umask 022 + cd /builddir/build/BUILD + cd xcalib-0.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xcalib-0.8-30.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.tLc8DF + umask 022 + cd /builddir/build/BUILD + rm -rf xcalib-0.8 xcalib-0.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0