Upstream changes:
https://stat.ethz.ch/pipermail/r-announce/2020/000653.html
PR:
Submitted by: wen
Reported by:
Differential D24572 Authored by jrm on Apr 26 2020, 3:47 AM.
Details
Summary Upstream changes: PR:
Diff Detail
Event TimelineHerald added a subscriber: andrew. · View Herald TranscriptApr 26 2020, 3:47 AM2020-04-26 03:47:34 (UTC+0) Harbormaster completed remote builds in B30729: Diff 70996.Apr 26 2020, 3:47 AM2020-04-26 03:47:34 (UTC+0)
thierry subscribed. Comment ActionsJust 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 This revision is now accepted and ready to land.Apr 26 2020, 6:27 PM2020-04-26 18:27:39 (UTC+0) 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. This revision now requires review to proceed.May 5 2020, 4:24 AM2020-05-05 04:24:45 (UTC+0) Harbormaster completed remote builds in B30905: Diff 71396.May 5 2020, 4:24 AM2020-05-05 04:24:50 (UTC+0) 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 ;) This revision was not accepted when it landed; it landed in state Needs Review.May 5 2020, 4:08 PM2020-05-05 16:08:25 (UTC+0) This revision was automatically updated to reflect the committed changes. Large DiffThis large diff affects 320 files. Files without inline comments have been collapsed. Expand All Files
Revision Contents
Diff 71403 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||