Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libvma.spec'], chrootPath='/var/lib/mock/f31-build-59785-28624/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libvma.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=1517788800 Wrote: /builddir/build/SRPMS/libvma-8.0.1-5.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libvma.spec'], chrootPath='/var/lib/mock/f31-build-59785-28624/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libvma.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=1517788800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZOzlVt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libvma-8.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/libvma-8.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libvma-8.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libvma-8.0.1-gcc7.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc7 --fuzz=0 + echo 'Patch #1 (libvma-8.0.1-gcc8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc8 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (libvma-8.0.1-gcc7.patch): patching file src/vlogger/vlogger.h patching file src/vma/dev/buffer_pool.cpp patching file src/vma/dev/qp_mgr.h patching file src/vma/dev/ring_bond.h patching file src/vma/dev/ring_simple.h patching file src/vma/sock/socket_fd_api.h patching file src/vma/sock/sockinfo.h patching file src/vma/sock/sock-redirect.h patching file src/stats/stats_publisher.cpp patching file src/vma/config_parser.c patching file src/vma/dev/net_device_val.cpp patching file src/vma/dev/ring_bond.cpp patching file src/vma/dev/ring_simple.cpp patching file src/vma/proto/flow_tuple.cpp patching file src/vma/sock/pipeinfo.cpp patching file src/vma/sock/pipeinfo.h patching file src/vma/sock/socket_fd_api.cpp patching file src/vma/sock/sockinfo.cpp patching file src/vma/sock/sockinfo_tcp.cpp patching file src/vma/sock/sockinfo_tcp.h patching file src/vma/sock/sockinfo_udp.cpp patching file src/vma/sock/sockinfo_udp.h patching file src/vma/sock/sock-redirect.cpp patching file src/stats/stats_reader.cpp Patch #1 (libvma-8.0.1-gcc8.patch): patching file src/stats/stats_publisher.cpp patching file src/stats/stats_reader.cpp patching file src/vma/dev/buffer_pool.cpp patching file src/vma/infra/subject_observer.cpp patching file src/vma/proto/L2_address.h patching file src/vma/proto/route_rule_table_key.h patching file src/vma/sock/pipeinfo.cpp patching file src/vma/sock/sockinfo.cpp patching file src/vma/util/sock_addr.h Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7TFqUt + umask 022 + cd /builddir/build/BUILD + cd libvma-8.0.1 + ./autogen.sh + test -d ./config + aclocal -I config + libtoolize --force --copy + autoheader + automake --foreign --add-missing --copy BUILDSTDERR: configure.ac:26: installing 'config/compile' BUILDSTDERR: configure.ac:22: installing 'config/install-sh' BUILDSTDERR: configure.ac:22: installing 'config/missing' BUILDSTDERR: src/state_machine/Makefile.am: installing 'config/depcomp' + autoconf + 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,--as-needed -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.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 + 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 + '[' 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=riscv64-koji-linux-gnu --host=riscv64-koji-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 libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'. libtoolize: copying file 'config/libtool.m4' libtoolize: copying file 'config/ltoptions.m4' libtoolize: copying file 'config/ltsugar.m4' libtoolize: copying file 'config/ltversion.m4' libtoolize: copying file 'config/lt~obsolete.m4' libtoolize: Consider adding '-I config' to ACLOCAL_AMFLAGS in Makefile.am. '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' checking whether make supports nested variables... yes 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 for riscv64-koji-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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu 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 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 riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib BUILDSTDERR: checking command to par+ make -j4 V=1 se /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 riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... 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 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... no 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... yes checking for bison... no checking for byacc... no checking for flex... no checking for lex... no checking infiniband/verbs.h usability... yes checking infiniband/verbs.h presence... yes checking for infiniband/verbs.h... yes checking rdma/rdma_cma.h usability... yes checking rdma/rdma_cma.h presence... yes checking for rdma/rdma_cma.h... yes checking md5 version of VMA statistics is... dcd85a9aae1174e9d922dc3ff8cab0e8 checking for gcc version... >= 4.6 checking for ANSI C header files... (cached) yes checking if gcc supports atomic memory access (__sync_bool_compare_and_swap)... yes checking if IBV_QPT_RAW_PACKET is defined... yes checking if IBV_WC_WITH_VLAN is defined... no checking if IBV_ACCESS_ALLOCATE_MR is defined... no checking if IBV_EXP_CQ_MODERATION is defined... no checking if IBV_EXP_CQ_TIMESTAMP is defined... no checking if IBV_EXP_ACCESS_ALLOCATE_MR is defined... no checking if IBV_EXP_DEVICE_RX_CSUM_L4_PKT is defined... no checking if IBV_EXP_DEVICE_RX_CSUM_TCP_UDP_PKT is defined... no checking if IBV_DEVICE_RAW_IP_CSUM is defined... yes checking if IBV_SEND_IP_CSUM is defined... yes checking if IBV_EXP_FLOW_SPEC_IB is defined... no checking if IBV_FLOW_SPEC_IB is defined... no checking if SOF_TIMESTAMPING_SOFTWARE is defined... yes checking for struct mmsghdr... yes checking if 'struct timespec' for recvmmsg() is const... no checking for atoi in -lstdc++... no checking for dlsym in -ldl... yes checking for clock_gettime in -lrt... yes checking for pthread_create in -lpthread... yes checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBNL3... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/vma/Makefile config.status: creating src/vma/infra/Makefile config.status: creating src/vma/netlink/Makefile config.status: creating src/vlogger/Makefile config.status: creating src/stats/Makefile config.status: creating src/state_machine/Makefile config.status: creating tests/Makefile config.status: creating tests/pps_test/Makefile config.status: creating tests/latency_test/Makefile config.status: creating tests/throughput_test/Makefile config.status: creating build/libvma.spec config.status: creating debian/changelog config.status: creating VMA_VERSION config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make all-recursive BUILDSTDERR: make[1]: Entmake[3]: g++: Command not found BUILDSTDERR: make[3]: *** [Makefile:526: main.o] Error 127 BUILDSTDERR: make[2]: *** [Makefile:372: all-recursive] Error 1 BUILDSTDERR: make[1]: *** [Makefile:495: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:400: all] Error 2 error: ering directory '/builddir/build/BUILD/libvma-8.0.1' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libvma-8.0.1/src' Making all in vlogger make[3]: Entering directory '/builddir/build/BUILD/libvma-8.0.1/src/vlogger' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -Wall -g -fPIC -Wall -Wextra -Werror -ffunction-sections -fdata-sections -Wsequence-point -pipe -Winit-self -Wmissing-include-dirs -Wshadow -D_GNU_SOURCE -fPIC -g -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o main.o main.cpp make[3]: Leaving directory '/builddir/build/BUILD/libvma-8.0.1/src/vlogger' make[2]: Leaving directory '/builddir/build/BUILD/libvma-8.0.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libvma-8.0.1' RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.7TFqUt (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.7TFqUt (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/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 riscv64 --nodeps /builddir/build/SPECS/libvma.spec