Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/scrot.spec'], chrootPath='/var/lib/mock/f31-build-51121-27467/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/scrot.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Wrote: /builddir/build/SRPMS/scrot-0.8-20.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/scrot.spec'], chrootPath='/var/lib/mock/f31-build-51121-27467/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/scrot.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JNe9Nu + 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):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (scrot_Makefile_in.patch): patching file Makefile.in Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GYXNRu + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -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' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 + make -j4 BUILDSTDERR: main.c: In function 'scrot_sel_and_grab_image': BUILDSTDERR: main.c:327:52: warning: pointer targets in passing argument 4 of 'XGetGeometry' differ in signedness [-Wpointer-sign] BUILDSTDERR: 327 | status = XGetGeometry(disp, target, &root, &x, &x, &d, &d, &d, &d); BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | unsigned int * BUILDSTDERR: In file included from scrot.h:29, BUILDSTDERR: from main.c:26: BUILDSTDERR: /usr/include/X11/Xlib.h:2624:5: note: expected 'int *' but argument is of type 'unsigned int *' BUILDSTDERR: 2624 | int* /* x_return */, BUILDSTDERR: | ^~~~ BUILDSTDERR: main.c:327:56: warning: pointer targets in passing argument 5 of 'XGetGeometry' differ in signedness [-Wpointer-sign] BUILDSTDERR: 327 | status = XGetGeometry(disp, target, &root, &x, &x, &d, &d, &d, &d); BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | unsigned int * BUILDSTDERR: In file included from scrot.h:29, BUILDSTDERR: from main.c:26: BUILDSTDERR: /usr/include/X11/Xlib.h:2625:5: note: expected 'int *' but argument is of type 'unsigned int *' BUILDSTDERR: 2625 | int* /* y_return */, BUILDSTDERR: | ^~~~ BUILDSTDERR: main.c: In function 'scrot_exec_app': BUILDSTDERR: main.c:169:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 169 | system(execstr); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/X11/Xos.h:62, BUILDSTDERR: from scrot.h:32, BUILDSTDERR: from main.c:26: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'im_printf' at main.c:492:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying 1 byte from a string of length 4095 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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-koji-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 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c imlib.c BUILDSTDERR: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 tables -fstack-clash-protection -L/usr/X11R6/lib -o scrot main.o getopt.o getopt1.o options.o imlib.o -lX11 -L/usr/lib -lgiblib -Wl,-z,relro -Wl,-z,now -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' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3cgUNv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64 + cd scrot-0.8 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64 'INSTALL=/usr/bin/install -p' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.8-20.fc31 --unique-debug-suffix -0.8-20.fc31.riscv64 --unique-debug-src-base scrot-0.8-20.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/scrot-0.8 BUILDSTDERR: 75 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs 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-20.fc31.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr mkdir /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr/bin /usr/bin/install -p scrot /builddir/build/BUILDROOT/scrot-0.8-20.fc31.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-20.fc31.riscv64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr/share mkdir /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr/share/man/man1 /usr/bin/install -p -m 644 ./scrot.1 /builddir/build/BUILDROOT/scrot-0.8-20.fc31.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' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr/bin/scrot extracting debug info from /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr/bin/scrot original debug info size: 104kB, size after compression: 96kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: scrot-0.8-20.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ITrhYs + umask 022 + cd /builddir/build/BUILD + cd scrot-0.8 + DOCDIR=/builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr/share/doc/scrot + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr/share/doc/scrot + cp -pr AUTHORS /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr/share/doc/scrot + cp -pr ChangeLog /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr/share/doc/scrot + cp -pr COPYING /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr/share/doc/scrot + cp -pr README /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr/share/doc/scrot + cp -pr TODO /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64/usr/share/doc/scrot + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: scrot = 0.8-20.fc31 scrot(riscv-64) = 0.8-20.fc31 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) Processing files: scrot-debugsource-0.8-20.fc31.riscv64 Provides: scrot-debugsource = 0.8-20.fc31 scrot-debugsource(riscv-64) = 0.8-20.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: scrot-debuginfo-0.8-20.fc31.riscv64 Provides: debuginfo(build-id) = 03e04258beb8448b2c5eb3947dcc785bebb0b62d scrot-debuginfo = 0.8-20.fc31 scrot-debuginfo(riscv-64) = 0.8-20.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: scrot-debugsource(riscv-64) = 0.8-20.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64 Wrote: /builddir/build/RPMS/scrot-0.8-20.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/scrot-debugsource-0.8-20.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/scrot-debuginfo-0.8-20.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VKnVtu + umask 022 + cd /builddir/build/BUILD + cd scrot-0.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scrot-0.8-20.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0