[R-pkg-devel] Build process generated non-portable files

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Sat Aug 17 16:22:32 CEST 2024


В Fri, 16 Aug 2024 18:53:55 +0000
anj5xsj9 using nilly.addy.io пишет:

> In the past other packages have failed to build and not only on the
> intel container see
> "https://github.com/SpeakEasy-2/speakeasyR/actions/runs/10202337528/job/28226219457"
> where several containers failed at the setup-deps step. There is
> overlap in which package fails (i.e. protGenerics and sparseArray
> fail in multiple containers but succeed in others while in one
> container ExperimentHub fails). It seems the only packages failing
> are from Bioconductor. Assume this is a bioconductor or pak issue.

Could also be an rhub issue, although unlike the igraph problem below,
I have no idea where to start diagnosing it.

> > > igraph::sample_pref(10)  
> > Error in dyn.load(file, DLLpath = DLLpath, ...) :
> >  unable to load shared object
> > '/root/R/x86_64-pc-linux-gnu-library/4.5/igraph/libs/igraph.so':
> > libopenblasp.so.0: cannot open shared object file: No such file or
> > directory  
> 
> I.e. the same error with building targets. I can raise an issue on
> rigraph as well.

This is a problem with the binary package used by rhub. If you
reinstall the source package from CRAN instead of
https://github.com/r-hub/repos and
https://github.com/cran/igraph/releases/, it will work, but take much
more time compiling the package:

options(repos = getOption('repos')['CRAN'])
install.packages('igraph')

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list