[MacPorts] #46878: Error with the update from version 2.2.1 to 2.3.3
#46878: Error with the update from version 2.2.1 to 2.3.3 --------------------------+-------------------------------- Reporter: benjii.lac@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: --------------------------+-------------------------------- I installed Macports one year ago. I need library in order to run FreeFem on my MacBook. It appears that I need to update it so I used the command sudo port selfupdate An error pops up and I didn't succeed to solve it. I precise that I'm new on computer science. I've few knowledges but not enough to understand everything yet. So I took a look in the difference tickets (for example Ticket #46193) and try the command sudo port -v selfupdate and I got this : [...] sent 64 bytes received 636 bytes 280.00 bytes/sec total size is 512 speedup is 0.73 ---> MacPorts base is outdated, installing new version 2.3.3 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl configure: WARNING: unrecognized options: --with-tclpackage checking build system type... i386-apple-darwin13.4.0 checking host system type... i386-apple-darwin13.4.0 checking target system type... i386-apple-darwin13.4.0 checking MacPorts version... 2.3.3 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.5 checking Xcode location... /Applications/Xcode.app/Contents/Developer checking Xcode version... 6.1.1 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 Have you an idea of what is going wrong? -- Ticket URL: <https://trac.macports.org/ticket/46878> MacPorts <https://www.macports.org/> Ports system for OS X
#46878: Error with the update from version 2.2.1 to 2.3.3 ---------------------------+-------------------------------- Reporter: benjii.lac@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by benjii.lac@…): {{{ [...] sent 64 bytes received 636 bytes 280.00 bytes/sec total size is 512 speedup is 0.73 ---> MacPorts base is outdated, installing new version 2.3.3 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl configure: WARNING: unrecognized options: --with-tclpackage checking build system type... i386-apple-darwin13.4.0 checking host system type... i386-apple-darwin13.4.0 checking target system type... i386-apple-darwin13.4.0 checking MacPorts version... 2.3.3 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.5 checking Xcode location... /Applications/Xcode.app/Contents/Developer checking Xcode version... 6.1.1 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/46878#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46878: Error with the update from version 2.2.1 to 2.3.3 ---------------------------+-------------------------------- Reporter: benjii.lac@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Changes (by ryandesign@…): * component: ports => base Old description:
I installed Macports one year ago. I need library in order to run FreeFem on my MacBook.
It appears that I need to update it so I used the command sudo port selfupdate An error pops up and I didn't succeed to solve it. I precise that I'm new on computer science. I've few knowledges but not enough to understand everything yet.
So I took a look in the difference tickets (for example Ticket #46193) and try the command sudo port -v selfupdate and I got this :
[...] sent 64 bytes received 636 bytes 280.00 bytes/sec total size is 512 speedup is 0.73 ---> MacPorts base is outdated, installing new version 2.3.3 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl
configure: WARNING: unrecognized options: --with-tclpackage checking build system type... i386-apple-darwin13.4.0 checking host system type... i386-apple-darwin13.4.0 checking target system type... i386-apple-darwin13.4.0 checking MacPorts version... 2.3.3 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.5 checking Xcode location... /Applications/Xcode.app/Contents/Developer checking Xcode version... 6.1.1 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
Have you an idea of what is going wrong?
New description: I installed Macports one year ago. I need library in order to run FreeFem on my MacBook. It appears that I need to update it so I used the command sudo port selfupdate An error pops up and I didn't succeed to solve it. I precise that I'm new on computer science. I've few knowledges but not enough to understand everything yet. So I took a look in the difference tickets (for example Ticket #46193) and try the command `sudo port -v selfupdate` and I got this : {{{ [...] sent 64 bytes received 636 bytes 280.00 bytes/sec total size is 512 speedup is 0.73 ---> MacPorts base is outdated, installing new version 2.3.3 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl configure: WARNING: unrecognized options: --with-tclpackage checking build system type... i386-apple-darwin13.4.0 checking host system type... i386-apple-darwin13.4.0 checking target system type... i386-apple-darwin13.4.0 checking MacPorts version... 2.3.3 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.5 checking Xcode location... /Applications/Xcode.app/Contents/Developer checking Xcode version... 6.1.1 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 }}} Have you an idea of what is going wrong? -- Comment: It sounds like you have not installed the Xcode command line tools. -- Ticket URL: <https://trac.macports.org/ticket/46878#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46878: Error with the update from version 2.2.1 to 2.3.3 ---------------------------+-------------------------------- Reporter: benjii.lac@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by benjii.lac@…): Replying to [comment:2 ryandesign@…]:
It sounds like you have not installed the Xcode command line tools.
I've install on January, 29 2015 the version 6.1 via App Store of Command Line Tools (OS X 10.9). I'm still running OS X Maverick. Do I have to install another plug in for Xcode? -- Ticket URL: <https://trac.macports.org/ticket/46878#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46878: Error with the update from version 2.2.1 to 2.3.3 ---------------------------+-------------------------------- Reporter: benjii.lac@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by cal@…): Please attach `/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/config.log`. -- Ticket URL: <https://trac.macports.org/ticket/46878#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46878: Error with the update from version 2.2.1 to 2.3.3 ---------------------------+-------------------------------- Reporter: benjii.lac@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by benjii.lac@…): Replying to [comment:4 cal@…]:
Please attach `/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/config.log`.
I read this file, and I discovered that I didn't accept the agreements of xcode. So I type "sudo xcodebuild -license" and agree to them Then I type another "sudo port selfupdate" and it worked. But then an issue appears : {{{ mbp-de-benjamin:~ Benjamin$ sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.2.1 installed, MacPorts base version 2.3.3 downloaded. ---> Updating the ports tree ---> MacPorts base is outdated, installing new version 2.3.3 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated mbp-de-benjamin:~ Benjamin$ port upgrade outdated Error: Insufficient privileges to write to MacPorts install prefix. }}} How do we get privileges to write to MacPorts ? -- Ticket URL: <https://trac.macports.org/ticket/46878#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46878: Error with the update from version 2.2.1 to 2.3.3 ---------------------------+-------------------------------- Reporter: benjii.lac@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by larryv@…): Replying to [comment:5 benjii.lac@…]:
How do we get privileges to write to MacPorts ?
You need admin privileges for that too. {{{ $ sudo port upgrade outdated }}} -- Ticket URL: <https://trac.macports.org/ticket/46878#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46878: Error with the update from version 2.2.1 to 2.3.3 ---------------------------+-------------------------------- Reporter: benjii.lac@… | Owner: macports-tickets@… Type: update | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: invalid | Keywords: Port: | ---------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/46878#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts