Opened 13 years ago

Closed 13 years ago

#27197 closed defect (invalid)

Mac Port selfupdate failed

Reported by: ajcblyth@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.9.2
Keywords: Cc:
Port:

Description (last modified by jmroot (Joshua Root))

sh-3.2# port selfupdate 
--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 1.8.2 installed,
MacPorts base version 1.9.2 downloaded.
--->  MacPorts base is outdated, installing new version 1.9.2
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 "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline && make && make install" returned error 2
sh-3.2# 

Attachments (2)

portbasefail (6.0 KB) - added by spe@… 13 years ago.
output from "sudo port -d selfupdate"
basefail_config.log (58.1 KB) - added by spe@… 13 years ago.
config.log files from failed selfupdate 1.9.2

Download all attachments as: .zip

Change History (10)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Component: portsbase
Description: modified (diff)

Please remember to select the correct component. We'll need to see debug output.

Changed 13 years ago by spe@…

Attachment: portbasefail added

output from "sudo port -d selfupdate"

comment:2 Changed 13 years ago by spe@…

I have the same problem with selfupdate today with 1.9.1 and I've attached debug output to this ticket. (Meta-error: attaching output to someone else's ticket does not update the last-modified timestamp of a ticket.)

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Well we have no evidence that it is in fact the same problem without seeing the original reporter's debug output, but OK, we can deal with both here. The config.log in the base directory will have the exact reason why configure decided it couldn't continue, but it looks like you're missing some OS and/or Xcode components.

Changed 13 years ago by spe@…

Attachment: basefail_config.log added

config.log files from failed selfupdate 1.9.2

comment:4 Changed 13 years ago by spe@…

My system is an Intel Mac running 10.6.4 and is current according to "Software Update".

I've attached the "config.log" file for "base" to this ticket.

comment:5 Changed 13 years ago by jmroot (Joshua Root)

You appear to be missing /usr/bin/gcc, and configure ends up finding a copy of gcc 4.5 in /usr/local. This then fails to compile a Foundation test program.

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

So, to fix that, please reinstall Xcode (current version for Snow Leopard is 3.2.4), and remove everything in /usr/local since having things installed there can cause unexpected surprises.

comment:7 in reply to:  6 Changed 13 years ago by spe@…

Replying to ryandesign@…:

[...] remove everything in /usr/local since having things installed there can cause unexpected surprises.

Okay, sorry, that's not going to happen.

I thought trouble would occur if one forced MacPorts to install things in /usr/local, not if /usr/local was simply not empty. Time for me to re-read the docs.

Good luck with 1.9.2

comment:8 Changed 13 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

Closing. Original reporter, you can reopen if you provide debug output.

Note: See TracTickets for help on using tickets.