[MacPorts] #41668: port -v selfupdate not work.
#41668: port -v selfupdate not work. ----------------------------+-------------------------------- Reporter: jam.with.ju2@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ----------------------------+-------------------------------- {{{ 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. -- Ticket URL: <https://trac.macports.org/ticket/41668> MacPorts <http://www.macports.org/> Ports system for OS X
#41668: port -v selfupdate not work. -----------------------------+-------------------------------- Reporter: jam.with.ju2@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: Port: | -----------------------------+-------------------------------- Changes (by cal@…): * status: new => closed * resolution: => worksforme Comment: 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). -- Ticket URL: <https://trac.macports.org/ticket/41668#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41668: port -v selfupdate not work. -----------------------------+-------------------------------- Reporter: jam.with.ju2@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: worksforme | Keywords: Port: | -----------------------------+-------------------------------- Changes (by cal@…): * component: ports => base -- Ticket URL: <https://trac.macports.org/ticket/41668#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41668: port -v selfupdate not work. -----------------------------+-------------------------------- Reporter: jam.with.ju2@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: worksforme | Keywords: Port: | -----------------------------+-------------------------------- Comment (by 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. }}} -- Ticket URL: <https://trac.macports.org/ticket/41668#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41668: port -v selfupdate not work. -----------------------------+-------------------------------- Reporter: jam.with.ju2@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: worksforme | Keywords: Port: | -----------------------------+-------------------------------- Comment (by jam.with.ju2@…): Replying to [comment:3 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) }}} -- Ticket URL: <https://trac.macports.org/ticket/41668#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41668: port -v selfupdate not work. -----------------------------+-------------------------------- Reporter: jam.with.ju2@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: Port: | -----------------------------+-------------------------------- Changes (by jam.with.ju2@…): * status: closed => reopened * resolution: worksforme => -- Ticket URL: <https://trac.macports.org/ticket/41668#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41668: port -v selfupdate not work. -----------------------------+-------------------------------- Reporter: jam.with.ju2@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: invalid | Keywords: Port: | -----------------------------+-------------------------------- Changes (by macsforever2000@…): * status: reopened => closed * resolution: => invalid Comment: Trac is not for tech support. Please use the [https://lists.macosforge.org/mailman/listinfo/macports-users Macports users mailing list] instead if you are still having problems. You need to open a new Terminal window. -- Ticket URL: <https://trac.macports.org/ticket/41668#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts