Upstream changes:
https://stat.ethz.ch/pipermail/r-announce/2020/000653.html
PR:
Submitted by: wen
Reported by:
Differential D24572
math/R: Update to version 4.0.0 jrm on Apr 26 2020, 3:47 AM. Authored by Tags None Referenced Files
Details
Upstream changes: PR:
Diff Detail
Event Timeline
Comment Actions Just after upgrading R: $ ldd /usr/local/lib/libexec/rkward.rbackend /usr/local/lib/libexec/rkward.rbackend: libR.so.3.6 => not found (0) libRlapack.so.3.6 => not found (0) libRblas.so.3.6 => not found (0) … But it is suffficient to bump its PORTREVISION and to rebuild math/rkward-kde to fix the problem: Index: math/rkward-kde/Makefile =================================================================== --- math/rkward-kde/Makefile (revision 531138) +++ math/rkward-kde/Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= rkward PORTVERSION= 0.7.1 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION:C/b//}/src PKGNAMESUFFIX= -kde Comment Actions @rhurlin_gwdg.de Thanks. I'll take a closer look. I don't think it was arbitrary to set the library version that way, but I'll have to try and remember if there was a good reason. @thierry Thanks. I'll also bump PORTREVISION for math/rkward-kde. Comment Actions I build tested everything and it all looks fine. Unless you have concrete objections, I am going to go ahead and commit this. @rhurlin_gwdg.de, I think the library versions we are making up are somewhat arbitrary in this case, since, after a long discussion with upstream, they do not really intend for them to be share libraries, but dynamically loaded. We are bumping dependencies manually, so I think things are fine. If you have other reasons that I am missing, we can always adapt later. Comment Actions Thanks for the explanation. I asked for it because ldconfig does not see the R libraries (libR.so, libRblas.so, and libRlapack.so). If we do not need them as shared ones for other ports, all seems fine. Now I am looking forward to your commit of math/R 4.0.0 :) Comment Actions I build tested some Bioconductor apps like Sleuth and DESeq2 and they seem OK as well. Comment Actions @rhurlin_gwdg.de I believe this should do the trick for the shared libraries. I'm re-testing all the dependencies to be certain this doesn't break any builds. If I don't hear any objections and if everything builds fine, I'll proceed with the update soon. Comment Actions @jrm Many thanks for this update. I just built and installed again with your 'trick' for the shared libraries and it seems to work fine: #ldconfig -r | grep libR This is exactly the behaviour I meant in my initial comment :-) Comment Actions I have not yet updated with your latest version, but with the first one, pkg-config already reported: $ pkg-config libR --libs and I guess that most consumers use pkg-config. Comment Actions @thierry I think we are still OK. % pkg-config libR --libs -Wl,--export-dynamic -fopenmp -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9 -B/usr/local/bin -fstack-protector-strong -L/usr/local/lib/R/lib -lR -lRblas Comment Actions I also think so. With latest version, not surprising, I get the same on my box: #pkg-config libR --libs -Wl,--export-dynamic -fopenmp -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9 -B/usr/local/bin -fstack-protector-strong -L/usr/local/lib/R/lib -lR -lRblas And 'ldconfig -r' is fine ;) |