+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xcalib.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: Macro expanded in comment on line 9: %{version}.tar.gz Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WMaKkH + 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):' Patch #0 (xcalib-0.8-cflags.patch): + /usr/bin/patch --no-backup-if-mismatch -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 -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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.INlsnP + 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 ' + 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 ' + export XINCLUDEDIR=/usr/include + XINCLUDEDIR=/usr/include + export XLIBDIR=/usr/lib64 + XLIBDIR=/usr/lib64 + make -j4 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 -c xcalib.c -I/usr/include -DXCALIB_VERSION=\"0.8\" xcalib.c: In function 'main': xcalib.c:590:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (++i >= argc) ^~ xcalib.c:592:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' displayname = argv[i]; ^~~~~~~~~~~ xcalib.c:866:52: warning: pointer targets in passing argument 3 of 'XF86VidModeGetGammaRampSize' differ in signedness [-Wpointer-sign] if (!XF86VidModeGetGammaRampSize (dpy, screen, &ramp_size)) { ^ In file included from xcalib.c:55:0: /usr/include/X11/extensions/xf86vmode.h:282:6: note: expected 'int *' but argument is of type 'unsigned int *' Bool XF86VidModeGetGammaRampSize( ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xcalib.c:921:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(i=0) ^ xcalib.c:949:11: warning: unused variable 'redGamma' [-Wunused-variable] float redGamma = 1.0; ^~~~~~~~ xcalib.c:963:11: warning: unused variable 'greenGamma' [-Wunused-variable] float greenGamma = 1.0; ^~~~~~~~~~ xcalib.c:977:11: warning: unused variable 'blueGamma' [-Wunused-variable] float blueGamma = 1.0; ^~~~~~~~~ xcalib.c:530:16: warning: unused variable 'ramp_scaling' [-Wunused-variable] unsigned int ramp_scaling; ^~~~~~~~~~~~ xcalib.c:515:7: warning: unused variable 'rv' [-Wunused-variable] int rv = 0; ^~ xcalib.c:514:7: warning: unused variable 'found' [-Wunused-variable] int found; ^~~~~ xcalib.c:513:7: warning: unused variable 'offset' [-Wunused-variable] int offset = 0; /* Offset to read profile from */ ^~~~~~ xcalib.c:512:7: warning: unused variable 'ecount' [-Wunused-variable] int ecount = 1; /* Embedded count */ ^~~~~~ xcalib.c:511:7: warning: unused variable 'search' [-Wunused-variable] int search = 0; ^~~~~~ xcalib.c:510:7: warning: unused variable 'verb' [-Wunused-variable] int verb = 2; ^~~~ xcalib.c:509:8: warning: unused variable 'tag_name' [-Wunused-variable] char tag_name[40] = { '\000' }; ^~~~~~~~ xcalib.c:507:11: warning: unused variable 'nfa' [-Wunused-variable] int fa, nfa; /* argument we're looking at */ ^~~ xcalib.c:507:7: warning: unused variable 'fa' [-Wunused-variable] int fa, nfa; /* argument we're looking at */ ^~ 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 -L/usr/lib64 -lm -o xcalib xcalib.o -lX11 -lXxf86vm -lXext + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0pQ3YY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64 + cd xcalib-0.8 + rm -rf /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64 mkdir -p /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64/usr/bin/ cp ./xcalib /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64/usr/bin/ chmod 0755 /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64/usr/bin/xcalib + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: xcalib-0.8-19.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.A4AgyU + umask 022 + cd /builddir/build/BUILD + cd xcalib-0.8 + DOCDIR=/builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64/usr/share/doc/xcalib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64/usr/share/doc/xcalib + cp -pr COPYING /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64/usr/share/doc/xcalib + cp -pr README /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64/usr/share/doc/xcalib + cp -pr README.profilers /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64/usr/share/doc/xcalib + exit 0 Provides: xcalib = 0.8-19.fc28 xcalib(riscv-64) = 0.8-19.fc28 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64 Wrote: /builddir/build/SRPMS/xcalib-0.8-19.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xcalib-0.8-19.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cI5biy + umask 022 + cd /builddir/build/BUILD + cd xcalib-0.8 + rm -rf /builddir/build/BUILDROOT/xcalib-0.8-19.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff