Installation fails only in Linux... How to debug "ERROR: lazy loading failed for package XXX"?
0
0
Entering edit mode
Hector • 0
@hclimente
Last seen 10 months ago
Sweden

Hi!

I have issues installing my own package, martini, in Linux, and only in Linux. I use continuous integration via Github actions (Linux, Windows, macOS). R CMD check succeeds in all platforms, but BiocCheck fails in Linux with the following message (the full output is available here):

  ** byte-compile and prepare package for lazy loading
  ERROR: lazy loading failed for package ‘martini’
  * removing ‘/tmp/RtmpTWnjOi/filea213c9c2f3e/lib/martini’

Installation works fine on my own Linux machines. So I am clueless regarding how to debug this error. Does anyone have any suggestions?

Here is the session info of the virtual machine:

Bioconductor version 3.12 (BiocManager 1.30.10), ?BiocManager::install for help
R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04 LTS

Matrix products: default
BLAS/LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.8.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=C
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] BiocManager_1.30.10

loaded via a namespace (and not attached):
[1] compiler_4.0.3
BiocCheck Install martini • 1.7k views
ADD COMMENT
0
Entering edit mode

If this is about package development (seems like it is...) then it should be posted on the bioc-devel mailing list. I think it would be very helpful to arrive at a more reproducible example, maybe using the Bioconductor docker image?

ADD REPLY
0
Entering edit mode

You are right, thanks.

ADD REPLY

Login before adding your answer.

Traffic: 349 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6