Mock Version: 1.4.2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rootsh.spec'], chrootPath='/var/lib/mock/580090-epel-7-ppc64le/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=['--private-network']printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '65d71ea4035e4f5d81eddf808e68a3e1', '-D', '/var/lib/mock/580090-epel-7-ppc64le/root', '-a', '--private-network', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rootsh.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: 65d71ea4035e4f5d81eddf808e68a3e1 Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/rootsh-1.5.3-12.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rootsh.spec'], chrootPath='/var/lib/mock/580090-epel-7-ppc64le/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=['--private-network', '--private-network']printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5afa68373c064af09c9fb1b0b48d8906', '-D', '/var/lib/mock/580090-epel-7-ppc64le/root', '-a', '--private-network', '--private-network', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rootsh.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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ce2Gdh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rootsh-1.5.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/rootsh-1.5.3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rootsh-1.5.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rootsh-1.5.3-open-needs-3-args.patch):' Patch #0 (rootsh-1.5.3-open-needs-3-args.patch): + /usr/bin/cat /builddir/build/SOURCES/rootsh-1.5.3-open-needs-3-args.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/rootsh.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a9c8rD + umask 022 + cd /builddir/build/BUILD + cd rootsh-1.5.3 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + 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 -mcpu=power8 -mtune=power8' + 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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' ppc64le == ppc64le ']' + /usr/lib/rpm/redhat/libtool-handle-ppc64le.sh ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + ./configure --build=powerpc64le-redhat-linux-gnu --host=powerpc64le-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 --disable-syslog checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking for syslog... no checking for logfile... enabled checking for logdir... /var/log/rootsh checking for maximum logfile size... 0 checking for defaultshell... /bin/bash checking for powerpc64le-redhat-linux-gnu-gcc... no checking for powerpc64le-redhat-linux-gnu-cc... no checking for gcc... gcc checking for C compiler default output file name... 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 style of include used by make... GNU checking dependency style of gcc... none checking for /etc/shells... found checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for LIBUTIL=-lutil in -lutil... no checking for ANSI C header files... (cached) 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 for string.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking for forkpty... no checking for forkpty in -lutil... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getopt_long... yes checking for basename... yes checking for getusershell... yes checking getusershell prototype... yes checking for clearenv... yes checking for sigset... yes checking for sigaction... yes checking whether supplying sigset prototypes is permitted... yes checking return type of signal handlers... void checking select() and fd_set in sys/select.h and sys/bsdtypes.h... not needed checking FD_ZERO and strings.h or bstring.h... not needed checking for master pty... ptmx checking if your system supports the ttcompat streams module... no checking operating system... linux checking for su... /usr/bin/su checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h config.status: executing depfiles commands + make Making all in src make[1]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3/src' make all-am make[2]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -Wall -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -pedantic -pedantic -Wstrict-prototypes -c rootsh.c rootsh.c:183:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] extern int errno; ^ rootsh.c: In function 'main': rootsh.c:299:2: warning: C++ style comments are not allowed in ISO C90 [enabled by default] // if they supply a -c somewhere and it isn't the first arg, then the command is no good ^ rootsh.c:299:2: warning: (this will be reported only once per input file) [enabled by default] rootsh.c:345:4: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int i; ^ rootsh.c: In function 'endlogging': rootsh.c:837:29: warning: value computed is not used [-Wunused-value] unlink(logFileName) && rmdir(logFileName); ^ rootsh.c: In function 'main': rootsh.c:542:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, buf, n); ^ rootsh.c: In function 'beginlogging': rootsh.c:705:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(logFile, msgbuf, msglen); ^ rootsh.c: In function 'dologging': rootsh.c:748:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(logFile, msgbuf, msglen); ^ rootsh.c: In function 'endlogging': rootsh.c:803:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(logFile, msgbuf, msglen); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -Wall -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -pedantic -pedantic -Wstrict-prototypes -Wl,-z,relro -o rootsh rootsh.o -lutil make[2]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3/src' make[1]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3/src' make[1]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BzYTw1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le ++ dirname /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le + cd rootsh-1.5.3 + rm -rf /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le + make DESTDIR=/builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le install Making install in src make[1]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3/src' make[2]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3/src' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/usr/bin" /usr/bin/install -c 'rootsh' '/builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/usr/bin/rootsh' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3/src' make[1]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3/src' make[1]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3' make[2]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/share/man/man1" || mkdir -p -- "/builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/usr/share/man/man1" /usr/bin/install -c -m 644 './rootsh.1' '/builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/usr/share/man/man1/rootsh.1' make[2]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3' make[1]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3' + mkdir -p /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/var/log/rootsh + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/rootsh-1.5.3 extracting debug info from /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/usr/bin/rootsh dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 80 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: rootsh-1.5.3-12.el7.centos.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lfF9Hp + umask 022 + cd /builddir/build/BUILD + cd rootsh-1.5.3 + DOCDIR=/builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/usr/share/doc/rootsh-1.5.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/usr/share/doc/rootsh-1.5.3 + cp -pr README /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/usr/share/doc/rootsh-1.5.3 + cp -pr AUTHORS /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/usr/share/doc/rootsh-1.5.3 + cp -pr ChangeLog /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/usr/share/doc/rootsh-1.5.3 + cp -pr THANKS /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/usr/share/doc/rootsh-1.5.3 + cp -pr INSTALL /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/usr/share/doc/rootsh-1.5.3 + cp -pr COPYING /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le/usr/share/doc/rootsh-1.5.3 + exit 0 Provides: rootsh = 1.5.3-12.el7.centos rootsh(ppc-64) = 1.5.3-12.el7.centos 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.17)(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: rootsh-debuginfo-1.5.3-12.el7.centos.ppc64le Provides: rootsh-debuginfo = 1.5.3-12.el7.centos rootsh-debuginfo(ppc-64) = 1.5.3-12.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/rootsh-1.5.3-12.el7.centos.ppc64le warning: Could not canonicalize hostname: 5afa68373c064af09c9fb1b0b48d8906 Wrote: /builddir/build/RPMS/rootsh-1.5.3-12.el7.centos.ppc64le.rpm Wrote: /builddir/build/RPMS/rootsh-debuginfo-1.5.3-12.el7.centos.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.it9vqA + umask 022 + cd /builddir/build/BUILD + cd rootsh-1.5.3 + rm -rf /builddir/build/BUILDROOT/rootsh-1.5.3-12.el7.centos.ppc64le + exit 0 Child return code was: 0