ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libLHAPDF-6.2.1.so -o .libs/libLHAPDF-6.2.1.so libtool: link: (cd ".libs" && rm -f "libLHAPDF.so" && ln -s "libLHAPDF-6.2.1.so" "libLHAPDF.so") libtool: link: ( cd ".libs" && rm -f "libLHAPDF.la" && ln -s "../libLHAPDF.la" "libLHAPDF.la" ) make[2]: Leaving directory '/builddir/build/BUILD/LHAPDF-6.2.1/src' Making all in include Making all in LHAPDF /usr/bin/make all-am make[2]: Nothing to be done for 'all-am'. Making all in wrappers Making all in python make[2]: Entering directory '/builddir/build/BUILD/LHAPDF-6.2.1/wrappers/python' Not (re)generating lhapdf.cpp since Cython is not installed make[2]: Leaving directory '/builddir/build/BUILD/LHAPDF-6.2.1/wrappers/python' make[2]: Entering directory '/builddir/build/BUILD/LHAPDF-6.2.1/wrappers/python' for i in lhapdf.cpp lhapdf.pyx clhapdf.pxd; do \ orig="$i"; \ build="$(basename $i)"; \ if [ ! -e ${build} ]; then cp ${orig} ${build}; \ echo ${build} >> fix-out-of-source; fi; \ done touch fix-out-of-source make[2]: Leaving directory '/builddir/build/BUILD/LHAPDF-6.2.1/wrappers/python' BUILDSTDERR: cp: cannot stat 'lhapdf.cpp': No such file or directory make[2]: Entering directory '/builddir/build/BUILD/LHAPDF-6.2.1/wrappers/python' CC="g++" CXX="g++" /usr/bin/python2 setup.py install --install-lib=build/ --force running install running build running build_ext building 'lhapdf' extension creating build creating build/temp.linux-riscv64-2.7 g++ -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -fPIC -I/builddir/build/BUILD/LHAPDF-6.2.1/include -I/builddir/build/BUILD/LHAPDF-6.2.1/include -I/usr/include/python2.7 -c lhapdf.cpp -o build/temp.linux-riscv64-2.7/lhapdf.o -I/usr/include make[2]: Leaving directory '/builddir/build/BUILD/LHAPDF-6.2.1/wrappers/python' BUILDSTDERR: g++: error: lhapdf.cpp: No such file or directory BUILDSTDERR: g++: fatal error: no input files BUILDSTDERR: compilation terminated. BUILDSTDERR: error: command 'g++' failed with exit status 1 BUILDSTDERR: make[2]: *** [Makefile:483: all-local] Error 1 BUILDSTDERR: make[1]: *** [Makefile:374: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:507: all-recursive] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.yAWJ4v (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.yAWJ4v (%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 626, 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/lhapdf.spec