MacPorts 1.8.1 has been released

Bryan Blackburn blb at macports.org
Tue Sep 29 14:25:02 PDT 2009


On Tue, Sep 29, 2009 at 04:47:54PM -0400, Ralph Pass said:
> More information:
> 
> doing a lipo -info /Libary/Tcl/macports1.0/Macports.dylib shows that
> on the system that works, the architecture is x86_64 and on the one
> that does not work, the architecture is i386.  Both cases the gcc is
> gcc-4.2.  Further the dates on the Macports.dylib file is the time of
> the sudo port selfupdate.
> 
> 
> So why did the selfupdate use architecture i386 (and I know that Snow
> Leopard now defaults to x87_64 rather than i386)?

That's definitely the question, as it shouldn't be doing that.  It shouldn't
be what you have for build_arch in macports.conf as I tried that, and
MacPorts.dylib was still x86_64 after a selfupdate.

What is the result from the following commands?

$ ls -l /usr/bin/gcc*
$ port installed "gcc*"

Also, did you run selfupdate from the shell, or where you in port's
interactive mode?

Bryan


> 
> 
> 
> Ralph Pass
> 
> Ralph Pass wrote:
> >Like several other people I have had trouble with updating to 1.8.1
> >on Snow Leopard.
> >
> >On my Mac Pro (about 19 months old), I updated to Snow Leopard and
> >then 1.8.0 and things worked.  I then did a sudo port selfupdate
> >and it worked.  A sudo port upgrade outdated also worked.
> >On a new (3 month old) Macbook Pro, I updated to Snow Leopard and
> >then 1.8.0 and things worked.  However, it failed when I did a sudo
> >port selfupdate:
> >
> >
> >
> >
> >sudo port selfupdate
> >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)
> >
> >
> >Note that for
> >uname -a     gives:
> >Darwin mars.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31
> >22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386
> >
> >sw_vers      gives:
> >ProductName:    Mac OS X
> >ProductVersion:    10.6.1
> >BuildVersion:    10B504
> >
> >So I am bit perplexed and looking for guidance.
> >
> >Thanks,
> >Ralph Pass
[...]


More information about the macports-users mailing list