Opened 15 years ago

Last modified 15 years ago

#21695 closed defect

1.8 selfupdate to 1.8.1 fails resulting in Tcl problems — at Version 4

Reported by: ben-macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.8.1
Keywords: selfupdate, 1.8.1 Cc:
Port:

Description (last modified by skymoo (Adam Mercer))

After reinstalling Macports 1.8.0 after migrating from Leopard to Snow Leopard. I upgraded OS X from 10.6 --> 10.6.1. On 28 September 2009, I ran "sudo port selfupdate" to upgrade from 1.8.0 to the new 1.8.1 which resulted in the following error when running port:

~ benc$ port
dlopen(/Library/Tcl/macports1.0/MacPorts.dylib, 10): no suitable image found.  Did find:
	/Library/Tcl/macports1.0/MacPorts.dylib: mach-o, but wrong architecture
    while executing
"load /Library/Tcl/macports1.0/MacPorts.dylib"
    ("package ifneeded macports 1.0" script)
    invoked from within
"package require macports"
    (file "/opt/local/bin/port" line 39)

Change History (4)

comment:1 Changed 15 years ago by blb@…

Keywords: osx macports removed

What is the result of the following?

$ lipo -info /Library/Tcl/macports1.0/MacPorts.dylib

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: ben-macports@… removed

Also

ls -l `which gcc`

comment:3 Changed 15 years ago by ben-macports@…

$ lipo -info /Library/Tcl/macports1.0/MacPorts.dylib
Non-fat file: /Library/Tcl/macports1.0/MacPorts.dylib is architecture: i386
$ ls -l `which gcc`
lrwxr-xr-x  1 root  wheel  7 Sep 15 17:12 /usr/bin/gcc -> gcc-4.2
$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)
Copyright (C) 2007 Free Software Foundation, Inc.

comment:4 Changed 15 years ago by skymoo (Adam Mercer)

Description: modified (diff)
Note: See TracTickets for help on using tickets.