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 x86_64 --nodeps /builddir/build/SPECS/fakeroot.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41137-14591/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 x86_64 --nodeps /builddir/build/SPECS/fakeroot.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/fakeroot-1.29-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/fakeroot.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41137-14591/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 x86_64 --nodeps /builddir/build/SPECS/fakeroot.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.q8wLoF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fakeroot-1.29 + /usr/bin/gzip -dc /builddir/build/SOURCES/fakeroot_1.29.orig.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fakeroot-1.29 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/debian_fix-shell-in-fakeroot.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/also-wrap-stat-library-call.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/fakeroot-inttypes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/fakeroot-multilib.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/relax_tartest.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YTpSzS + umask 022 + cd /builddir/build/BUILD + cd fakeroot-1.29 + ./bootstrap autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I build-aux autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux'. libtoolize: copying file 'build-aux/libtool.m4' libtoolize: copying file 'build-aux/ltoptions.m4' libtoolize: copying file 'build-aux/ltsugar.m4' libtoolize: copying file 'build-aux/ltversion.m4' libtoolize: copying file 'build-aux/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I build-aux autoreconf: running: /usr/bin/autoconf --force configure.ac:374: warning: AC_CHECK_FUNCS($WRAPPED): you should use literals ./lib/autoconf/functions.m4:117: AC_CHECK_FUNCS is expanded from... configure.ac:374: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:11: installing './compile' configure.ac:7: installing './missing' Makefile.am: installing './depcomp' autoreconf: './config.guess' is updated autoreconf: Leaving directory '.' + cd doc + po4a -k 0 --rm-backups --variable srcdir=../doc/ po4a/po4a.cfg + mkdir obj-sysv + pushd obj-sysv ~/build/BUILD/fakeroot-1.29/obj-sysv ~/build/BUILD/fakeroot-1.29 + ../configure --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64/libfakeroot --disable-dependency-tracking --disable-static --with-ipc=sysv --program-suffix=-sysv configure: loading site script /usr/share/config.site checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free 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 whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking which IPC method to use... (cached) sysv checking whether SysV IPC message queues are actually working on the host... Yes checking which database format to use... (cached) inode checking for dlopen in -ldl... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for features.h... yes checking for sys/feature_tests.h... no checking for pthread.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for grp.h... yes checking for endian.h... yes checking for sys/sysmacros.h... yes checking for sys/socket.h... yes checking for sys/acl.h... yes checking for sys/capability.h... yes checking for sys/xattr.h... yes checking for fts.h... yes checking for an ANSI C-conforming const... yes checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking for return value and second and third argument of readlink... ssize_t, char, size_t checking for first argument of setgroups... size_t checking for union semun... no checking for type of arg of __xmknod... needs * checking for type of arg of __xmknodat... needs * checking for type of arg of initgroups... gid_t checking for type of arg of setreuid... gid_t checking for type of arg of setregid... gid_t checking for type of second arg to stat... struct stat * checking for d_off in struct dirent... yes checking for d_type in struct dirent... yes checking for acl_t struct... yes checking for fchmodat... yes checking for fchownat... yes checking for fstatat... yes checking for mkdirat... yes checking for mknodat... yes checking for openat... yes checking for renameat... yes checking for unlinkat... yes checking for lchmod... yes checking for fgetattrlist... no checking for library containing acl_get_fd... -lacl checking for acl_get_fd... yes checking for library containing acl_trivial... no checking for acl_trivial... no checking for capset... yes checking for listxattr... yes checking for llistxattr... yes checking for flistxattr... yes checking for getxattr... yes checking for lgetxattr... yes checking for fgetxattr... yes checking for setxattr... yes checking for lsetxattr... yes checking for fsetxattr... yes checking for removexattr... yes checking for lremovexattr... yes checking for fremovexattr... yes checking for statx... yes checking for __xstat... yes checking for __sxtat... no checking for _sxtat... no checking for __stat13... no checking for stat... yes checking for __fxstat... yes checking for __lxstat... yes checking for __fxstatat... yes checking for __xstat64... yes checking for __fxstat64... yes checking for __lxstat64... yes checking for __fxstatat64... yes checking for __xmknod... yes checking for __xmknodat... yes created fakerootconfig.h checking for strdup... yes checking for strstr... yes checking for getresuid... yes checking for setresuid... yes checking for getresgid... yes checking for setresgid... yes checking for setfsuid... yes checking for setfsgid... yes checking for fts_read... yes checking for fts_children... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether setenv is declared... yes checking whether unsetenv is declared... yes checking for setenv... yes checking for MacOS X/Darwin... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating scripts/Makefile config.status: creating doc/Makefile config.status: creating doc/de/Makefile config.status: creating doc/es/Makefile config.status: creating doc/fr/Makefile config.status: creating doc/nl/Makefile config.status: creating doc/pt/Makefile config.status: creating doc/sv/Makefile config.status: creating test/Makefile config.status: creating test/defs config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in doc Making all in de make[3]: Nothing to be done for 'all'. Making all in es make[3]: Nothing to be done for 'all'. Making all in fr make[3]: Nothing to be done for 'all'. Making all in nl make[3]: Nothing to be done for 'all'. Making all in pt make[3]: Nothing to be done for 'all'. Making all in sv make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in scripts make[2]: Entering directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv/scripts' sed -e 's,[@]prefix[@],/usr,g' -e 's,[@]bindir[@],/usr/bin,g' -e 's,[@]libdir[@],/usr/lib64/libfakeroot,g' -e 's,[@]fakeroot_transformed[@],'`echo fakeroot | sed -e 's&$&-sysv&'`',g' -e 's,[@]faked_transformed[@],'`echo faked | sed -e 's&$&-sysv&'`',g' -e 's,[@]signal[@],TERM,g' -e 's,[@]SHELL[@],/bin/sh,g' -e 's,[@]VERSION[@],1.29,g' -e 's,[@]DLSUFFIX[@],.so,g' -e 's,[@]LDLIBPATHVAR[@],LD_LIBRARY_PATH,g' -e 's,[@]LDPRELOADVAR[@],LD_PRELOAD,g' -e 's,[@]LDPRELOADABS[@],0,g' -e 's,[@]LDEXTRAVAR[@],,g' -e 's,[@]MACOSX_FALSE[@],,g' -e 's,[@]MACOSX_TRUE[@],#,g' < ../../scripts/fakeroot.in > fakeroot chmod +x fakeroot make[2]: Leaving directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv/scripts' Making all in test make[2]: Nothing to be done for 'all'. make[2]: Entering directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' awk -f ../wrapawk < ../wrapfunc.inp make[2]: Leaving directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' awk: ../wrapawk:27: warning: regexp escape sequence `\#' is not a known regexp operator make[2]: Entering directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c -o simple.o ../simple.c make[2]: Leaving directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' make[2]: Entering directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c -o libfakeroot_unix2003.lo ../libfakeroot_unix2003.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c ../libfakeroot_unix2003.c -fPIC -DPIC -o .libs/libfakeroot_unix2003.o make[2]: Leaving directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' make[2]: Entering directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c -o libfakeroot_inode64.lo ../libfakeroot_inode64.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c ../libfakeroot_inode64.c -fPIC -DPIC -o .libs/libfakeroot_inode64.o make[2]: Leaving directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' make[2]: Entering directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o simple simple.o -ldl libtool: link: gcc -g -O2 -o simple simple.o -ldl make[2]: Leaving directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' make[2]: Entering directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o libmacosx.la libfakeroot_inode64.lo libfakeroot_unix2003.lo -ldl libtool: link: ar cr .libs/libmacosx.a .libs/libfakeroot_inode64.o .libs/libfakeroot_unix2003.o libtool: link: ranlib .libs/libmacosx.a libtool: link: ( cd ".libs" && rm -f "libmacosx.la" && ln -s "../libmacosx.la" "libmacosx.la" ) make[2]: Leaving directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' make[2]: Entering directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c -o communicate.lo ../communicate.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c ../communicate.c -fPIC -DPIC -o .libs/communicate.o make[2]: Leaving directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' make[2]: Entering directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o libcommunicate.la communicate.lo -ldl libtool: link: ar cr .libs/libcommunicate.a .libs/communicate.o libtool: link: ranlib .libs/libcommunicate.a libtool: link: ( cd ".libs" && rm -f "libcommunicate.la" && ln -s "../libcommunicate.la" "libcommunicate.la" ) make[2]: Leaving directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' make[2]: Entering directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c -o faked.o ../faked.c make[2]: Leaving directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' make[2]: Entering directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o faked faked.o libcommunicate.la -ldl libtool: link: gcc -g -O2 -o faked faked.o ./.libs/libcommunicate.a -ldl make[2]: Leaving directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' make[2]: Entering directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c -o libfakeroot.lo ../libfakeroot.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c ../libfakeroot.c -fPIC -DPIC -o .libs/libfakeroot.o make[2]: Leaving directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' make[2]: Entering directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -release 0 -o libfakeroot.la -rpath /usr/lib64/libfakeroot libfakeroot.lo libcommunicate.la -ldl libtool: link: gcc -shared -fPIC -DPIC .libs/libfakeroot.o -Wl,--whole-archive ./.libs/libcommunicate.a -Wl,--no-whole-archive -ldl -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -g -O2 -Wl,-soname -Wl,libfakeroot-0.so -o .libs/libfakeroot-0.so make[2]: Leaving directory '/builddir/build/BUILD/fakeroot-1.29/obj-sysv' gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[2]: *** [Makefile:621: libfakeroot.la] Error 1 make[1]: *** [Makefile:691: all-recursive] Error 1 make: *** [Makefile:460: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.YTpSzS (%build) Bad exit status from /var/tmp/rpm-tmp.YTpSzS (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/fakeroot.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/fakeroot.spec