+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/scrot.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pS0w4b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scrot-0.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/scrot-0.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd scrot-0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (scrot_Makefile_in.patch):' Patch #1 (scrot_Makefile_in.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2YhOsj + umask 022 + cd /builddir/build/BUILD + cd scrot-0.8 + 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 CFLAGS + CXXFLAGS='-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 CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for giblib-config... /usr/bin/giblib-config checking for giblib - version >= 1.2.3... yes checking for getopt_long... yes configure: creating ./config.status config.status: creating Makefile config.status: creating scrot.spec config.status: creating src/Makefile config.status: creating src/config.h config.status: executing default-1 commands + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/scrot-0.8/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -Wall -I/usr/X11R6/include -I/usr/include -I/usr/include -I. -DPREFIX=\""/usr"\" -I/usr/include/giblib -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 main.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -Wall -I/usr/X11R6/include -I/usr/include -I/usr/include -I. -DPREFIX=\""/usr"\" -I/usr/include/giblib -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 getopt.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -Wall -I/usr/X11R6/include -I/usr/include -I/usr/include -I. -DPREFIX=\""/usr"\" -I/usr/include/giblib -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 getopt1.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -Wall -I/usr/X11R6/include -I/usr/include -I/usr/include -I. -DPREFIX=\""/usr"\" -I/usr/include/giblib -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 options.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -Wall -I/usr/X11R6/include -I/usr/include -I/usr/include -I. -DPREFIX=\""/usr"\" -I/usr/include/giblib -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 imlib.c main.c: In function 'scrot_sel_and_grab_image': main.c:327:52: warning: pointer targets in passing argument 4 of 'XGetGeometry' differ in signedness [-Wpointer-sign] status = XGetGeometry(disp, target, &root, &x, &x, &d, &d, &d, &d); ^ In file included from scrot.h:29:0, from main.c:26: /usr/include/X11/Xlib.h:2620:15: note: expected 'int *' but argument is of type 'unsigned int *' extern Status XGetGeometry( ^~~~~~~~~~~~ main.c:327:56: warning: pointer targets in passing argument 5 of 'XGetGeometry' differ in signedness [-Wpointer-sign] status = XGetGeometry(disp, target, &root, &x, &x, &d, &d, &d, &d); ^ In file included from scrot.h:29:0, from main.c:26: /usr/include/X11/Xlib.h:2620:15: note: expected 'int *' but argument is of type 'unsigned int *' extern Status XGetGeometry( ^~~~~~~~~~~~ main.c: In function 'scrot_exec_app': main.c:169:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(execstr); ^~~~~~~~~~~~~~~ gcc -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/X11R6/lib -o scrot main.o getopt.o getopt1.o options.o imlib.o -lX11 -L/usr/lib -lgiblib -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lImlib2 -lm make[1]: Leaving directory '/builddir/build/BUILD/scrot-0.8/src' make[1]: Entering directory '/builddir/build/BUILD/scrot-0.8' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/scrot-0.8' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PHGDBt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64 + cd scrot-0.8 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/scrot-0.8/src' make[2]: Entering directory '/builddir/build/BUILD/scrot-0.8/src' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr mkdir /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/bin /usr/bin/install -p scrot /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/bin/scrot make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/scrot-0.8/src' make[1]: Leaving directory '/builddir/build/BUILD/scrot-0.8/src' make[1]: Entering directory '/builddir/build/BUILD/scrot-0.8' make[2]: Entering directory '/builddir/build/BUILD/scrot-0.8' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/make install-man1 make[3]: Entering directory '/builddir/build/BUILD/scrot-0.8' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/share mkdir /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/share/man/man1 /usr/bin/install -p -m 644 ./scrot.1 /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/share/man/man1/scrot.1 make[3]: Leaving directory '/builddir/build/BUILD/scrot-0.8' make[2]: Leaving directory '/builddir/build/BUILD/scrot-0.8' make[1]: Leaving directory '/builddir/build/BUILD/scrot-0.8' + /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: scrot-0.8-17.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.J5TmK9 + umask 022 + cd /builddir/build/BUILD + cd scrot-0.8 + DOCDIR=/builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/share/doc/scrot + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/share/doc/scrot + cp -pr AUTHORS /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/share/doc/scrot + cp -pr ChangeLog /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/share/doc/scrot + cp -pr COPYING /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/share/doc/scrot + cp -pr README /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/share/doc/scrot + cp -pr TODO /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64/usr/share/doc/scrot + exit 0 Provides: scrot = 0.8-17.fc28 scrot(riscv-64) = 0.8-17.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) libImlib2.so.1()(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgiblib.so.1()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64 Wrote: /builddir/build/SRPMS/scrot-0.8-17.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/scrot-0.8-17.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.twQjho + umask 022 + cd /builddir/build/BUILD + cd scrot-0.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scrot-0.8-17.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff