[MacPorts] #33044: port can't find R dylibs and repeatedly rebuilds
MacPorts
noreply at macports.org
Sun Jan 29 09:06:24 PST 2012
#33044: port can't find R dylibs and repeatedly rebuilds
--------------------------------+-------------------------------------------
Reporter: stephen@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: rev-upgrade | Port: R
--------------------------------+-------------------------------------------
Comment(by cal@…):
The problem is not about not being able to execute R through
`${prefix}/bin/R`, which sets `DYLD_LIBRARY_PATH` to the appropriate paths
so the R binary will find it's libraries, but about our new check routine
`rev-upgrade` in trunk, which tries to find binaries that have broken
linkage. Since we cannot automatically determine whether
`DYLD_LIBRARY_PATH` is set before starting a binary (we can't *know*
automatically that R is supposed to be run through the script setting
`DYLD_LIBRARY_PATH`) it thinks `${prefix}/lib/R/bin/exec/x86_64/R` is
broken, since it references a non-existant file and marks it for rebuild,
which *usually* fixes this kind of problems, however in this case does
not, because it's by design.
The problem can be easily fixed by running the two lines I posted above in
a post-destroot phase, though, and this is why I think we should add this.
--
Ticket URL: <https://trac.macports.org/ticket/33044#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list