[MacPorts] #31338: Error updating to 2.0.3 on Lion

MacPorts noreply at macports.org
Tue Sep 20 03:58:22 PDT 2011


#31338: Error updating to 2.0.3 on Lion
------------------------------------+---------------------------------------
 Reporter:  numan.salati@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  base                    |     Version:  2.0.3                                
 Keywords:                          |        Port:                                       
------------------------------------+---------------------------------------
Changes (by cal@…):

  * priority:  High => Normal


Old description:

> I am getting an error when running selfupdate.
>
> I am not sure where the log file is located but here is an excerpt of the
> output that looks relevant.
>

> {{{
> 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/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/cc ./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
>
> }}}
>
> Full output of "sudo port -d selfupdate" below.
>
> --->  Updating the ports tree
> DEBUG: Synchronizing ports tree(s)
> Synchronizing local ports tree from
> rsync://rsync.macports.org/release/ports/
> DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*'
> rsync://rsync.macports.org/release/ports/
> /opt/local/var/macports/sources/rsync.macports.org/release/ports
> receiving file list ... done
> ./
>
> sent 59 bytes  received 540197 bytes  12711.91 bytes/sec
> total size is 30133762  speedup is 55.78
> 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:       12268
>
> DEBUG: MacPorts sources location:
> /opt/local/var/macports/sources/rsync.macports.org/release/base
> --->  Updating MacPorts base sources using rsync
> receiving file list ... done
> ./
> deleting config.log
>
> sent 42 bytes  received 6819 bytes  807.18 bytes/sec
> total size is 2966591  speedup is 432.38
> MacPorts base version 2.0.1 installed,
> DEBUG: Rebuilding and reinstalling MacPorts if needed
> MacPorts base version 2.0.3 downloaded.
> --->  MacPorts base is outdated, installing new version 2.0.3
> DEBUG: Permissions OK
> Installing new MacPorts release in /opt/local as root:admin; permissions
> 0755; Tcl-Package in /Library/Tcl
>
> checking build system type... i386-apple-darwin11.1.0
> checking host system type... i386-apple-darwin11.1.0
> checking target system type... i386-apple-darwin11.1.0
> checking MacPorts version... 2.0.3
> 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.1
> checking Xcode version... 3.2.1
> '''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/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/cc ./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'''
> DEBUG: Error installing new MacPorts base: shell command failed (see log
> for details)
>     while executing
> "macports::selfupdate [array get global_options] base_updated"
> Error: /opt/local/bin/port: port selfupdate failed: Error installing new
> MacPorts base: shell command failed (see log for details)

New description:

 I am getting an error when running selfupdate.

 I am not sure where the log file is located but here is an excerpt of the
 output that looks relevant.


 {{{
 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/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/cc ./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
 }}}

 Full output of "sudo port -d selfupdate" below.

 {{{
 --->  Updating the ports tree
 DEBUG: Synchronizing ports tree(s)
 Synchronizing local ports tree from
 rsync://rsync.macports.org/release/ports/
 DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*'
 rsync://rsync.macports.org/release/ports/
 /opt/local/var/macports/sources/rsync.macports.org/release/ports
 receiving file list ... done
 ./

 sent 59 bytes  received 540197 bytes  12711.91 bytes/sec
 total size is 30133762  speedup is 55.78
 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:       12268

 DEBUG: MacPorts sources location:
 /opt/local/var/macports/sources/rsync.macports.org/release/base
 --->  Updating MacPorts base sources using rsync
 receiving file list ... done
 ./
 deleting config.log

 sent 42 bytes  received 6819 bytes  807.18 bytes/sec
 total size is 2966591  speedup is 432.38
 MacPorts base version 2.0.1 installed,
 DEBUG: Rebuilding and reinstalling MacPorts if needed
 MacPorts base version 2.0.3 downloaded.
 --->  MacPorts base is outdated, installing new version 2.0.3
 DEBUG: Permissions OK
 Installing new MacPorts release in /opt/local as root:admin; permissions
 0755; Tcl-Package in /Library/Tcl

 checking build system type... i386-apple-darwin11.1.0
 checking host system type... i386-apple-darwin11.1.0
 checking target system type... i386-apple-darwin11.1.0
 checking MacPorts version... 2.0.3
 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.1
 checking Xcode version... 3.2.1
 '''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/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/cc ./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'''
 DEBUG: Error installing new MacPorts base: shell command failed (see log
 for details)
     while executing
 "macports::selfupdate [array get global_options] base_updated"
 Error: /opt/local/bin/port: port selfupdate failed: Error installing new
 MacPorts base: shell command failed (see log for details)
 }}}

--

Comment:

 Please use WikiFormatting where appropriate (especially for console
 output). As per the ticket guidelines prominently linked from the new
 ticket page, priority high is reserved for MacPorts developers.

 Please attach
 /opt/local/var/macports/sources/rsync.macports.org/release/base/config.log

-- 
Ticket URL: <https://trac.macports.org/ticket/31338#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list