g for unistd.h... yes checking mpfr.h usability... yes checking mpfr.h presence... yes checking for mpfr.h... yes checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking for __gmpz_init in -lgmp... yes checking for mpfr_init in -lmpfr... yes checking for mpfr_digamma in -lmpfr... yes configure: creating ./config.status config.status: creating src/Makevars BUILDSTDERR: ** libs gcc -I"/usr/include/R" -DNDEBUG -I/usr/local/include -I/usr/local/include -fpic -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 -c Ops.c -o Ops.o gcc -I"/usr/include/R" -DNDEBUG -I/usr/local/include -I/usr/local/include -fpic -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 -c Summary.c -o Summary.o gcc -I"/usr/include/R" -DNDEBUG -I/usr/local/include -I/usr/local/include -fpic -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 -c convert.c -o convert.o gcc -I"/usr/include/R" -DNDEBUG -I/usr/local/include -I/usr/local/include -fpic -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 -c init.c -o init.o gcc -I"/usr/include/R" -DNDEBUG -I/usr/local/include -I/usr/local/include -fpic -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 -c utils.c -o utils.o gcc -shared -L/usr/lib64/R/lib -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o Rmpfr.so Ops.o Summary.o convert.o init.o utils.o -lmpfr -lgmp -L/usr/lib64/R/lib -lR BUILDSTDERR: installing to /builddir/build/BUILDROOT/R-Rmpfr-0.7.0-2.fc29.riscv64/usr/lib64/R/library/Rmpfr/libs BUILDSTDERR: ** R BUILDSTDERR: ** demo BUILDSTDERR: ** inst BUILDSTDERR: ** byte-compile and prepare package for lazy loading BUILDSTDERR: Error: package or namespace load failed for 'gmp': BUILDSTDERR: package 'gmp' was installed by an R version with different internals; it needs to be reinstalled for use with this R version BUILDSTDERR: Error : package 'gmp' could not be loaded BUILDSTDERR: ERROR: lazy loading failed for package 'Rmpfr' BUILDSTDERR: * removing '/builddir/build/BUILDROOT/R-Rmpfr-0.7.0-2.fc29.riscv64/usr/lib64/R/library/Rmpfr' BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.l2qdya (%install) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.l2qdya (%install) 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/R-Rmpfr.spec