Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/xcalib.spec'], chrootPath='/var/lib/mock/f41-build-827659-155299/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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=1721433600 Wrote: /builddir/build/SRPMS/xcalib-0.8-34.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/xcalib.spec'], chrootPath='/var/lib/mock/f41-build-827659-155299/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.JzCcdM + umask 022 + cd /builddir/build/BUILD/xcalib-0.8-build + test -d /builddir/build/BUILD/xcalib-0.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/xcalib-0.8-build + /usr/bin/rm -rf /builddir/build/BUILD/xcalib-0.8-build + /usr/bin/mkdir -p /builddir/build/BUILD/xcalib-0.8-build + /usr/bin/mkdir -p /builddir/build/BUILD/xcalib-0.8-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fBgGxC + umask 022 + cd /builddir/build/BUILD/xcalib-0.8-build + cd /builddir/build/BUILD/xcalib-0.8-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.fULrhw + umask 022 + cd /builddir/build/BUILD/xcalib-0.8-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c xcalib.c -I/usr/include -DXCALIB_VERSION=\"0.8\" gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.IMdji2 + umask 022 + cd /builddir/build/BUILD/xcalib-0.8-build + '[' /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT ++ dirname /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT + mkdir -p /builddir/build/BUILD/xcalib-0.8-build + mkdir /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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/BUILD/xcalib-0.8-build/BUILDROOT 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT/usr/bin/ cp ./xcalib /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT/usr/bin/ chmod 0755 /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT/usr/bin/xcalib + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.8-34.fc41 --unique-debug-suffix -0.8-34.fc41.riscv64 --unique-debug-src-base xcalib-0.8-34.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xcalib-0.8-build/xcalib-0.8 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/xcalib-0.8-34.fc41.riscv64 67 blocks find-debuginfo: done + /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT Scanned 10 directories and 3 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/xcalib-0.8-build/SPECPARTS/rpm-debuginfo.specpart Processing files: xcalib-0.8-34.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.alCFsT + umask 022 + cd /builddir/build/BUILD/xcalib-0.8-build + cd xcalib-0.8 + DOCDIR=/builddir/build/BUILD/xcalib-0.8-build/BUILDROOT/usr/share/doc/xcalib + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT/usr/share/doc/xcalib + cp -pr /builddir/build/BUILD/xcalib-0.8-build/xcalib-0.8/README /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT/usr/share/doc/xcalib + cp -pr /builddir/build/BUILD/xcalib-0.8-build/xcalib-0.8/README.profilers /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT/usr/share/doc/xcalib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.clILhO + umask 022 + cd /builddir/build/BUILD/xcalib-0.8-build + cd xcalib-0.8 + LICENSEDIR=/builddir/build/BUILD/xcalib-0.8-build/BUILDROOT/usr/share/licenses/xcalib + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT/usr/share/licenses/xcalib + cp -pr /builddir/build/BUILD/xcalib-0.8-build/xcalib-0.8/COPYING /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT/usr/share/licenses/xcalib + RPM_EC=0 ++ jobs -p + exit 0 Provides: xcalib = 0.8-34.fc41 xcalib(riscv-64) = 0.8-34.fc41 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-34.fc41.riscv64 Provides: xcalib-debugsource = 0.8-34.fc41 xcalib-debugsource(riscv-64) = 0.8-34.fc41 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-34.fc41.riscv64 Provides: debuginfo(build-id) = b7cc1297a57fc8f9ed32a23d2f119680bced46c3 xcalib-debuginfo = 0.8-34.fc41 xcalib-debuginfo(riscv-64) = 0.8-34.fc41 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-34.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/xcalib-0.8-build/BUILDROOT Wrote: /builddir/build/RPMS/xcalib-0.8-34.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/xcalib-debugsource-0.8-34.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/xcalib-debuginfo-0.8-34.fc41.riscv64.rpm Child return code was: 0