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/uuid.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45428-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 aarch64 --nodeps /builddir/build/SPECS/uuid.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 sh: line 1: fg: no job control Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/uuid-1.6.2-3.oc9.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/uuid.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45428-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 aarch64 --nodeps /builddir/build/SPECS/uuid.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.DfWbyB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf uuid-1.6.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/uuid-1.6.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd uuid-1.6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/uuid-1.6.1-ossp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/uuid-1.6.1-mkdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/uuid-1.6.2-php54.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/uuid-1.6.2-hwaddr.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/uuid-1.6.2-nostrip.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/uuid-1.6.2-manfix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/uuid-aarch64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/uuid-1.6.2-ldflags.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.kHrYLE + umask 022 + cd /builddir/build/BUILD + cd uuid-1.6.2 + export LIB_NAME=libossp-uuid.la + LIB_NAME=libossp-uuid.la + export DCE_NAME=libossp-uuid_dce.la + DCE_NAME=libossp-uuid_dce.la + export CXX_NAME=libossp-uuid++.la + CXX_NAME=libossp-uuid++.la ++ pwd + export PHP_NAME=/builddir/build/BUILD/uuid-1.6.2/php/modules/ossp-uuid.so + PHP_NAME=/builddir/build/BUILD/uuid-1.6.2/php/modules/ossp-uuid.so ++ pwd + export PGSQL_NAME=/builddir/build/BUILD/uuid-1.6.2/pgsql/libossp-uuid.so + PGSQL_NAME=/builddir/build/BUILD/uuid-1.6.2/pgsql/libossp-uuid.so + export 'CFLAGS=-O2 -g' + CFLAGS='-O2 -g' + export 'CXXFLAGS=-O2 -g' + CXXFLAGS='-O2 -g' + export 'LDFLAGS=-Wl,-z,now -Wl,-z,relro ' + LDFLAGS='-Wl,-z,now -Wl,-z,relro ' + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS='-Wl,-z,now -Wl,-z,relro ' + export LDFLAGS + ./configure --host=aarch64-opencloudos-linux-gnu --build=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 --disable-static --without-perl --without-php --with-dce --with-cxx --without-pgsql configure: WARNING: Unrecognized options: --disable-dependency-tracking configure: loading site script /usr/share/config.site ./shtool: line 683: warning: command substitution: ignored null byte in input ./shtool: line 684: warning: command substitution: ignored null byte in input Configuring OSSP uuid (Universally Unique Identifier), version 1.6.2 (04-Jul-2008) checking whether make sets $(MAKE)... yes checking for aarch64-opencloudos-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 ISO C89... none needed checking whether compiler option(s) -pipe work... yes checking for compilation debug mode... disabled 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 whether to build against external Dmalloc library... no checking build system type... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed 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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking how to recognize dependent libraries... pass_all checking for aarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for aarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for aarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok 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) 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 for aarch64-opencloudos-linux-gnu-g++... no checking for aarch64-opencloudos-linux-gnu-c++... no checking for aarch64-opencloudos-linux-gnu-gpp... no checking for aarch64-opencloudos-linux-gnu-aCC... no checking for aarch64-opencloudos-linux-gnu-CC... no checking for aarch64-opencloudos-linux-gnu-cxx... no checking for aarch64-opencloudos-linux-gnu-cc++... no checking for aarch64-opencloudos-linux-gnu-cl.exe... no checking for aarch64-opencloudos-linux-gnu-FCC... no checking for aarch64-opencloudos-linux-gnu-KCC... no checking for aarch64-opencloudos-linux-gnu-RCC... no checking for aarch64-opencloudos-linux-gnu-xlC_r... no checking for aarch64-opencloudos-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for gethostname in -lnsl... no checking for gethostbyname in -lnsl... no checking for accept in -lsocket... no checking for va_copy() function... yes checking for sys/types.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for netdb.h... yes checking for ifaddrs.h... yes checking for net/if.h... yes checking for net/if_dl.h... no checking for net/if_arp.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for netpacket/packet.h... yes checking for struct timeval... yes checking for getifaddrs... yes checking for nanosleep... yes checking for Sleep... no checking for gettimeofday... yes checking for clock_gettime... yes checking for long long... yes checking for long double... yes checking size of char... 1 checking size of unsigned char... 1 checking size of short... 2 checking size of unsigned short... 2 checking size of int... 4 checking size of unsigned int... 4 checking size of long... 8 checking size of unsigned long... 8 checking size of long long... 8 checking size of unsigned long long... 8 checking whether to build DCE 1.1 backward compatibility API... (cached) yes checking whether to build C++ bindings to C API... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether to build Perl bindings to C API... (cached) no checking whether to build Perl compatibility API... (cached) no checking for perl... /usr/bin/perl checking whether to build PHP bindings to C API... (cached) no checking for php5... no checking for php... no checking whether to build PostgreSQL bindings to C API... (cached) no checking for pg_config... no configure: creating ./config.status config.status: creating Makefile config.status: creating uuid-config config.status: creating uuid.pc config.status: creating uuid.h config.status: creating config.h config.status: executing libtool commands config.status: executing adjustment commands configure: WARNING: Unrecognized options: --disable-dependency-tracking + make LIBTOOL=/usr/bin/libtool 'CFLAGS=-O2 -g' 'CXXFLAGS=-O2 -g' -j8 libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_md5.c -fPIC -DPIC -o .libs/uuid_md5.o libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_prng.c -fPIC -DPIC -o .libs/uuid_prng.o libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_ui128.c -fPIC -DPIC -o .libs/uuid_ui128.o libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid.c -fPIC -DPIC -o .libs/uuid.o libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_sha1.c -fPIC -DPIC -o .libs/uuid_sha1.o libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_ui64.c -fPIC -DPIC -o .libs/uuid_ui64.o libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_time.c -fPIC -DPIC -o .libs/uuid_time.o libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_mac.c -fPIC -DPIC -o .libs/uuid_mac.o libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_prng.c -o uuid_prng.o >/dev/null 2>&1 libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_time.c -o uuid_time.o >/dev/null 2>&1 libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_mac.c -o uuid_mac.o >/dev/null 2>&1 libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_sha1.c -o uuid_sha1.o >/dev/null 2>&1 libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_ui128.c -o uuid_ui128.o >/dev/null 2>&1 libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_ui64.c -o uuid_ui64.o >/dev/null 2>&1 libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_md5.c -o uuid_md5.o >/dev/null 2>&1 libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_str.c -fPIC -DPIC -o .libs/uuid_str.o libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_dce.c -fPIC -DPIC -o .libs/uuid_dce.o gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_cli.c libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid.c -o uuid.o >/dev/null 2>&1 libtool: compile: g++ -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid++.cc -fPIC -DPIC -o .libs/uuid++.o libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_dce.c -o uuid_dce.o >/dev/null 2>&1 libtool: compile: g++ -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid++.cc -o uuid++.o >/dev/null 2>&1 libtool: compile: gcc -I. -I. -DHAVE_CONFIG_H -O2 -g -c uuid_str.c -o uuid_str.o >/dev/null 2>&1 libtool: link: gcc -shared -fPIC -DPIC .libs/uuid_dce.o .libs/uuid.o .libs/uuid_md5.o .libs/uuid_sha1.o .libs/uuid_prng.o .libs/uuid_mac.o .libs/uuid_time.o .libs/uuid_ui64.o .libs/uuid_ui128.o .libs/uuid_str.o -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-soname -Wl,libossp-uuid_dce.so.16 -o .libs/libossp-uuid_dce.so.16.0.22 gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make: *** [Makefile:119: libossp-uuid_dce.la] Error 1 make: *** Waiting for unfinished jobs.... libtool: link: gcc -shared -fPIC -DPIC .libs/uuid.o .libs/uuid_md5.o .libs/uuid_sha1.o .libs/uuid_prng.o .libs/uuid_mac.o .libs/uuid_time.o .libs/uuid_ui64.o .libs/uuid_ui128.o .libs/uuid_str.o -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-soname -Wl,libossp-uuid.so.16 -o .libs/libossp-uuid.so.16.0.22 gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make: *** [Makefile:115: libossp-uuid.la] Error 1 libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/aarch64-TencentOS-linux/12/../../../../lib64/crti.o /usr/lib/gcc/aarch64-TencentOS-linux/12/crtbeginS.o .libs/uuid++.o .libs/uuid.o .libs/uuid_md5.o .libs/uuid_sha1.o .libs/uuid_prng.o .libs/uuid_mac.o .libs/uuid_time.o .libs/uuid_ui64.o .libs/uuid_ui128.o .libs/uuid_str.o -L/usr/lib/gcc/aarch64-TencentOS-linux/12 -L/usr/lib/gcc/aarch64-TencentOS-linux/12/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/aarch64-TencentOS-linux/12/../../.. -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/aarch64-TencentOS-linux/12/crtendS.o /usr/lib/gcc/aarch64-TencentOS-linux/12/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-soname -Wl,libossp-uuid++.so.16 -o .libs/libossp-uuid++.so.16.0.22 g++: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make: *** [Makefile:123: libossp-uuid++.la] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.kHrYLE (%build) Bad exit status from /var/tmp/rpm-tmp.kHrYLE (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/uuid.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 aarch64 --nodeps /builddir/build/SPECS/uuid.spec