Opened 10 years ago

Closed 10 years ago

Last modified 5 years ago

#41668 closed defect (invalid)

port -v selfupdate not work.

Reported by: jam.with.ju2@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.2.1
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port:

Description

sent 30349 bytes  received 1233372 bytes  101097.68 bytes/sec
total size is 39043433  speedup is 30.90
receiving file list ... done
PortIndex

sent 19186 bytes  received 332001 bytes  100339.14 bytes/sec
total size is 10092621  speedup is 28.74
--->  MacPorts base is outdated, installing new version 2.2.1
Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl

checking build system type... i386-apple-darwin13.0.0
checking host system type... i386-apple-darwin13.0.0
checking target system type... i386-apple-darwin13.0.0
checking MacPorts version... 2.2.1
checking for sw_vers... /usr/bin/sw_vers
checking for defaults... /usr/bin/defaults
checking for xcode-select... /usr/bin/xcode-select
checking Mac OS X version... 10.9
checking Xcode location... /Applications/Xcode.app/Contents/Developer
checking Xcode version... 5.0.2
checking for gcc... /usr/bin/cc
checking whether the C compiler works... no
configure: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base':
configure: error: C compiler cannot create executables
See `config.log' for more details
Command failed: cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base && CC=/usr/bin/cc OBJC=/usr/bin/cc ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline && make SELFUPDATING=1 && make install SELFUPDATING=1
Exit code: 77
Error: Error installing new MacPorts base: command execution failed
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed

I attach "config.log".

Please see log file.

Attachments (1)

config.log (10.0 KB) - added by jam.with.ju2@… 10 years ago.

Download all attachments as: .zip

Change History (9)

Changed 10 years ago by jam.with.ju2@…

Attachment: config.log added

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Resolution: worksforme
Status: newclosed

Please install Xcode from the App Store and the Command Line Tools using xcode-select --install. See http://www.macports.org/install.php, Quickstart, step 1.

Trac is not for tech support. If you continue to have problems, mail to the macports-users mailing list (http://www.macports.org/contact.php).

comment:2 Changed 10 years ago by neverpanic (Clemens Lang)

Component: portsbase

comment:3 Changed 10 years ago by neverpanic (Clemens Lang)

Oh, and:

You have not agreed to the Xcode license agreements, please run 'xcodebuild -license' (for user-level acceptance) or 'sudo xcodebuild -license' (for system-wide acceptance) from within a Terminal window to review and agree to the Xcode license agreements.

comment:4 in reply to:  3 ; Changed 10 years ago by jam.with.ju2@…

Replying to cal@…:

Oh, and:

You have not agreed to the Xcode license agreements, please run 'xcodebuild -license' (for user-level acceptance) or 'sudo xcodebuild -license' (for system-wide acceptance) from within a Terminal window to review and agree to the Xcode license agreements.

Thanks!!

I done "port -v selfupdate".

Congratulations, you have successfully upgraded the MacPorts system.


The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated

but, I have new problem.

I do "port upgrade outdated", and error.

sh-3.2# port upgrade outdated
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
error getting working directory name: no such file or directory
    while executing
"pwd"
    invoked from within
"set current_portdir [pwd]"
    (file "/opt/local/bin/port" line 4849)

comment:5 Changed 10 years ago by jam.with.ju2@…

Resolution: worksforme
Status: closedreopened

comment:6 Changed 10 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: reopenedclosed

Trac is not for tech support. Please use the Macports users mailing list instead if you are still having problems.

You need to open a new Terminal window.

comment:7 in reply to:  4 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Replying to jam.with.ju2@…:

I do "port upgrade outdated", and error.

sh-3.2# port upgrade outdated
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
error getting working directory name: no such file or directory
    while executing
"pwd"
    invoked from within
"set current_portdir [pwd]"
    (file "/opt/local/bin/port" line 4849)

For reference, that looks like #40035.

comment:8 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added
Note: See TracTickets for help on using tickets.