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-RcppCCTZ.spec'], chrootPath='/var/lib/mock/f29-build-4044-994/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=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-RcppCCTZ.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 Wrote: /builddir/build/SRPMS/R-RcppCCTZ-0.2.3-3.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/R-RcppCCTZ.spec'], chrootPath='/var/lib/mock/f29-build-4044-994/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=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-RcppCCTZ.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nwC9hd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf RcppCCTZ + /usr/bin/mkdir -p RcppCCTZ + cd RcppCCTZ + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/RcppCCTZ_0.2.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm RcppCCTZ/inst/include/civil_time.h + rm RcppCCTZ/inst/include/civil_time_detail.h + rm RcppCCTZ/inst/include/time_zone.h + rm RcppCCTZ/inst/include/time_zone_fixed.h + rm RcppCCTZ/inst/include/time_zone_if.h + rm RcppCCTZ/inst/include/time_zone_impl.h + rm RcppCCTZ/inst/include/time_zone_info.h + rm RcppCCTZ/inst/include/time_zone_libc.h + rm RcppCCTZ/inst/include/time_zone_posix.h + rm RcppCCTZ/inst/include/tzfile.h + rm RcppCCTZ/inst/include/zone_info_source.h + rm RcppCCTZ/src/civil_time_detail.cc RcppCCTZ/src/time_tool.cc RcppCCTZ/src/time_zone_fixed.cc RcppCCTZ/src/time_zone_format.cc RcppCCTZ/src/time_zone_if.cc RcppCCTZ/src/time_zone_impl.cc RcppCCTZ/src/time_zone_info.cc RcppCCTZ/src/time_zone_libc.cc RcppCCTZ/src/time_zone_lookup.cc RcppCCTZ/src/time_zone_posix.cc + sed -i '/PKG_CXXFLAGS/ s~$~ -I/usr/include/cctz~' RcppCCTZ/src/Makevars + echo 'PKG_LIBS = -lcctz' + sed -i /time_zone_if/d RcppCCTZ/src/utilities.cpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.afhwhr + umask 022 + cd /builddir/build/BUILD + cd RcppCCTZ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XLpTjD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/R-RcppCCTZ-0.2.3-3.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/R-RcppCCTZ-0.2.3-3.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/R-RcppCCTZ-0.2.3-3.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/R-RcppCCTZ-0.2.3-3.fc29.riscv64 + cd RcppCCTZ + mkdir -p /builddir/build/BUILDROOT/R-RcppCCTZ-0.2.3-3.fc29.riscv64/usr/lib64/R/library + /usr/bin/R CMD INSTALL -l /builddir/build/BUILDROOT/R-RcppCCTZ-0.2.3-3.fc29.riscv64/usr/lib64/R/library RcppCCTZ BUILDSTDERR: * installing *source* package 'RcppCCTZ' ... files 'inst/include/civil_time.h', 'inst/include/civil_time_detail.h', 'inst/include/time_zone.h', 'inst/include/time_zone_fixed.h', 'inst/include/time_zone_if.h', 'inst/include/time_zone_impl.h', 'inst/include/time_zone_info.h', 'inst/include/time_zone_libc.h', 'inst/include/time_zone_posix.h', 'inst/include/tzfile.h', 'inst/include/zone_info_source.h', 'src/civil_time_detail.cc', 'src/time_tool.cc', 'src/time_zone_fixed.cc', 'src/time_zone_format.cc', 'src/time_zone_if.cc', 'src/time_zone_impl.cc', 'src/time_zone_info.cc', 'src/time_zone_libc.cc', 'src/time_zone_lookup.cc', 'src/time_zone_posix.cc' are missing files 'src/Makevars', 'src/utilities.cpp' have the wrong MD5 checksums BUILDSTDERR: ** libs g++ -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include -I../inst/include -I/usr/include/cctz -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 RcppExports.cpp -o RcppExports.o BUILDSTDERR: In file included from /usr/lib64/R/library/Rcpp/include/RcppCommon.h:76, BUILDSTDERR: from /usr/lib64/R/library/Rcpp/include/Rcpp.h:27, BUILDSTDERR: from RcppExports.cpp:4: BUILDSTDERR: /usr/lib64/R/library/Rcpp/include/Rcpp/sprintf.h: In function 'std::__cxx11::string Rcpp::sprintf(const char*, ...)': BUILDSTDERR: /usr/lib64/R/library/Rcpp/include/Rcpp/sprintf.h:30:12: warning: unnecessary parentheses in declaration of 'ap' [-Wparentheses] BUILDSTDERR: va_list(ap); BUILDSTDERR: ^ g++ -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include -I../inst/include -I/usr/include/cctz -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 examples.cpp -o examples.o BUILDSTDERR: In file included from /usr/lib64/R/library/Rcpp/include/RcppCommon.h:76, BUILDSTDERR: from /usr/lib64/R/library/Rcpp/include/Rcpp.h:27, BUILDSTDERR: from examples.cpp:3: BUILDSTDERR: /usr/lib64/R/library/Rcpp/include/Rcpp/sprintf.h: In function 'std::__cxx11::string Rcpp::sprintf(const char*, ...)': BUILDSTDERR: /usr/lib64/R/library/Rcpp/include/Rcpp/sprintf.h:30:12: warning: unnecessary parentheses in declaration of 'ap' [-Wparentheses] BUILDSTDERR: va_list(ap); BUILDSTDERR: ^ g++ -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include -I../inst/include -I/usr/include/cctz -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 utilities.cpp -o utilities.o BUILDSTDERR: In file included from /usr/lib64/R/library/Rcpp/include/RcppCommon.h:76, BUILDSTDERR: from /usr/lib64/R/library/Rcpp/include/Rcpp.h:27, BUILDSTDERR: from utilities.cpp:3: BUILDSTDERR: /usr/lib64/R/library/Rcpp/include/Rcpp/sprintf.h: In function 'std::__cxx11::string Rcpp::sprintf(const char*, ...)': BUILDSTDERR: /usr/lib64/R/library/Rcpp/include/Rcpp/sprintf.h:30:12: warning: unnecessary parentheses in declaration of 'ap' [-Wparentheses] BUILDSTDERR: va_list(ap); BUILDSTDERR: ^ g++ -std=gnu++11 -shared -L/usr/lib64/R/lib -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o RcppCCTZ.so RcppExports.o examples.o utilities.o -lcctz -L/usr/lib64/R/lib -lR BUILDSTDERR: installing to /builddir/build/BUILDROOT/R-RcppCCTZ-0.2.3-3.fc29.riscv64/usr/lib64/R/library/RcppCCTZ/libs BUILDSTDERR: ** R BUILDSTDERR: ** inst BUILDSTDERR: ** byte-compile and prepare package for lazy loading BUILDSTDERR: Error : package 'Rcpp' was installed by an R version with different internals; it needs to be reinstalled for use with this R version BUILDSTDERR: ERROR: lazy loading failed for package 'RcppCCTZ' BUILDSTDERR: * removing '/builddir/build/BUILDROOT/R-RcppCCTZ-0.2.3-3.fc29.riscv64/usr/lib64/R/library/RcppCCTZ' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.XLpTjD (%install) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.XLpTjD (%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-RcppCCTZ.spec