Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/chrpath.spec'], nspawn_args=[]shell=Falseuid=1004env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-x86_64/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/chrpath.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/chrpath-0.16-0.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/chrpath.spec'], nspawn_args=[]shell=Falseuid=1004env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-x86_64/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/chrpath.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.q2GH6g + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf chrpath-0.16 + /usr/bin/gzip -dc /builddir/build/SOURCES/chrpath-0.16.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd chrpath-0.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2hMQcY + umask 022 + cd /builddir/build/BUILD + cd chrpath-0.16 + 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 + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './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 build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking link.h usability... yes checking link.h presence... yes checking for link.h... yes checking sys/link.h usability... no checking sys/link.h presence... no checking for sys/link.h... no checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking size of void *... 8 checking for getopt_long... yes configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating deb/Makefile config.status: creating config.h config.status: executing depfiles commands Configure status: ----------------- CC = gcc 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 -W -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes LDRPATH= -Wl,-rpath, + make make all-recursive make[1]: Entering directory `/builddir/build/BUILD/chrpath-0.16' Making all in testsuite make[2]: Entering directory `/builddir/build/BUILD/chrpath-0.16/testsuite' gcc -Wl,-rpath,/usr/local/lib -o prog prog.c make[2]: Leaving directory `/builddir/build/BUILD/chrpath-0.16/testsuite' Making all in deb make[2]: Entering directory `/builddir/build/BUILD/chrpath-0.16/deb' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/chrpath-0.16/deb' make[2]: Entering directory `/builddir/build/BUILD/chrpath-0.16' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -W -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -c chrpath.c gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -W -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -c killrpath.c gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -W -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -c main.c gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -W -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -c elf.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 -W -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wl,-z,relro -o chrpath chrpath.o killrpath.o main.o elf.o make[2]: Leaving directory `/builddir/build/BUILD/chrpath-0.16' make[1]: Leaving directory `/builddir/build/BUILD/chrpath-0.16' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IqywGL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64 + cd chrpath-0.16 + rm -rf /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64 Making install in testsuite make[1]: Entering directory `/builddir/build/BUILD/chrpath-0.16/testsuite' make[2]: Entering directory `/builddir/build/BUILD/chrpath-0.16/testsuite' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/chrpath-0.16/testsuite' make[1]: Leaving directory `/builddir/build/BUILD/chrpath-0.16/testsuite' Making install in deb make[1]: Entering directory `/builddir/build/BUILD/chrpath-0.16/deb' make[2]: Entering directory `/builddir/build/BUILD/chrpath-0.16/deb' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/chrpath-0.16/deb' make[1]: Leaving directory `/builddir/build/BUILD/chrpath-0.16/deb' make[1]: Entering directory `/builddir/build/BUILD/chrpath-0.16' make[2]: Entering directory `/builddir/build/BUILD/chrpath-0.16' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/bin' /usr/bin/install -c chrpath '/builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/doc/chrpath-0.16' /usr/bin/install -c -m 644 AUTHORS COPYING ChangeLog INSTALL NEWS README '/builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/doc/chrpath-0.16' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/share/man/man1' /usr/bin/install -c -m 644 chrpath.1 '/builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/share/man/man1' make[2]: Leaving directory `/builddir/build/BUILD/chrpath-0.16' make[1]: Leaving directory `/builddir/build/BUILD/chrpath-0.16' + rm -fr /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/doc + /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/chrpath-0.16 extracting debug info from /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/bin/chrpath dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 36 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1noYHz + umask 022 + cd /builddir/build/BUILD + cd chrpath-0.16 + make check Making check in testsuite make[1]: Entering directory `/builddir/build/BUILD/chrpath-0.16/testsuite' ./runtest.sh + CHRPATH=../chrpath + retval=0 + rm prog + make prog make[2]: Entering directory `/builddir/build/BUILD/chrpath-0.16/testsuite' gcc -Wl,-rpath,/usr/local/lib -o prog prog.c make[2]: Leaving directory `/builddir/build/BUILD/chrpath-0.16/testsuite' + ../chrpath -h Usage: ../chrpath [-v|-d|-c|-r ] [ ...] -v|--version Display program version number -d|--delete Delete current rpath/runpath setting -c|--convert Convert rpath to runpath -r |--replace Replace current rpath/runpath setting with the path given -l|--list List the current rpath/runpath (default) -k|--keepgoing Do not fail on first error -h|--help Show this usage information. success: chrpath -h worked. chrpath version 0.16 success: chrpath -v worked. + echo 'success: chrpath -h worked.' + ../chrpath -v + echo 'success: chrpath -v worked.' + ../chrpath ./runtest.sh `./runtest.sh' probably isn't an ELF file. elf_open: Exec format error success: chrpath on /bin/sh script failed. + echo 'success: chrpath on /bin/sh script failed.' + ../chrpath non-existant-file open: No such file or directory elf_open: Invalid argument + echo 'success: chrpath on non-existant file failed.' success: chrpath on non-existant file failed. + ../chrpath -l prog + grep -q 'R.*PATH=.*/usr/local/lib' + echo 'success: chrpath listed current rpath.' success: chrpath listed current rpath. + ../chrpath -r /usr/lib prog + ../chrpath -l prog + grep -q 'R.*PATH=/usr/lib' success: chrpath changed rpath. + echo 'success: chrpath changed rpath.' + ../chrpath -r /usr/lib:/usr/local/lib prog new rpath '/usr/lib:/usr/local/lib' too large; maximum length 14 error: chrpath unable to change rpath to larger path. + echo 'error: chrpath unable to change rpath to larger path.' + ../chrpath -c prog + ../chrpath -l prog + grep -q RUNPATH=/usr/lib success: chrpath converted rpath to runpath. + echo 'success: chrpath converted rpath to runpath.' + ../chrpath -d prog + ../chrpath -l prog + grep -q 'no rpath or runpath tag found' success: chrpath removed rpath and runpath successfully. + echo 'success: chrpath removed rpath and runpath successfully.' + exit 0 make[1]: Leaving directory `/builddir/build/BUILD/chrpath-0.16/testsuite' Making check in deb make[1]: Entering directory `/builddir/build/BUILD/chrpath-0.16/deb' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/chrpath-0.16/deb' make[1]: Entering directory `/builddir/build/BUILD/chrpath-0.16' make[1]: Leaving directory `/builddir/build/BUILD/chrpath-0.16' + exit 0 Processing files: chrpath-0.16-0.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pzsBRn + umask 022 + cd /builddir/build/BUILD + cd chrpath-0.16 + DOCDIR=/builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/share/doc/chrpath-0.16 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/share/doc/chrpath-0.16 + cp -pr AUTHORS /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/share/doc/chrpath-0.16 + cp -pr COPYING /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/share/doc/chrpath-0.16 + cp -pr README /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/share/doc/chrpath-0.16 + cp -pr NEWS /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/share/doc/chrpath-0.16 + cp -pr ChangeLog /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64/usr/share/doc/chrpath-0.16 + exit 0 Provides: chrpath = 0.16-0.el7 chrpath(x86-64) = 0.16-0.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: chrpath-debuginfo-0.16-0.el7.x86_64 Provides: chrpath-debuginfo = 0.16-0.el7 chrpath-debuginfo(x86-64) = 0.16-0.el7 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/chrpath-0.16-0.el7.x86_64 Wrote: /builddir/build/RPMS/chrpath-0.16-0.el7.x86_64.rpm Wrote: /builddir/build/RPMS/chrpath-debuginfo-0.16-0.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vl49NO + umask 022 + cd /builddir/build/BUILD + cd chrpath-0.16 + rm -rf /builddir/build/BUILDROOT/chrpath-0.16-0.el7.x86_64 + exit 0 Child return code was: 0