Opened 13 years ago

Closed 13 years ago

#30375 closed defect (invalid)

Unable to install in Lion

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

Description (last modified by mf2k (Frank Schima))

bash-3.2# port selfupdate
--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 1.9.2 installed,
MacPorts base version 2.0.0 downloaded.
--->  MacPorts base is outdated, installing new version 2.0.0
Installing new MacPorts release in /opt/local as root:wheel; 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)
bash-3.2# 

Change History (7)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Component: portsbase
Description: modified (diff)

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

Debug output please.

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

That means run "sudo port -v selfupdate".

comment:4 Changed 13 years ago by vaidas@…

I have same error. my output:

[ 11:45:27 ] :> sudo port -v selfupdate
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
receiving file list ... done
./

sent 59 bytes  received 534284 bytes  62863.88 bytes/sec
total size is 29377413  speedup is 54.98
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/ports

Total number of ports parsed:	0 
Ports successfully parsed:	0 
Ports failed:			0 
Up-to-date ports skipped:	8206

--->  Updating MacPorts base sources using rsync
receiving file list ... done
./
deleting config.log

sent 42 bytes  received 6707 bytes  1928.29 bytes/sec
total size is 2952435  speedup is 437.46
MacPorts base version 1.9.2 installed,
MacPorts base version 2.0.0 downloaded.
--->  MacPorts base is outdated, installing new version 2.0.0
Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl

checking build system type... i386-apple-darwin11.0.0
checking host system type... i386-apple-darwin11.0.0
checking target system type... i386-apple-darwin11.0.0
checking MacPorts version... 2.0.0
checking for sw_vers... /usr/bin/sw_vers
checking for defaults... /usr/bin/defaults
checking for xcode-select... no
checking Mac OS X version... 10.7
checking Xcode version... 4.0.2
checking for gcc... /usr/bin/llvm-gcc-4.2
checking whether the C compiler works... no
configure: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/base':
configure: error: C compiler cannot create executables
See `config.log' for more details
shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && CC=/usr/bin/llvm-gcc-4.2 ./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 77
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)

comment:5 Changed 13 years ago by vaidas@…

while executing "macports::selfupdate [array get global_options] base_updated"

comment:6 Changed 13 years ago by vaidas@…

solved. Need latest xcode version (I made update)

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

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.