Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scrot.spec'], chrootPath='/var/lib/mock/648820-epel-7-x86_64-1508745223/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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 warning: Could not canonicalize hostname: copr-builder-981294597.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/scrot-0.8-18.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/scrot.spec'], chrootPath='/var/lib/mock/648820-epel-7-x86_64-1508745223/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QIxBJI + 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 -xf - + 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/cat /builddir/build/SOURCES/scrot_Makefile_in.patch + /usr/bin/patch -p0 --fuzz=0 patching file Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TX1MCI + umask 022 + cd /builddir/build/BUILD + cd scrot-0.8 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 x86_64-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 -j2 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c options.c main.c: In function 'scrot_sel_and_grab_image': main.c:327:9: 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:9: 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:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(execstr); ^ 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c imlib.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -L/usr/X11R6/lib -o scrot main.o getopt.o getopt1.o options.o imlib.o -lX11 -L/usr/lib64 -lgiblib -Wl,-z,relro -lImlib2 -lfreetype -lX11 -lXext -ldl -lm -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.uZRfsP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64 + cd scrot-0.8 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64 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-18.el7.centos.x86_64/usr/bin mkdir /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr mkdir /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/bin /usr/bin/install -c scrot /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/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-18.el7.centos.x86_64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/share mkdir /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/share/man mkdir /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/share/man/man1 /usr/bin/install -c -m 644 ./scrot.1 /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/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/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/scrot-0.8 extracting debug info from /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/bin/scrot dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 75 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: scrot-0.8-18.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FISVWW + umask 022 + cd /builddir/build/BUILD + cd scrot-0.8 + DOCDIR=/builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/share/doc/scrot-0.8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/share/doc/scrot-0.8 + cp -pr AUTHORS /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/share/doc/scrot-0.8 + cp -pr ChangeLog /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/share/doc/scrot-0.8 + cp -pr COPYING /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/share/doc/scrot-0.8 + cp -pr README /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/share/doc/scrot-0.8 + cp -pr TODO /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/share/doc/scrot-0.8 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0scNt4 + umask 022 + cd /builddir/build/BUILD + cd scrot-0.8 + LICENSEDIR=/builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/share/licenses/scrot-0.8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/share/licenses/scrot-0.8 + cp -pr COPYING /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64/usr/share/licenses/scrot-0.8 + exit 0 Provides: scrot = 0.8-18.el7.centos scrot(x86-64) = 0.8-18.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libImlib2.so.1()(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libdl.so.2()(64bit) libfreetype.so.6()(64bit) libgiblib.so.1()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: scrot-debuginfo-0.8-18.el7.centos.x86_64 Provides: scrot-debuginfo = 0.8-18.el7.centos scrot-debuginfo(x86-64) = 0.8-18.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-981294597.novalocal Wrote: /builddir/build/RPMS/scrot-0.8-18.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/scrot-debuginfo-0.8-18.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.f7qzet + umask 022 + cd /builddir/build/BUILD + cd scrot-0.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scrot-0.8-18.el7.centos.x86_64 + exit 0 Child return code was: 0