Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/which.spec'], chrootPath='/var/lib/mock/dist-oc8-build-58177-15968/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/which.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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/which-2.21-20.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/which.spec'], chrootPath='/var/lib/mock/dist-oc8-build-58177-15968/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/which.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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DYpEpg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf which-2.21 + /usr/bin/gzip -dc /builddir/build/SOURCES/which-2.21.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd which-2.21 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (which-2.21-coverity-fixes.patch): + echo 'Patch #0 (which-2.21-coverity-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .coverity --fuzz=0 patching file tilde/tilde.c patching file which.c Patch #1 (which-2.21-coverity.patch): + echo 'Patch #1 (which-2.21-coverity.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .coverity2 --fuzz=0 patching file tilde/tilde.c patching file which.c Patch #2 (which-2.21-path_max.patch): + echo 'Patch #2 (which-2.21-path_max.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .path_max --fuzz=0 patching file which.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iDYLZQ + umask 022 + cd /builddir/build/BUILD + cd which-2.21 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-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 for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for aarch64-opencloudos-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 whether gcc understands -c and -o together... yes 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for xmalloc in libiberty.a... no checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking libiberty.h usability... no checking libiberty.h presence... no checking for libiberty.h... no checking whether stat file-mode macros are broken... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for strchr... yes checking for memcpy... yes checking for getopt_long... yes checking for getcwd... yes checking for getwd... yes checking for sysconf... yes checking for getgroups... yes checking for eaccess... yes checking for ar... ar checking for aarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for stdlib.h... (cached) yes checking for memory.h... (cached) yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for strings.h... (cached) yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking whether programs are able to redeclare getpw functions... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating maintMakefile config.status: creating tilde/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in tilde make[2]: Entering directory '/builddir/build/BUILD/which-2.21/tilde' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o shell.o shell.c make[2]: Leaving directory '/builddir/build/BUILD/which-2.21/tilde' make[2]: Entering directory '/builddir/build/BUILD/which-2.21/tilde' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tilde.o tilde.c make[2]: Leaving directory '/builddir/build/BUILD/which-2.21/tilde' make[2]: Entering directory '/builddir/build/BUILD/which-2.21/tilde' rm -f libtilde.a ar cru libtilde.a tilde.o shell.o ranlib libtilde.a make[2]: Leaving directory '/builddir/build/BUILD/which-2.21/tilde' Making all in . make[2]: Entering directory '/builddir/build/BUILD/which-2.21' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o getopt1.o getopt1.c make[2]: Leaving directory '/builddir/build/BUILD/which-2.21' make[2]: Entering directory '/builddir/build/BUILD/which-2.21' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o getopt.o getopt.c make[2]: Leaving directory '/builddir/build/BUILD/which-2.21' make[2]: Entering directory '/builddir/build/BUILD/which-2.21' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o bash.o bash.c make[2]: Leaving directory '/builddir/build/BUILD/which-2.21' make[2]: Entering directory '/builddir/build/BUILD/which-2.21' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o which.o which.c make[2]: Leaving directory '/builddir/build/BUILD/which-2.21' make[2]: Entering directory '/builddir/build/BUILD/which-2.21' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o which getopt.o getopt1.o bash.o which.o ./tilde/libtilde.a make[2]: Leaving directory '/builddir/build/BUILD/which-2.21' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.knfjkc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64 ++ dirname /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64 + cd which-2.21 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64 'INSTALL=/usr/bin/install -p' /usr/bin/make install-recursive make[1]: Entering directory '/builddir/build/BUILD/which-2.21' Making install in tilde make[2]: Entering directory '/builddir/build/BUILD/which-2.21/tilde' make[3]: Entering directory '/builddir/build/BUILD/which-2.21/tilde' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/which-2.21/tilde' make[2]: Leaving directory '/builddir/build/BUILD/which-2.21/tilde' Making install in . make[2]: Entering directory '/builddir/build/BUILD/which-2.21' make[3]: Entering directory '/builddir/build/BUILD/which-2.21' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/bin' /usr/bin/install -p which '/builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/info' /usr/bin/install -p -m 644 ./which.info '/builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/info' '/builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/info/which.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 which.1 '/builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/man/man1' make[3]: Leaving directory '/builddir/build/BUILD/which-2.21' make[2]: Leaving directory '/builddir/build/BUILD/which-2.21' make[1]: Leaving directory '/builddir/build/BUILD/which-2.21' + mkdir -p /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/etc/profile.d + install -p -m 644 /builddir/build/SOURCES/which2.sh /builddir/build/SOURCES/which2.csh /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/etc/profile.d/ + rm -f /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/info/dir + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.21-20.oc8 --unique-debug-suffix -2.21-20.oc8.aarch64 --unique-debug-src-base which-2.21-20.oc8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/which-2.21 extracting debug info from /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/bin/which /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 106 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: which-2.21-20.oc8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gHeUia + umask 022 + cd /builddir/build/BUILD + cd which-2.21 + DOCDIR=/builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/doc/which + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/doc/which + cp -pr EXAMPLES /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/doc/which + cp -pr README /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/doc/which + cp -pr AUTHORS /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/doc/which + cp -pr NEWS /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/doc/which + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.bJi6KG + umask 022 + cd /builddir/build/BUILD + cd which-2.21 + LICENSEDIR=/builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/licenses/which + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/licenses/which + cp -pr COPYING /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64/usr/share/licenses/which + exit 0 Provides: which = 2.21-20.oc8 which(aarch-64) = 2.21-20.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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: which-debugsource-2.21-20.oc8.aarch64 Provides: which-debugsource = 2.21-20.oc8 which-debugsource(aarch-64) = 2.21-20.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: which-debuginfo-2.21-20.oc8.aarch64 Provides: debuginfo(build-id) = fbf24a8ee155d62a7e2c602ac67a59c608348834 which-debuginfo = 2.21-20.oc8 which-debuginfo(aarch-64) = 2.21-20.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: which-debugsource(aarch-64) = 2.21-20.oc8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/which-2.21-20.oc8.aarch64 Wrote: /builddir/build/RPMS/which-2.21-20.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/which-debugsource-2.21-20.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/which-debuginfo-2.21-20.oc8.aarch64.rpm Child return code was: 0