Mock Version: 1.2.18 Mock Version: 1.2.18 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/scponly.spec'], chrootPath='/var/lib/mock/epel7-build-5990632-618125/root'user='mockbuild'printOutput=Falsetimeout=172800logger=env={'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir'}shell=Falseuid=1000gid=425) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/scponly.spec'] with env {'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir'} and shell False Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/scponly-4.8-17.el7.src.rpm warning: Could not canonicalize hostname: buildppcle-01.phx2.fedoraproject.org Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/scponly.spec'], chrootPath='/var/lib/mock/epel7-build-5990632-618125/root'user='mockbuild'printOutput=Falseprivate_network=Truetimeout=172800logger=env={'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir'}shell=Falseuid=1000gid=425) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/scponly.spec'] with env {'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vgH1Y0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scponly-4.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/scponly-4.8.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd scponly-4.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (scponly-install.patch):' Patch #0 (scponly-install.patch): + /usr/bin/cat /builddir/build/SOURCES/scponly-install.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile.in Patch #1 (scponly-4.8-elif-gcc44.patch): + echo 'Patch #1 (scponly-4.8-elif-gcc44.patch):' + /usr/bin/cat /builddir/build/SOURCES/scponly-4.8-elif-gcc44.patch + /usr/bin/patch -p1 --fuzz=0 patching file helper.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tYewBo + umask 022 + cd /builddir/build/BUILD + cd scponly-4.8 + cp -p /usr/lib/rpm/config.guess /usr/lib/rpm/config.sub . + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + 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.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=ppc64le-redhat-linux-gnu --host=ppc64le-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 --enable-scp-compat --enable-winscp-compat --enable-chrooted-binary checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking for ppc64le-redhat-linux-gnu-gcc... 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 a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for cut... /usr/bin/cut checking for grep... /usr/bin/grep checking for sort... /usr/bin/sort checking for ldd... /usr/bin/ldd checking for useradd... /usr/sbin/useradd checking for chown... /usr/bin/chown checking for chmod... /usr/bin/chmod checking for dirname... /usr/bin/dirname checking for id... /usr/bin/id checking for pw... no checking for rm... /usr/bin/rm checking for pwd_mkdb... no configure: enabling core WinSCP and Vanilla SCP binaries... checking for sftp-server... /usr/libexec/openssh/sftp-server checking for ls... /bin/ls checking for scp... /bin/scp checking for rm... /bin/rm checking for ln... /bin/ln checking for mv... /bin/mv checking for chmod... /bin/chmod checking for chown... /bin/chown checking for chgrp... /bin/chgrp checking for mkdir... /bin/mkdir checking for rmdir... /bin/rmdir configure: enabling WinSCP compatability... checking for pwd... /bin/pwd checking for groups... /bin/groups checking for id... /bin/id checking for echo... /bin/echo configure: enabling SFTP compatability... checking for sftp-server... (cached) /usr/libexec/openssh/sftp-server checking how to run the C preprocessor... gcc -E checking for egrep... 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 for stdlib.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking wordexp.h usability... yes checking wordexp.h presence... yes checking for wordexp.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for working alloca.h... yes checking for alloca... yes checking for malloc... yes checking for atexit... yes checking for bzero... yes checking for strchr... yes checking for strerror... yes checking for glob... yes checking for wordexp... yes checking for strspn... yes checking for basename... yes checking for getopt... yes checking whether optreset is declared... no configure: creating ./config.status config.status: creating Makefile config.status: creating setup_chroot.sh config.status: creating config.h + /usr/bin/make -j4 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power8 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power8 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o scponly.o -c scponly.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power8 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o helper.o -c helper.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power8 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o groups groups.c helper.c: In function 'strip_vector': helper.c:86:18: warning: argument to 'sizeof' in 'bzero' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] bzero(dav,sizeof(dav)); ^ scponly.c:82:1: warning: missing braces around initializer [-Wmissing-braces] }; ^ scponly.c:82:1: warning: (near initialization for 'commands[15]') [-Wmissing-braces] helper.c: In function 'mysetenv': helper.c:565:2: warning: array subscript has type 'char' [-Wchar-subscripts] if ((safeenv[count] = strdup(buff))) { ^ helper.c:566:3: warning: array subscript has type 'char' [-Wchar-subscripts] safeenv[++count] = NULL; ^ scponly.c:178:1: warning: missing braces around initializer [-Wmissing-braces] }; ^ scponly.c:178:1: warning: (near initialization for 'dangerous_args[2]') [-Wmissing-braces] scponly.c: In function 'main': scponly.c:305:9: warning: unused variable 'tmprequest' [-Wunused-variable] char *tmprequest = NULL; ^ scponly.c:304:10: warning: unused variable 'av' [-Wunused-variable] char **av = NULL; ^ scponly.c: In function 'process_ssh_request': scponly.c:644:25: warning: unused variable 'tenv' [-Wunused-variable] char **av, **tmp_av, **tenv; ^ scponly.c: In function 'main': scponly.c:226:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(debugfile,"%u",&debuglevel); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power8 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o scponly scponly.o helper.o + chmod 0644 scponly.c scponly.h helper.c + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DP6iIN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le ++ dirname /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le + cd scponly-4.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le + sed -i 's|/usr/local/|/usr/|g' scponly.8 scponly.8.alternate_manpage INSTALL README + make install DESTDIR=/builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le echo "0" > debuglevel /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/bin /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/share/man/man8 /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/etc/scponly /usr/bin/install -c scponly /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/bin/scponly /usr/bin/install -c -m 0644 scponly.8 /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/share/man/man8/scponly.8 /usr/bin/install -c -m 0644 debuglevel /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/etc/scponly/debuglevel if test "xscponlyc" != "x"; then \ /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/sbin; \ rm -f /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/sbin/scponlyc; \ cp scponly scponlyc; \ /usr/bin/install -c -m 4755 scponlyc /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/sbin/scponlyc; \ fi + /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/scponly-4.8 extracting debug info from /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/sbin/scponlyc extracting debug info from /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/bin/scponly *** WARNING: identical binaries are copied, not linked: /usr/bin/scponly and /usr/sbin/scponlyc /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 70 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: scponly-4.8-17.el7.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RPYM5c + umask 022 + cd /builddir/build/BUILD + cd scponly-4.8 + DOCDIR=/builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/share/doc/scponly-4.8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/share/doc/scponly-4.8 + cp -pr AUTHOR /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/share/doc/scponly-4.8 + cp -pr CHANGELOG /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/share/doc/scponly-4.8 + cp -pr CONTRIB /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/share/doc/scponly-4.8 + cp -pr COPYING /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/share/doc/scponly-4.8 + cp -pr INSTALL /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/share/doc/scponly-4.8 + cp -pr README /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/share/doc/scponly-4.8 + cp -pr TODO /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/share/doc/scponly-4.8 + cp -pr BUILDING-JAILS.TXT /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/share/doc/scponly-4.8 + cp -pr SECURITY /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le/usr/share/doc/scponly-4.8 + exit 0 Provides: config(scponly) = 4.8-17.el7 scponly = 4.8-17.el7 scponly(ppc-64) = 4.8-17.el7 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: scponly-debuginfo-4.8-17.el7.ppc64le Provides: scponly-debuginfo = 4.8-17.el7 scponly-debuginfo(ppc-64) = 4.8-17.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/scponly-4.8-17.el7.ppc64le Wrote: /builddir/build/RPMS/scponly-4.8-17.el7.ppc64le.rpm Wrote: /builddir/build/RPMS/scponly-debuginfo-4.8-17.el7.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LJ3Dur + umask 022 + cd /builddir/build/BUILD + cd scponly-4.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scponly-4.8-17.el7.ppc64le + exit 0 Child return code was: 0