Help please

Ryan Schmidt ryandesign at macports.org
Sun Feb 19 12:41:27 PST 2012


On Feb 19, 2012, at 06:21, James Linder wrote:

> On 19/02/2012, at 4:34 PM, Ryan Schmidt wrote:
> 
>> On Feb 18, 2012, at 23:06, James Linder wrote:
>> 
>>> On 19/02/2012, at 10:22 AM, Ryan Schmidt wrote:
>>> 
>>>> On Feb 18, 2012, at 19:49, James Linder wrote:
>>>> 
>>>>> sh-3.2# port install libgnome
>>>>> Error: Unable to open port: couldn't read file "/opt/local/share/macports/Tcl/port1.0/portmirror.tcl": no such file or directory
>>>> 
>>>> Please clean ("sudo port clean libgnome") and try again, using the debug flag ("sudo port -d install libgnome") so we can get more information.
>>>> 
>>>> The error "couldn't read file "/opt/local/share/macports/Tcl/port1.0/portmirror.tcl": no such file or directory" is spurious and can be ignored. There should be a different, real error elsewhere in the debug output that we can act upon.
>>> 
>>> 
>>> Sorry!
>>> 
>>> sh-3.2# port -d install libgnome
>>> DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/gnome/libgnome
>>> DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386
>>> DEBUG: couldn't read file "/opt/local/share/macports/Tcl/port1.0/portmirror.tcl": no such file or directory
>> 
>> Ok, I take it back; the error message is real. And /opt/local/share/macports/Tcl/port1.0/portmirror.tcl should exist. If it does not, reinstall MacPorts. This will not affect the ports you've installed.
> 
> OK totally lost, so please suggest this or that.
> I knowingly and willfully did nothing other than allow firefox to upgrade, but clearly there is trouble here:

Yes, at least one of the files which comprises MacPorts base appears to be missing. I can't explain why that would be, but it doesn't matter much either; just replace them by reinstalling MacPorts.

> I can format and reinstall *everything* if need be ....

I don't see any evidence yet that would suggest that would be necessary.


> I re-installed macports from the dmg and got errors.

This should have worked, so please elaborate on the problems you experienced.

> I moved /opt/local to /opt/oldlocal and reinstalled.

Using the dmg again? And now it succeeded?

> Errors again:
> 
> haycorn:~ # port selfupdate
> --->  Updating the ports tree
> --->  Updating MacPorts base sources using rsync
> MacPorts base version 2.0.0 installed,
> MacPorts base version 2.0.3 downloaded.
> --->  MacPorts base is outdated, installing new version 2.0.3
> Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl
> 
> Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)
> 
> I looked for 'error' in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/config.log
> 
> and got this mess:
> haycorn:~ # grep error /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/config.log 
> Configured with: /var/tmp/llvmgcc42/llvmgcc42-2335.9~9/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/var/tmp/llvmgcc42/llvmgcc42-2335.9~9/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1
> Configured with: /var/tmp/gcc/gcc-5666.3~123/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
> conftest.m:12:28: error: ac_nonexistent.h: No such file or directory
> conftest.m:12:28: error: ac_nonexistent.h: No such file or directory
> /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:33:31: error: CarbonCore/Finder.h: No such file or directory

I'm a bit unclear why MacPorts base would have any need for any part of Carbon. Can you "sudo port -d selfupdate" and show us the output?





More information about the macports-users mailing list