Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/R-gmp.spec'], chrootPath='/var/lib/mock/f29-build-4609-1078/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/R-gmp.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/R-gmp-0.5.13.1-2.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/R-gmp.spec'], chrootPath='/var/lib/mock/f29-build-4609-1078/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/R-gmp.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eRmiyP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gmp + /usr/bin/mkdir -p gmp + cd gmp + /usr/bin/gzip -dc /builddir/build/SOURCES/gmp_0.5-13.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xVtxjJ + umask 022 + cd /builddir/build/BUILD + cd gmp Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.G0VPfM + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/R-gmp-0.5.13.1-2.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/R-gmp-0.5.13.1-2.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/R-gmp-0.5.13.1-2.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/R-gmp-0.5.13.1-2.fc29.riscv64 + cd gmp + mkdir -p /builddir/build/BUILDROOT/R-gmp-0.5.13.1-2.fc29.riscv64/usr/lib64/R/library + /usr/bin/R CMD INSTALL -l /builddir/build/BUILDROOT/R-gmp-0.5.13.1-2.fc29.riscv64/usr/lib64/R/library gmp BUILDSTDERR: * installing *source* package 'gmp' ... BUILDSTDERR: ** package 'gmp' successfully unpacked and MD5 sums checked creating cache ./config.cache checking for __gmpz_ui_sub in -lgmp... yes updating cache ./config.cache creating ./config.status creating src/Makevars BUILDSTDERR: ** libs g++ -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 apply.cc -o apply.o g++ -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 biginteger.cc -o biginteger.o g++ -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 bigintegerR.cc -o bigintegerR.o g++ -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 bigmod.cc -o bigmod.o g++ -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 bigrational.cc -o bigrational.o g++ -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 bigrationalR.cc -o bigrationalR.o g++ -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 bigvec.cc -o bigvec.o BUILDSTDERR: bigvec.cc: In member function 'void bigvec::print()': BUILDSTDERR: bigvec.cc:291:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for(int j=0; j < (value.size() / nrow); ++j) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -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 bigvec_q.cc -o bigvec_q.o g++ -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 extract_matrix.cc -o extract_matrix.o BUILDSTDERR: In file included from extract_matrix.cc:1: BUILDSTDERR: extract_matrix.h: In function 'T extract_gmp_R::get_at(T&, SEXPREC*&, SEXPREC*&)': BUILDSTDERR: extract_matrix.h:332:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if(*it > static_cast((*matrice)[0]->size())) BUILDSTDERR: ^ g++ -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 factor.cc -o factor.o g++ -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 factorize.cc -o factorize.o BUILDSTDERR: factorize.cc: In function 'void factor_using_division(__mpz_struct*, bigvec&)': BUILDSTDERR: factorize.cc:67:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: for (i = 1; i < PRIMES_PTAB_ENTRIES;) BUILDSTDERR: ^ BUILDSTDERR: factorize.cc: In function 'int mp_prime_p(__mpz_struct*)': BUILDSTDERR: factorize.cc:152:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: for (r = 0; r < PRIMES_PTAB_ENTRIES; r++) BUILDSTDERR: ^ BUILDSTDERR: factorize.cc:159:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (i = 0; i < factors.size() && is_prime; i++) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ g++ -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.cc -o init.o BUILDSTDERR: In file included from init.cc:11: BUILDSTDERR: extract_matrix.h: In function 'T extract_gmp_R::get_at(T&, SEXPREC*&, SEXPREC*&)': BUILDSTDERR: extract_matrix.h:332:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if(*it > static_cast((*matrice)[0]->size())) BUILDSTDERR: ^ g++ -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 matrix.cc -o matrix.o g++ -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 matrixq.cc -o matrixq.o g++ -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 solve.cc -o solve.o BUILDSTDERR: solve.cc: In function 'SEXPREC* solve_gmp_R::inverse_q(bigvec_q)': BUILDSTDERR: solve.cc:37:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: for(unsigned int i=0; i