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/f40-build-758644-119888/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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/xcalib-0.8-32.fc40.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) 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/f40-build-758644-119888/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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lpav8i + 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 + rm -rf /builddir/build/BUILD/xcalib-0.8-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/xcalib-0.8-SPECPARTS + /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 + echo 'Patch #1 (xcalib-0.8-rhbz783562.patch):' 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.9AdZLe + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + 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 ' + 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 -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 -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 -Werror=implicit-function-declaration -Werror=implicit-int -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' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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' + 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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.f1ySRi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + 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 ' + 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 -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 -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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/BUILDROOT/xcalib-0.8-32.fc40.riscv64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64/usr/bin/ cp ./xcalib /builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64/usr/bin/ chmod 0755 /builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64/usr/bin/xcalib + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.8-32.fc40 --unique-debug-suffix -0.8-32.fc40.riscv64 --unique-debug-src-base xcalib-0.8-32.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/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-32.fc40.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 Processing files: xcalib-0.8-32.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PIYPdQ + umask 022 + cd /builddir/build/BUILD + cd xcalib-0.8 + DOCDIR=/builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64/usr/share/doc/xcalib + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64/usr/share/doc/xcalib + cp -pr /builddir/build/BUILD/xcalib-0.8/README /builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64/usr/share/doc/xcalib + cp -pr /builddir/build/BUILD/xcalib-0.8/README.profilers /builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64/usr/share/doc/xcalib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.35oVHG + umask 022 + cd /builddir/build/BUILD + cd xcalib-0.8 + LICENSEDIR=/builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64/usr/share/licenses/xcalib + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64/usr/share/licenses/xcalib + cp -pr /builddir/build/BUILD/xcalib-0.8/COPYING /builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64/usr/share/licenses/xcalib + RPM_EC=0 ++ jobs -p + exit 0 Provides: xcalib = 0.8-32.fc40 xcalib(riscv-64) = 0.8-32.fc40 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-32.fc40.riscv64 Provides: xcalib-debugsource = 0.8-32.fc40 xcalib-debugsource(riscv-64) = 0.8-32.fc40 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-32.fc40.riscv64 Provides: debuginfo(build-id) = 453b8d0a687b494c86f2bc147695536d4246b98a xcalib-debuginfo = 0.8-32.fc40 xcalib-debuginfo(riscv-64) = 0.8-32.fc40 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-32.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xcalib-0.8-32.fc40.riscv64 Wrote: /builddir/build/RPMS/xcalib-0.8-32.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/xcalib-debugsource-0.8-32.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/xcalib-debuginfo-0.8-32.fc40.riscv64.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0