[R-pkg-devel] c++17 on solaris cran
Hello everyone, I've got at package on CRAN which uses C++17. Package is at https://cran.r-project.org/web/packages/image.binarization/index.html The package fails on Solaris with the following message as my Makevars just contains CXX_STD = CXX17 indicating it requires C++17 * installing to library ‘/home/ripley/R/Lib32’ * installing *source* package ‘image.binarization’ ... ** package ‘image.binarization’ successfully unpacked and MD5 sums checked ** using staged installation ** libs Error: C++17 standard requested but CXX17 is not defined * removing ‘/home/ripley/R/Lib32/image.binarization’ real1.0 user0.7 sys 0.1 Looks like Solaris does not support C++17 yet. Is this error something that needs to be fixed by me? Will the package be removed from CRAN because of this. Any other people with C++17 code who can provide some advise. best, Jan Jan Wijffels Statistician www.bnosac.be | +32 486 611708 [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
[R-pkg-devel] Problem with V8 on CRAN Debian
Dear R community, in an effort to re-submit one of my packages (thurstonianIRT) to CRAN because of some test failures after updates of other packages, I get the following error from the CRAN debian installation, which I don't know how to address: * installing *source* package ‘thurstonianIRT’ ... ** using staged installation ** libs "/home/hornik/tmp/R/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/thurstonian_irt_model.stan Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object ‘/home/hornik/lib/R/Library/4.1/x86_64-linux-gnu/V8/libs/V8.so’: libnode.so.64: cannot open shared object file: No such file or directory Calls: make_cc ... asNamespace -> loadNamespace -> library.dynam -> dyn.load Execution halted make: *** [Makevars:17: stan_files/thurstonian_irt_model.cc] Error 1 ERROR: compilation failed for package ‘thurstonianIRT’ * removing ‘/srv/hornik/tmp/CRAN/thurstonianIRT.Rcheck/thurstonianIRT’ It seems to be a problem with the V8 package (on which the latest version of rstan depends) but I don't know if I can fix it from my side. Many thanks for your advice Paul [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] Problem with V8 on CRAN Debian
I have triggered new checks on the CRAN machines. Best, Uwe Ligges On 03.08.2020 16:42, Paul Buerkner wrote: Dear R community, in an effort to re-submit one of my packages (thurstonianIRT) to CRAN because of some test failures after updates of other packages, I get the following error from the CRAN debian installation, which I don't know how to address: * installing *source* package ‘thurstonianIRT’ ... ** using staged installation ** libs "/home/hornik/tmp/R/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/thurstonian_irt_model.stan Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object ‘/home/hornik/lib/R/Library/4.1/x86_64-linux-gnu/V8/libs/V8.so’: libnode.so.64: cannot open shared object file: No such file or directory Calls: make_cc ... asNamespace -> loadNamespace -> library.dynam -> dyn.load Execution halted make: *** [Makevars:17: stan_files/thurstonian_irt_model.cc] Error 1 ERROR: compilation failed for package ‘thurstonianIRT’ * removing ‘/srv/hornik/tmp/CRAN/thurstonianIRT.Rcheck/thurstonianIRT’ It seems to be a problem with the V8 package (on which the latest version of rstan depends) but I don't know if I can fix it from my side. Many thanks for your advice Paul [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] Problem with V8 on CRAN Debian
On 3 August 2020 at 16:42, Paul Buerkner wrote: | Dear R community, | | in an effort to re-submit one of my packages (thurstonianIRT) to CRAN | because of some test failures after updates of other packages, I get the | following error from the CRAN debian installation, which I don't know how | to address: | | * installing *source* package ‘thurstonianIRT’ ... | ** using staged installation | ** libs | "/home/hornik/tmp/R/bin/Rscript" -e "source(file.path('..', 'tools', | 'make_cc.R')); make_cc(commandArgs(TRUE))" | stan_files/thurstonian_irt_model.stan | Error in dyn.load(file, DLLpath = DLLpath, ...) : | unable to load shared object | ‘/home/hornik/lib/R/Library/4.1/x86_64-linux-gnu/V8/libs/V8.so’: | libnode.so.64: cannot open shared object file: No such file or directory | Calls: make_cc ... asNamespace -> loadNamespace -> library.dynam -> dyn.load | Execution halted | make: *** [Makevars:17: stan_files/thurstonian_irt_model.cc] Error 1 | ERROR: compilation failed for package ‘thurstonianIRT’ | * removing ‘/srv/hornik/tmp/CRAN/thurstonianIRT.Rcheck/thurstonianIRT’ | | | It seems to be a problem with the V8 package (on which the latest version | of rstan depends) but I don't know if I can fix it from my side. Tracing it: edd@rob:~$ locate libnode.so.64 /usr/lib/x86_64-linux-gnu/libnode.so.64 edd@rob:~$ dpkg -S $(locate libnode.so.64) libnode64:amd64: /usr/lib/x86_64-linux-gnu/libnode.so.64 edd@rob:~$ Looks like libnode64 needs to be installed. On systems that lack complete dependency resolutions (cough, RSPM, cough) one needs libnode-dev; this libnode64 above is dependency of libnode-dev. Maybe you need to add 'libnode-dev' in SystemRequirements: ? Dirk -- https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] Problem with V8 on CRAN Debian
On 3 August 2020 at 10:07, Dirk Eddelbuettel wrote: | Tracing it: | | edd@rob:~$ locate libnode.so.64 | /usr/lib/x86_64-linux-gnu/libnode.so.64 | edd@rob:~$ dpkg -S $(locate libnode.so.64) | libnode64:amd64: /usr/lib/x86_64-linux-gnu/libnode.so.64 | edd@rob:~$ | | Looks like libnode64 needs to be installed. On systems that lack complete | dependency resolutions (cough, RSPM, cough) one needs libnode-dev; this | libnode64 above is dependency of libnode-dev. | | Maybe you need to add 'libnode-dev' in SystemRequirements: ? Much simpler. On Debian the so number is now 72 and no longer 64, so CRAN package V8 needs a simple rebuild to look for 72 and not the no-longer existing 64. CC'ing Kurt Hornik. I was, coincidentally, hitting the exact same issue on a Debian testing box running reverse depends. It's "the price we pay" by not having CRAN package tied to the system-level dependencies which can at time also change. Dirk -- https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel