%prep): /bin/sh -e /var/tmp/rpm-tmp.06DXZu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bedtools2 + /usr/bin/gzip -dc /builddir/build/SOURCES/bedtools-2.27.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bedtools2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/BEDTools-double-parenthesis.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Ditch-bizarre-inclusion-then-mock-out-of-matplotlib-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -rf src/utils/curl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aZ23cy + umask 022 + cd /builddir/build/BUILD + cd bedtools2 + make -j4 'CXXFLAGS=-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 -fasynchronous-unwind-tables -fstack-clash-protection' V=1 $CXXFLAGS is [-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 -fasynchronous-unwind-tables -fstack-clash-protection] Building BEDTools: ========================================================= DETECTED_VERSION = v2.27.1 CURRENT_VERSION = Updating version file. * Creating BamTools API - Building in src/utils/FileRecordTools - Building in src/utils/FileRecordTools/FileReaders - Building in src/utils/FileRecordTools/Records - Building in src/utils/bedFile * compiling FileRecordMgr.cpp BUILDSTDERR: make[1]: g++: Command not found * compiling FileReader.cpp BUILDSTDERR: make[1]: *** [Makefile:37: ../../../obj//FileRecordMgr.o] Error 127 BUILDSTDERR: make: *** [Makefile:187: src/utils/FileRecordTools] Error 2 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: make[1]: g++: Command not found BUILDSTDERR: make[1]: *** [Makefile:35: ../../../../obj//FileReader.o] Error 127 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... * compiling bedFile.cpp BUILDSTDERR: make[1]: g++: Command not found BUILDSTDERR: make[1]: *** [Makefile:23: ../../../obj//bedFile.o] Error 127 BUILDSTDERR: make: *** [Makefile:187: src/utils/bedFile] Error 2 * compiling Record.cpp * compiling EmptyRecord.cpp * compiling SingleLineDelimTextFileReader.cpp BUILDSTDERR: make[1]: g++: Command not found BUILDSTDERR: make[1]: g++: Command not found BUILDSTDERR: make[1]: *** [Makefile:35: ../../../../obj//SingleLineDelimTextFileReader.o] Error 127 BUILDSTDERR: make[1]: g++: Command not found BUILDSTDERR: make[1]: *** [Makefile:40: ../../../../obj//Record.o] Error 127 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[1]: *** [Makefile:40: ../../../../obj//EmptyRecord.o] Error 127 BUILDSTDERR: make: *** [Makefile:187: src/utils/FileRecordTools/FileReaders] Error 2 * compiling Bed3Interval.cpp BUILDSTDERR: make[1]: g++: Command not found BUILDSTDERR: make[1]: *** [Makefile:40: ../../../../obj//Bed3Interval.o] Error 127 BUILDSTDERR: make: *** [Makefile:187: src/utils/FileRecordTools/Records] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.aZ23cy (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.aZ23cy (%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 636, 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/BEDTools.spec