Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/scponly.spec'], chrootPath='/var/lib/mock/infrastructure7-el7-build-39557-68626/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=uid=993) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/scponly.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: arm64-01.rdu2.centos.org Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/scponly-4.8-18.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/scponly.spec'], chrootPath='/var/lib/mock/infrastructure7-el7-build-39557-68626/root'shell=Falseuid=993env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/scponly.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BGw7bI + 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/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/scponly-install.patch patching file Makefile.in + echo 'Patch #1 (scponly-4.8-elif-gcc44.patch):' 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.iJBHZi + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 == 1 ']' + '[' aarch64 == 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=aarch64-redhat-linux-gnu --host=aarch64-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-rsync-compat --enable-scp-compat --enable-winscp-compat --enable-chrooted-binary checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking for aarch64-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: WARNING: read the SECURITY document before enabling rsync compatibility configure: enabling rsync compatability... checking for rsync... /bin/rsync 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 -j8 '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 -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 -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 -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 -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[16]') [-Wmissing-braces] scponly.c:178:1: warning: missing braces around initializer [-Wmissing-braces] }; ^ scponly.c:178:1: warning: (near initialization for 'dangerous_args[3]') [-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: 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 -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.XE0vh5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64 ++ dirname /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64 + cd scponly-4.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64 + sed -i 's|/usr/local/|/usr/|g' scponly.8 scponly.8.alternate_manpage INSTALL README + make install DESTDIR=/builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64 echo "0" > debuglevel /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/bin /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/share/man/man8 /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/etc/scponly /usr/bin/install -c scponly /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/bin/scponly /usr/bin/install -c -m 0644 scponly.8 /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/share/man/man8/scponly.8 /usr/bin/install -c -m 0644 debuglevel /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/etc/scponly/debuglevel if test "xscponlyc" != "x"; then \ /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/sbin; \ rm -f /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/sbin/scponlyc; \ cp scponly scponlyc; \ /usr/bin/install -c -m 4755 scponlyc /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/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-18.el7.aarch64/usr/bin/scponly extracting debug info from /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/sbin/scponlyc *** WARNING: identical binaries are copied, not linked: /usr/sbin/scponlyc and /usr/bin/scponly /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-18.el7.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9wZgzk + umask 022 + cd /builddir/build/BUILD + cd scponly-4.8 + DOCDIR=/builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/share/doc/scponly-4.8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/share/doc/scponly-4.8 + cp -pr AUTHOR /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/share/doc/scponly-4.8 + cp -pr CHANGELOG /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/share/doc/scponly-4.8 + cp -pr CONTRIB /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/share/doc/scponly-4.8 + cp -pr COPYING /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/share/doc/scponly-4.8 + cp -pr INSTALL /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/share/doc/scponly-4.8 + cp -pr README /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/share/doc/scponly-4.8 + cp -pr TODO /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/share/doc/scponly-4.8 + cp -pr BUILDING-JAILS.TXT /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/share/doc/scponly-4.8 + cp -pr SECURITY /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64/usr/share/doc/scponly-4.8 + exit 0 Provides: config(scponly) = 4.8-18.el7 scponly = 4.8-18.el7 scponly(aarch-64) = 4.8-18.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: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: scponly-debuginfo-4.8-18.el7.aarch64 Provides: scponly-debuginfo = 4.8-18.el7 scponly-debuginfo(aarch-64) = 4.8-18.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-18.el7.aarch64 Wrote: /builddir/build/RPMS/scponly-4.8-18.el7.aarch64.rpm Wrote: /builddir/build/RPMS/scponly-debuginfo-4.8-18.el7.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.t5jJEH + umask 022 + cd /builddir/build/BUILD + cd scponly-4.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scponly-4.8-18.el7.aarch64 + exit 0 Child return code was: 0