[package - 130powerpc64-quarterly][math/R-cran-units] Failed for R-cran-units-0.7.2 in stage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Sep 2021 06:26:04 UTC
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: tota@FreeBSD.org Log URL: http://foul1.nyi.freebsd.org/data/130powerpc64-quarterly/ced1db9770d0/logs/R-cran-units-0.7.2.log Build URL: http://foul1.nyi.freebsd.org/build.html?mastername=130powerpc64-quarterly&build=ced1db9770d0 Log: =>> Building math/R-cran-units build started at Tue Sep 7 06:23:36 UTC 2021 port directory: /usr/ports/math/R-cran-units package name: R-cran-units-0.7.2 building for: FreeBSD 130powerpc64-quarterly-job-09 13.0-RELEASE FreeBSD 13.0-RELEASE powerpc maintained by: tota@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-21-g883afb07 Host OSVERSION: 1400008 Jail OSVERSION: 1300139 Job Id: 09 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1300139 UNAME_v=FreeBSD 13.0-RELEASE UNAME_r=13.0-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-21-g883afb07 MASTERMNT=/usr/local/poudriere/data/.m/130powerpc64-quarterly/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/130powerpc64-quarterly/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=130powerpc64-quarterly SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/130powerpc64-quarterly/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- tota@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- F77="gfortran10" FC="gfortran10" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" XDG_DATA_HOME=/wrkdirs/usr/ports/math/R-cran-units/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/R-cran-units/work HOME=/wrkdirs/usr/ports/math/R-cran-units/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/R-cran-units/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- F77="gfortran10" FC="gfortran10" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" XDG_DATA_HOME=/wrkdirs/usr/ports/math/R-cran-units/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/R-cran-units/work HOME=/wrkdirs/usr/ports/math/R-cran-units/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/R-cran-units/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP=" cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- R_MOD_DIR=lib/R/library/units OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/units" EXAMPLESDIR="share/examples/units" DATADIR="share/units" WWWDIR="www/units" ETCDIR="etc/units" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/units DOCSDIR=/usr/local/share/doc/units EXAMPLESDIR=/usr/local/share/examples/units WWWDIR=/usr/local/www/units ETCDIR=/usr/local/etc/units --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=powerpc64 PPC_ABI=ELFv2 OPSYS=FreeBSD _OSRELEASE=13.0-RELEASE OSREL=13.0 OSVERSION=1300139 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===> License GPLv2 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> R-cran-units-0.7.2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.16.3.txz [130powerpc64-quarterly-job-09] Installing pkg-1.16.3... [130powerpc64-quarterly-job-09] Extracting pkg-1.16.3: .......... done ===> R-cran-units-0.7.2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of R-cran-units-0.7.2 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by R-cran-units-0.7.2 for building =========================================================================== =======================<phase: checksum >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by R-cran-units-0.7.2 for building => SHA256 Checksum OK for units_0.7-2.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by R-cran-units-0.7.2 for building ===> Extracting for R-cran-units-0.7.2 => SHA256 Checksum OK for units_0.7-2.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for R-cran-units-0.7.2 =========================================================================== =======================<phase: build-depends >============================ ===> R-cran-units-0.7.2 depends on package: R-cran-Rcpp>=0.12.10 - not found ===> Installing existing package /packages/All/R-cran-Rcpp-1.0.6.txz [130powerpc64-quarterly-job-09] Installing R-cran-Rcpp-1.0.6... [130powerpc64-quarterly-job-09] `-- Installing R-4.1.0... [130powerpc64-quarterly-job-09] | `-- Installing cairo-1.17.4,3... [130powerpc64-quarterly-job-09] | | `-- Installing fontconfig-2.13.93_1,1... [130powerpc64-quarterly-job-09] | | `-- Installing expat-2.4.1... [130powerpc64-quarterly-job-09] | | `-- Extracting expat-2.4.1: .......... done [130powerpc64-quarterly-job-09] | | `-- Installing freetype2-2.10.4... [130powerpc64-quarterly-job-09] | | | `-- Installing png-1.6.37_1... [130powerpc64-quarterly-job-09] | | | `-- Extracting png-1.6.37_1: .......... done [130powerpc64-quarterly-job-09] | | `-- Extracting freetype2-2.10.4: .......... done [130powerpc64-quarterly-job-09] | | `-- Extracting fontconfig-2.13.93_1,1: .......... done [130powerpc64-quarterly-job-09] | | `-- Installing gettext-runtime-0.21... [130powerpc64-quarterly-job-09] | | `-- Installing indexinfo-0.3.1... [130powerpc64-quarterly-job-09] | | `-- Extracting indexinfo-0.3.1: .... done [130powerpc64-quarterly-job-09] | | `-- Extracting gettext-runtime-0.21: .......... done [130powerpc64-quarterly-job-09] | | `-- Installing glib-2.66.8,2... [130powerpc64-quarterly-job-09] | | `-- Installing libffi-3.3_1... <snip> ===== Message from trousers-0.3.14_3: -- To run tcsd automatically, add the following line to /etc/rc.conf: tcsd_enable="YES" You might want to edit /usr/local/etc/tcsd.conf to reflect your setup. If you want to use tcsd with software TPM emulator, use the following configuration in /etc/rc.conf: tcsd_enable="YES" tcsd_mode="emulator" tpmd_enable="YES" To use TPM, add your_account to '_tss' group like following: # pw groupmod _tss -m your_account ===== Message from ghostscript9-agpl-base-9.52_18: -- This package installs a script named dvipdf that depends on dvips. If you want to use this script you need to install print/tex-dvipsk. ===== Message from dejavu-2.37_1: -- Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/share/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. ===> R-cran-units-0.7.2 depends on package: R-cran-Rcpp>=0.12.10 - found ===> Returning to build of R-cran-units-0.7.2 ===> R-cran-units-0.7.2 depends on file: /usr/local/bin/R - found ===> R-cran-units-0.7.2 depends on executable: gfortran10 - found ===> R-cran-units-0.7.2 depends on file: /usr/local/bin/as - found =========================================================================== =======================<phase: lib-depends >============================ ===> R-cran-units-0.7.2 depends on shared library: libudunits2.so - not found ===> Installing existing package /packages/All/udunits-2.2.28.txz [130powerpc64-quarterly-job-09] Installing udunits-2.2.28... [130powerpc64-quarterly-job-09] Extracting udunits-2.2.28: .......... done ===> R-cran-units-0.7.2 depends on shared library: libudunits2.so - found (/usr/local/lib/libudunits2.so) ===> Returning to build of R-cran-units-0.7.2 =========================================================================== =======================<phase: configure >============================ ===> Configuring for R-cran-units-0.7.2 =========================================================================== =======================<phase: build >============================ =========================================================================== =======================<phase: run-depends >============================ ===> R-cran-units-0.7.2 depends on package: R-cran-Rcpp>=0.12.10 - found ===> R-cran-units-0.7.2 depends on file: /usr/local/bin/R - found ===> R-cran-units-0.7.2 depends on executable: gfortran10 - found =========================================================================== =======================<phase: stage >============================ ===> Staging for R-cran-units-0.7.2 ===> Generating temporary packing list * installing *source* package 'units' ... ** package 'units' successfully unpacked and MD5 sums checked ** using staged installation configure: units: 0.7-2 checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether c++ -std=gnu++14 accepts -g... yes checking how to run the C++ preprocessor... c++ -std=gnu++14 -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for error_at_line... no checking for gcc... cc checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for XML_ParserCreate in -lexpat... yes checking udunits2.h usability... yes checking udunits2.h presence... yes checking for udunits2.h... yes checking for ut_read_xml in -ludunits2... yes configure: creating ./config.status config.status: creating src/Makevars ** libs gmake[1]: Entering directory '/wrkdirs/usr/ports/math/R-cran-units/work/units/src' c++ -std=gnu++14 -I"/usr/local/lib/R/include" -DNDEBUG -DUDUNITS2_DIR=0 -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -fPIC -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include -c RcppExports.cpp -o RcppExports.o c++ -std=gnu++14 -I"/usr/local/lib/R/include" -DNDEBUG -DUDUNITS2_DIR=0 -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -fPIC -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include -c udunits.cpp -o udunits.o c++ -std=gnu++14 -shared -L/usr/local/lib/R/lib -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong -o units.so RcppExports.o udunits.o -lexpat -lexpat -ludunits2 -L/usr/local/lib/R/lib -lR gmake[1]: Leaving directory '/wrkdirs/usr/ports/math/R-cran-units/work/units/src' installing to /wrkdirs/usr/ports/math/R-cran-units/work/stage/usr/local/lib/R/library/00LOCK-units/00new/units/libs ** R ** demo ** inst ** tests ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location *** caught segfault *** address 0x6763635f65786364, cause 'memory not mapped' Traceback: 1: R_ut_parse(u) 2: doTryCatch(return(expr), name, parentenv, handler) 3: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 4: tryCatchList(expr, classes, parentenv, handlers) 5: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L sm <- strsplit(conditionMessage(e), "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && isTRUE(getOption("show.error.messages"))) { cat(msg, file = outFile) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))}) 6: try(R_ut_parse(u), silent = TRUE) 7: ud_is_parseable("B") 8: fun(libname, pkgname) 9: doTryCatch(return(expr), name, parentenv, handler) 10: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11: tryCatchList(expr, classes, parentenv, handlers) 12: tryCatch(fun(libname, pkgname), error = identity) 13: runHook(".onLoad", env, package.lib, package) 14: loadNamespace(package, lib.loc) 15: doTryCatch(return(expr), name, parentenv, handler) 16: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 17: tryCatchList(expr, classes, parentenv, handlers) 18: tryCatch({ attr(package, "LibPath") <- which.lib.loc ns <- loadNamespace(package, lib.loc) env <- attachNamespace(ns, pos = pos, deps, exclude, include.only)}, error = function(e) { P <- if (!is.null(cc <- conditionCall(e))) paste(" in", deparse(cc)[1L]) else "" msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), P, conditionMessage(e)) if (logical.return) message(paste("Error:", msg), domain = NA) else stop(msg, call. = FALSE, domain = NA)}) 19: library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE) 20: withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage")) 21: suppressPackageStartupMessages(library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE)) 22: doTryCatch(return(expr), name, parentenv, handler) 23: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 24: tryCatchList(expr, classes, parentenv, handlers) 25: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L sm <- strsplit(conditionMessage(e), "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && isTRUE(getOption("show.error.messages"))) { cat(msg, file = outFile) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))}) 26: try(suppressPackageStartupMessages(library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE))) 27: tools:::.test_load_package("units", "/wrkdirs/usr/ports/math/R-cran-units/work/stage/usr/local/lib/R/library/00LOCK-units/00new") An irrecoverable exception occurred. R is aborting now ... ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location *** caught segfault *** address 0x6763635f65786364, cause 'memory not mapped' Traceback: 1: R_ut_parse(u) 2: doTryCatch(return(expr), name, parentenv, handler) 3: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 4: tryCatchList(expr, classes, parentenv, handlers) 5: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L sm <- strsplit(conditionMessage(e), "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && isTRUE(getOption("show.error.messages"))) { cat(msg, file = outFile) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))}) 6: try(R_ut_parse(u), silent = TRUE) 7: ud_is_parseable("B") 8: fun(libname, pkgname) 9: doTryCatch(return(expr), name, parentenv, handler) 10: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11: tryCatchList(expr, classes, parentenv, handlers) 12: tryCatch(fun(libname, pkgname), error = identity) 13: runHook(".onLoad", env, package.lib, package) 14: loadNamespace(package, lib.loc) 15: doTryCatch(return(expr), name, parentenv, handler) 16: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 17: tryCatchList(expr, classes, parentenv, handlers) 18: tryCatch({ attr(package, "LibPath") <- which.lib.loc ns <- loadNamespace(package, lib.loc) env <- attachNamespace(ns, pos = pos, deps, exclude, include.only)}, error = function(e) { P <- if (!is.null(cc <- conditionCall(e))) paste(" in", deparse(cc)[1L]) else "" msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), P, conditionMessage(e)) if (logical.return) message(paste("Error:", msg), domain = NA) else stop(msg, call. = FALSE, domain = NA)}) 19: library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE) 20: withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage")) 21: suppressPackageStartupMessages(library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE)) 22: doTryCatch(return(expr), name, parentenv, handler) 23: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 24: tryCatchList(expr, classes, parentenv, handlers) 25: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L sm <- strsplit(conditionMessage(e), "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && isTRUE(getOption("show.error.messages"))) { cat(msg, file = outFile) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))}) 26: try(suppressPackageStartupMessages(library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE))) 27: tools:::.test_load_package("units", "/wrkdirs/usr/ports/math/R-cran-units/work/stage/usr/local/lib/R/library") An irrecoverable exception occurred. R is aborting now ... ** testing if installed package keeps a record of temporary installation path Warning in file(con, "rb") : cannot open file '/tmp/RtmpCO4wzF/file169027e8d4cf8': No such file or directory Error in file(con, "rb") : cannot open the connection * removing '/wrkdirs/usr/ports/math/R-cran-units/work/stage/usr/local/lib/R/library/units' *** Error code 1 Stop. make: stopped in /usr/ports/math/R-cran-units