Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gasnet.spec'], chrootPath='/var/lib/mock/f33-build-281647-51710/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gasnet.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 sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1583971200 Wrote: /builddir/build/SRPMS/gasnet-2020.3.0-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gasnet.spec'], chrootPath='/var/lib/mock/f33-build-281647-51710/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gasnet.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1583971200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Y57pgp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf GASNet-2020.3.0 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/GASNet-2020.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd GASNet-2020.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.S2UgBp + umask 022 + cd /builddir/build/BUILD + cd GASNet-2020.3.0 + mkdir serial openmpi mpich + pushd serial ~/build/BUILD/GASNet-2020.3.0/serial ~/build/BUILD/GASNet-2020.3.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '%{_lto_cflags}x' '!=' x ']' ++ find . -type f -name configure -print + '[' 1 = 1 ']' +++ dirname ../configure ++ find .. -name config.guess -o -name config.sub + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../config-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ../config-aux/config.sub ++ basename ../config-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ../config-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> '../config-aux/config.sub' + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../config-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ../config-aux/config.guess ++ basename ../config-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ../config-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> '../config-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ../configure --build=riscv64-redhat-linux-gnu --host=riscv64-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-udp --disable-mpi --enable-par --disable-aligned-segments --disable-ibv --enable-segment-fast --with-segment-mmap-max=4GB 'CC=gcc -fPIC' 'CXX=g++ -fPIC' configure: creating cache ./config.cache checking for good shell... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu 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 for package version... GASNet 2020.3.0 https://gasnet.lbl.gov checking for configure arguments... configure args: '--build=riscv64-redhat-linux-gnu' '--host=riscv64-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-udp' '--disable-mpi' '--enable-par' '--disable-aligned-segments' '--disable-ibv' '--enable-segment-fast' '--with-segment-mmap-max=4GB' 'CC=gcc -fPIC' 'CXX=g++ -fPIC' checking if user enabled cross-compile... no checking for cached autoconf environment settings... checking for CC setting... (provided) "gcc -fPIC" checking for CFLAGS setting... (provided) "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection" checking for CPP setting... (not set) checking for CPPFLAGS setting... (not set) checking for LDFLAGS setting... (provided) "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" checking for LIBS setting... (not set) checking for PERL setting... (not set) checking for CXX setting... (provided) "g++ -fPIC" checking for CXXCPP setting... (not set) checking for CXXFLAGS setting... (provided) "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection" checking for pwd... /usr/bin/pwd checking autoconf version... 2.69 TOP_SRCDIR: /builddir/build/BUILD/GASNet-2020.3.0 TOP_BUILDDIR: /builddir/build/BUILD/GASNet-2020.3.0/serial ../configure: line 5872: hostname: command not found system info: riscv64-redhat-linux-gnu build id: Tue Jun 9 09:58:14 EDT 2020 mockbuild checking for gawk... (cached) gawk checking for perl5... no checking for perl... /usr/bin/perl checking for perl version 5.005 or later... yes: v5.30.3 checking for gmake... /usr/bin/gmake checking for GNU make... GNU Make 4.3 License GPLv3+: GNU GPL version 3 or later checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... gcc -fPIC 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 -fPIC accepts -g... yes checking for gcc -fPIC option to accept ISO C89... none needed checking whether gcc -fPIC understands -c and -o together... yes checking dependency style of gcc -fPIC... none checking how to run the C preprocessor... gcc -fPIC -E checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc -fPIC checking whether we are using the GNU C compiler... (cached) yes checking whether gcc -fPIC accepts -g... (cached) yes checking for gcc -fPIC option to accept ISO C89... (cached) none needed checking whether gcc -fPIC understands -c and -o together... (cached) yes checking dependency style of gcc -fPIC... (cached) none checking how to run the C preprocessor... gcc -fPIC -E checking for gcc... /usr/bin/gcc checking for full path expansion of CPP... /usr/bin/gcc -fPIC -E checking for working C preprocessor... yes checking for gcc... /usr/bin/gcc checking for full path expansion of CC... /usr/bin/gcc -fPIC checking for working C compiler... yes checking working C compiler executables... yes checking whether ln -s works... yes checking whether byte ordering is bigendian ... 0 checking for mpcc_r... no checking for C compiler family... GNU checking for gcc version string... 10.1.1 20200507 (Red Hat 10.1.1-1) checking for C compiler sub-family... GNU checking for known buggy compilers... ok 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 size of void *... 8 checking for C compiler flag --param max-inline-insns-single=35000... yes checking for C compiler flag --param max-inline-insns=100000... no/error: cc1: error: unrecognized command-line option '--param=max-inline-insns=100000' checking for C compiler flag --param inline-unit-growth=10000... yes checking for C compiler flag --param large-function-growth=200000... yes checking for C compiler flag -Winline... yes checking for buggy -Winline... buggy checking for working C99 printf specifiers... yes checking for C compiler flag -Wall... yes checking for C compiler flag -Wpointer-arith... yes checking for C compiler flag -Wnested-externs... yes checking for C compiler flag -Wwrite-strings... yes checking for C compiler flag -Wmissing-format-attribute... yes checking for C compiler flag -Winit-self... yes checking for C compiler flag -Wvla... yes checking for C compiler flag -Wexpansion-to-defined... yes checking for C compiler flag -Woverlength-strings... yes checking for C compiler flag -Wclobbered... yes checking for C compiler flag -Wcast-function-type... yes checking for C compiler flag -Wempty-body... yes checking for C compiler flag -Wignored-qualifiers... yes checking for C compiler flag -Wimplicit-fallthrough... yes checking for C compiler flag -Wmissing-parameter-type... yes checking for C compiler flag -Wold-style-declaration... yes checking for C compiler flag -Wuninitialized... yes checking for C compiler flag -Wshift-negative-value... yes checking for C compiler flag -Wno-format-overflow... yes checking for C compiler flag -Wformat-overflow... yes checking for C compiler flag -Wno-format-truncation... yes checking for C compiler flag -Wformat-truncation... yes checking for C compiler flag -Wno-unused... yes checking for C compiler flag -Wunused... yes checking for C compiler flag -Wunused-result... yes checking for C compiler flag -Wno-unused-parameter... yes checking for C compiler flag -Wunused-parameter... yes checking for C compiler flag -Wno-address... yes checking for C compiler flag -Waddress... yes checking for buggy pthread.h mutex initializers... ok checking for C compiler flag ... yes checking for flags required for C99 subset compliance... none required checking for working GASNet-required ISO C99 subset... yes checking for libgcc link flags... -L/usr/lib/gcc/riscv64-redhat-linux/10 -lgcc checking for __restrict__ keyword... yes checking for restrict qualifying typedefs... yes checking C compiler for 32-bit __sync atomics support... yes checking C compiler for 64-bit __sync atomics support... yes checking C compiler for inline modifier... yes checking C compiler for working 'static inline'... yes checking for __attribute__((__always_inline__))... yes checking for __attribute__((__noinline__))... yes checking for __attribute__((__malloc__))... yes checking for __attribute__((__warn_unused_result__))... yes checking for __attribute__((__used__))... yes checking for __attribute__((__may_alias__))... yes checking for __attribute__((__noreturn__))... yes checking for __attribute__((__const__))... yes checking for __attribute__((__pure__))... yes checking for __attribute__((__hot__))... yes checking for __attribute__((__cold__))... yes checking for __attribute__((__deprecated__))... yes checking for __attribute__((__common__))... yes checking for __attribute__((__fallthrough__))... yes checking for __attribute__((__format__))... yes checking for __attribute__((__format__)) on function pointers... yes checking for __attribute__((__format__)) on function pointers as arguments... yes checking for compiler flag -Wall... yes checking for compiler flag -Wextra... yes checking for compiler flag -Wunknown-pragmas... yes checking for pragma GCC diagnostic push/pop/ignored... yes checking for __assume... no checking for __builtin_assume... no checking for __builtin_unreachable... yes checking for __builtin_expect... yes checking for __builtin_constant_p... yes checking for __builtin_prefetch... yes checking for PLATFORM_COMPILER_IDSTR... |COMPILER_FAMILY:GNU|COMPILER_VERSION:10.1.1|COMPILER_FAMILYID:1|STD:__STDC__,__STDC_VERSION__=201710L|misc:10.1.1 20200507 (Red Hat 10.1.1-1)| checking for PLATFORM_COMPILER_FAMILYID... 1 checking for PLATFORM_COMPILER_ID... 1 checking for PLATFORM_COMPILER_VERSION... 655617 checking for PLATFORM_COMPILER_C_LANGLVL... 201710 checking building tentative definition helper object... ok checking for tentative definition support... no checking for tentative definition support via "common" attribute... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of void *... (cached) 8 checking size of size_t... 8 checking size of ptrdiff_t... 8 checking stdint.h usability... yes checking stdint.h presence... yes checking for stdint.h... yes checking for a complete stdint.h... yes checking inttypes.h usability... yes checking inttypes.h presence... yes checking for inttypes.h... yes checking for a complete inttypes.h... yes checking sys/types.h usability... yes checking sys/types.h presence... yes checking for sys/types.h... yes checking for a complete sys/types.h... no checking size of float... 4 checking size of double... 8 checking for type _Bool... yes checking size of _Bool... 1 checking for type long double... yes checking size of long double... 16 checking for type float _Complex... yes checking size of float _Complex... 8 checking PAGESIZE... no checking PAGE_SIZE... no checking sysconf(_SC_PAGESIZE)... 4096 checking for sin in -lm... yes checking for Linux flavor... generic checking for working pthreads support... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for library containing pthread_setconcurrency... none required checking for library containing pthread_kill... none required checking for library containing pthread_kill_other_threads_np... no checking for library containing pthread_sigmask... none required checking for library containing pthread_rwlock_tryrdlock... none required checking for library containing pthread_rwlock_wrlock... none required checking whether the GCC __thread extension is supported.... yes checking for shared data cache line size... 128 checking for CACHE_LINE_BYTES setting... (default) "128" checking hugetlbfs.h usability... no checking hugetlbfs.h presence... no checking for hugetlbfs.h... no checking for library containing shm_open... -lrt checking for working shm_open()... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for fstatvfs... yes checking for ia64 cmp8xchg16 support... no checking for x86-64 cmpxchg16b support... no checking for x86 EBX register... no checking for x86 pause instruction... no checking for __builtin_clz... yes checking for __builtin_clzl... yes checking for __builtin_clzll... yes checking for __builtin_ctz... yes checking for __builtin_ctzl... yes checking for __builtin_ctzll... yes checking for PR_SET_PDEATHSIG... yes checking for PR_SET_PTRACER... yes checking for fork... yes checking for popen... yes checking for system... yes checking for clock_gettime()... yes checking for library containing clock_gettime... none required checking atomic implementation family (binary probe)... 0 checking atomic32 implementation family (binary probe)... 0 checking atomic64 implementation family (binary probe)... 0 configure error: PSHM support (auto-enabled) requires native atomicops, but this platform has defaulted to 'generic' atomicops configure: error: See /builddir/build/BUILD/GASNet-2020.3.0/serial/config.log for details. error: Bad exit status from /var/tmp/rpm-tmp.S2UgBp (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.S2UgBp (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 --target riscv64 --nodeps /builddir/build/SPECS/gasnet.spec