Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv5tel --nodeps /builddir/build/SPECS/perftest.spec'], chrootPath='/var/lib/mock/el-8-arm/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv5tel --nodeps /builddir/build/SPECS/perftest.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': 'en_US.UTF-8'} and shell False Building target platforms: armv5tel Building for target armv5tel Wrote: /builddir/build/SRPMS/perftest-4.2-2.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv5tel --nodeps /builddir/build/SPECS/perftest.spec'], chrootPath='/var/lib/mock/el-8-arm/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv5tel --nodeps /builddir/build/SPECS/perftest.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': 'en_US.UTF-8'} and shell False Building target platforms: armv5tel Building for target armv5tel Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ll6ylT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf perftest-4.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/perftest-4.2-0.8.g0e24e67.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd perftest-4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (perftest-4.2-cflags.patch):' Patch #1 (perftest-4.2-cflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac + autoreconf --force --install libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' BUILDSTDERR: configure.ac:56: installing 'config/compile' BUILDSTDERR: configure.ac:36: installing 'config/missing' BUILDSTDERR: Makefile.am: installing 'config/depcomp' Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.H1kcaZ + exit 0 + umask 022 + cd /builddir/build/BUILD + cd perftest-4.2 + 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 -march=armv5te -mfloat-abi=soft' + 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 -march=armv5te -mfloat-abi=soft' + 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 -march=armv5te -mfloat-abi=soft -I/usr/lib/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 -march=armv5te -mfloat-abi=soft -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub BUILDSTDERR: ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess BUILDSTDERR: ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./config/ltmain.sh + ./configure --build=armv5tel-redhat-linux-gnueabi --host=armv5tel-redhat-linux-gnueabi --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/lib --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 make supports nested variables... (cached) yes checking for armv5tel-redhat-linux-gnueabi-gcc... armv5tel-redhat-linux-gnueabi-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 armv5tel-redhat-linux-gnueabi-gcc accepts -g... yes checking for armv5tel-redhat-linux-gnueabi-gcc option to accept ISO C89... none needed checking whether armv5tel-redhat-linux-gnueabi-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of armv5tel-redhat-linux-gnueabi-gcc... none checking for armv5tel-redhat-linux-gnueabi-g++... armv5tel-redhat-linux-gnueabi-g++ checking whether we are using the GNU C++ compiler... yes checking whether armv5tel-redhat-linux-gnueabi-g++ accepts -g... yes checking dependency style of armv5tel-redhat-linux-gnueabi-g++... none checking dependency style of armv5tel-redhat-linux-gnueabi-gcc... none checking build system type... armv5tel-redhat-linux-gnueabi checking host system type... armv5tel-redhat-linux-gnueabi checking how to print strings... printf 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 armv5tel-redhat-linux-gnueabi-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 armv5tel-redhat-linux-gnueabi file names to armv5tel-redhat-linux-gnueabi format... func_convert_file_noop checking how to convert armv5tel-redhat-linux-gnueabi file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv5tel-redhat-linux-gnueabi-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv5tel-redhat-linux-gnueabi-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv5tel-redhat-linux-gnueabi-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv5tel-redhat-linux-gnueabi-strip... no checking for strip... strip checking for armv5tel-redhat-linux-gnueabi-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from armv5tel-redhat-linux-gnueabi-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 armv5tel-redhat-linux-gnueabi-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... armv5tel-redhat-linux-gnueabi-gcc -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 dlfcn.h... yes checking for objdir... .libs checking if armv5tel-redhat-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no checking for armv5tel-redhat-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC checking if armv5tel-redhat-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes checking if armv5tel-redhat-linux-gnueabi-gcc static flag -static works... no checking if armv5tel-redhat-linux-gnueabi-gcc supports -c -o file.o... yes checking if armv5tel-redhat-linux-gnueabi-gcc supports -c -o file.o... (cached) yes checking whether the armv5tel-redhat-linux-gnueabi-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... yes checking how to run the C++ preprocessor... armv5tel-redhat-linux-gnueabi-g++ -E checking for ld used by armv5tel-redhat-linux-gnueabi-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the armv5tel-redhat-linux-gnueabi-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for armv5tel-redhat-linux-gnueabi-g++ option to produce PIC... -fPIC -DPIC checking if armv5tel-redhat-linux-gnueabi-g++ PIC flag -fPIC -DPIC works... yes checking if armv5tel-redhat-linux-gnueabi-g++ static flag -static works... no checking if armv5tel-redhat-linux-gnueabi-g++ supports -c -o file.o... yes checking if armv5tel-redhat-linux-gnueabi-g++ supports -c -o file.o... (cached) yes checking whether the armv5tel-redhat-linux-gnueabi-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for armv5tel-redhat-linux-gnueabi-ranlib... ranlib checking for ANSI C header files... (cached) yes checking infiniband/verbs.h usability... yes checking infiniband/verbs.h presence... yes checking for infiniband/verbs.h... yes checking for ibv_get_device_list in -libverbs... yes checking for rdma_create_event_channel in -lrdmacm... yes checking for umad_init in -libumad... yes checking for log in -lm... yes checking for infiniband/verbs_exp.h... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make V=1 -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/perftest-4.2' armv5tel-redhat-linux-gnueabi-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 -march=armv5te -mfloat-abi=soft -g -Wall -D_GNU_SOURCE -O3 -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 -march=armv5te -mfloat-abi=soft -c -o src/send_bw.o src/send_bw.c armv5tel-redhat-linux-gnueabi-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 -march=armv5te -mfloat-abi=soft -g -Wall -D_GNU_SOURCE -O3 -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 -march=armv5te -mfloat-abi=soft -c -o src/multicast_resources.o src/multicast_resources.c armv5tel-redhat-linux-gnueabi-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 -march=armv5te -mfloat-abi=soft -g -Wall -D_GNU_SOURCE -O3 -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 -march=armv5te -mfloat-abi=soft -c -o src/get_clock.o src/get_clock.c armv5tel-redhat-linux-gnueabi-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 -march=armv5te -mfloat-abi=soft -g -Wall -D_GNU_SOURCE -O3 -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 -march=armv5te -mfloat-abi=soft -c -o src/perftest_communication.o src/perftest_communication.c BUILDSTDERR: In file included from /usr/include/sys/time.h:21, BUILDSTDERR: from src/get_clock.c:43: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from src/perftest_parameters.h:61, BUILDSTDERR: from src/send_bw.c:41: BUILDSTDERR: src/get_clock.h:109:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] BUILDSTDERR: #warning get_cycles not implemented for this architecture: attempt asm/timex.h BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/get_clock.h:110:10: fatal error: asm/timex.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:843: src/send_bw.o] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from src/get_clock.c:48: BUILDSTDERR: src/get_clock.h:109:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] BUILDSTDERR: #warning get_cycles not implemented for this architecture: attempt asm/timex.h BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/get_clock.h:110:10: fatal error: asm/timex.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:843: src/get_clock.o] Error 1 BUILDSTDERR: In file included from src/multicast_resources.h:63, BUILDSTDERR: from src/multicast_resources.c:24: BUILDSTDERR: src/get_clock.h:109:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] BUILDSTDERR: #warning get_cycles not implemented for this architecture: attempt asm/timex.h BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/get_clock.h:110:10: fatal error: asm/timex.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:843: src/multicast_resources.o] Error 1 BUILDSTDERR: In file included from src/perftest_parameters.h:61, BUILDSTDERR: from src/perftest_resources.h:69, BUILDSTDERR: from src/perftest_communication.h:45, BUILDSTDERR: from src/perftest_communication.c:17: BUILDSTDERR: src/get_clock.h:109:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] BUILDSTDERR: #warning get_cycles not implemented for this architecture: attempt asm/timex.h BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/get_clock.h:110:10: fatal error: asm/timex.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:843: src/perftest_communication.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-4.2' BUILDSTDERR: make: *** [Makefile:570: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.H1kcaZ (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.H1kcaZ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 700, in do 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 --target armv5tel --nodeps /builddir/build/SPECS/perftest.spec