[122825] trunk/base/src/macports1.0/macports.tcl
cal at macports.org
cal at macports.org
Thu Jul 31 02:55:56 PDT 2014
Revision: 122825
https://trac.macports.org/changeset/122825
Author: cal at macports.org
Date: 2014-07-31 02:55:56 -0700 (Thu, 31 Jul 2014)
Log Message:
-----------
base: macports1.0: rev-upgrade: Explicitly check for relative library paths and print a helpful message, closes #44504
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2014-07-31 09:35:49 UTC (rev 122824)
+++ trunk/base/src/macports1.0/macports.tcl 2014-07-31 09:55:56 UTC (rev 122825)
@@ -4590,6 +4590,9 @@
$revupgrade_progress intermission
}
ui_info "Could not open ${filepath}: [machista::strerror $libreturncode] (referenced from $bpath)"
+ if {[string first [file separator] $filepath] == -1} {
+ ui_info "${filepath} seems to be referenced using a relative path. This may be a problem with its canonical library name and require the use of install_name_tool(1) to fix."
+ }
set files_warned_about($filepath) yes
}
if {$libreturncode == $machista::EFILE} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140731/3cf5f595/attachment.html>
More information about the macports-changes
mailing list