Bug#871183: r-cran-randomfields: FTBFS: R segfaults

Lucas Nussbaum lucas at debian.org
Sun Aug 6 22:28:35 UTC 2017


Source: r-cran-randomfields
Version: 3.1.36-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170805 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
> installing to /<<PKGBUILDDIR>>/debian/r-cran-randomfields/usr/lib/R/site-library/RandomFields/libs
> ** R
> ** data
> ** inst
> ** preparing package for lazy loading
> 
>  *** caught segfault ***
> address 0x1, cause 'memory not mapped'
> 
> Traceback:
>  1: dyn.load(file, DLLpath = DLLpath, ...)
>  2: library.dynam(lib, package, package.lib)
>  3: loadNamespace(package, lib.loc)
>  4: doTryCatch(return(expr), name, parentenv, handler)
>  5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
>  6: tryCatchList(expr, classes, parentenv, handlers)
>  7: tryCatch({    attr(package, "LibPath") <- which.lib.loc    ns <- loadNamespace(package, lib.loc)    env <- attachNamespace(ns, pos = pos, deps)}, 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)})
>  8: library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc,     quietly = quietly)
>  9: .getRequiredPackages2(pkgInfo, quietly, lib.loc, useImports)
> 10: .getRequiredPackages(quietly = TRUE)
> 11: withCallingHandlers(expr, packageStartupMessage = function(c) invokeRestart("muffleMessage"))
> 12: suppressPackageStartupMessages(.getRequiredPackages(quietly = TRUE))
> 13: doTryCatch(return(expr), name, parentenv, handler)
> 14: tryCatchOne(expr, names, parentenv, handlers[[1L]])
> 15: tryCatchList(expr, classes, parentenv, handlers)
> 16: 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        msg <- conditionMessage(e)        sm <- strsplit(msg, "\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 && identical(getOption("show.error.messages"),         TRUE)) {        cat(msg, file = outFile)        .Internal(printDeferredWarnings())    }    invisible(structure(msg, class = "try-error", condition = e))})
> 17: try({    suppressPackageStartupMessages(.getRequiredPackages(quietly = TRUE))    makeLazyLoading(pkg_name, lib, keep.source = keep.source)})
> 18: do_install_source(pkg_name, instdir, pkg, desc)
> 19: do_install(pkg)
> 20: tools:::.install_packages()
> An irrecoverable exception occurred. R is aborting now ...
> Segmentation fault
> dh_auto_install: R CMD INSTALL -l /<<PKGBUILDDIR>>/debian/r-cran-randomfields/usr/lib/R/site-library --clean . "--built-timestamp='Sun, 08 Jan 2017 17:05:46 +0100'" returned exit code 139
> debian/rules:4: recipe for target 'binary' failed
> make: *** [binary] Error 25

The full build log is available from:
   http://aws-logs.debian.net/2017/08/05/r-cran-randomfields_3.1.36-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list