[MacPorts] #37395: On PPC Tiger, Mac OS X 10.4.11, tk has a problematic wish: Could not open /opt/local/lib:/opt/local/lib/libtk8.6.dylib
MacPorts
noreply at macports.org
Wed Dec 26 12:19:22 PST 2012
#37395: On PPC Tiger, Mac OS X 10.4.11, tk has a problematic wish: Could not open
/opt/local/lib:/opt/local/lib/libtk8.6.dylib
------------------------------+--------------------------------
Reporter: Peter_Dyballa@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: tk |
------------------------------+--------------------------------
Comment (by macports@…):
Also affects Snow Leopard (10.6.8) on Intel:
{{{
ewen at bethel:~$ ewencbb
dyld: Library not loaded: /opt/local/lib:/opt/local/lib/libtk8.6.dylib
Referenced from: /opt/local/bin/wish
Reason: image not found
[...]
ewen at bethel:~$ port installed tk
The following ports are currently installed:
tk @8.5.13_0+quartz
tk @8.5.13_0+x11
tk @8.6.0_0+x11 (active)
ewen at bethel:~$
}}}
with similar three attempts at rebuilding, and advice to file this build
debug:
{{{
ewen at bethel:~$ egrep -v '/opt/local/lib/wine|/opt/local/libexec/llvm-'
/tmp/tk-failed-after-upgrade.txt
Script started on Thu Dec 27 09:04:05 2012
ewen at bethel:~$ sudo port -d -y rev-upgrade
Password:
DEBUG: skipping ppc64 in /opt/local/lib/libquartz-wm-ds.1.dylib since this
system can't run it anyway
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/bin/wineserver
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/bin/wmc
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/bin/wrc
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/wine/wine
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/ld64/ld
---> Scanning binaries for linking errors
Could not open /opt/local/lib:/opt/local/lib/libtk8.6.dylib: Error opening
or reading file (referenced from /opt/local/bin/wish8.6)
DEBUG: Marking /opt/local/bin/wish8.6 as broken
---> Found 1 broken file(s), matching files to ports
---> Found 1 broken port(s), determining rebuild order
DEBUG: Broken: tk
DEBUG: Processing port tk @0:8.6.0_0 +x11
---> Rebuilding in order
tk @8.6.0 +x11
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: tk 8.6.0_0 exists in the ports tree
DEBUG: tk 8.6.0_0 +x11 is the latest installed
DEBUG: tk 8.6.0_0 +x11 is active
DEBUG: Merging existing variants '+x11' into variants
DEBUG: new fully merged portvariants: x11 +
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/tk
DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from
/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: adding the default universal variant
DEBUG: Executing variant x11 provides x11
DEBUG: rev-upgrade override ... upgrading!
DEBUG: Not following dependencies
Skipping deactivate tk @8.6.0_0+x11 (dry run)
Skipping activate tk @8.6.0_0+x11 (dry run)
DEBUG: Rebuilding port tk finished with status 0
Warning: If this was no dry run, rev-upgrade would now run the checks
again to find unresolved and newly created problems
ewen at bethel:~$ exit
}}}
Since the affected binary (wish8.6) is provided by the affected port:
{{{
ewen at bethel:~$ port provides /opt/local/bin/wish8.6
/opt/local/bin/wish8.6 is provided by: tk
ewen at bethel:~$
}}}
rebuilding the port doesn't seem likely to help. It seems likely to be a
path override incorrectly specified somewhere. The implied dylib file
does exist:
{{{
ewen at bethel:~$ ls -l /opt/local/lib/libtk8.6.dylib
-r-xr-xr-x 1 root admin 1353936 27 Dec 09:00
/opt/local/lib/libtk8.6.dylib
ewen at bethel:~$
}}}
so the only problem seems to be the embedded path to it.
Ewen
--
Ticket URL: <https://trac.macports.org/ticket/37395#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list