[MacPorts] #39377: selfupdate doesn't work

MacPorts noreply at macports.org
Fri Jun 7 09:01:22 PDT 2013


#39377: selfupdate doesn't work
-------------------------+--------------------------------
  Reporter:  waidmann@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.0.3
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------------------
Changes (by larryv@…):

 * keywords:  selfupdate, Foundation =>
 * type:  update => defect
 * component:  ports => base


Old description:

> Hi,
> I currently still have mac ports 2.0.3 since the selfupdate doesn't work.
> The target version would be 2.1.3
>
> The last lines after a
>
> sudo ports -d selfupdate
>
> command are
>
> ...
> checking for GNU Objective C runtime... no
> configure: Using Apple Objective-C runtime
> checking for Apple Foundation library... no
> configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your
> environment, preventing the use of GNUstep's Foundation library
> configure: error: Could not find a working Foundation implementation
> shell command "cd
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/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 SELFUPDATING=1" returned error 1
> 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)
>
> However,
>
> /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h
>
> is available and
>
> GNUSTEP_SYSTEM_ROOT
>
> is set to
>
> /System
>
> Also
>
> /Library/Tcl/macports1.0
> /usr/bin/cc
> and
> /opt/local   (als well as  /opt/local/bin/port)
>
> are available. So I don't know where the problem might be.
> Any ideas ?
>
> Thanks a lot.

New description:

 Hi,\\
 I currently still have mac ports 2.0.3 since the selfupdate doesn't work.
 The target version would be 2.1.3

 The last lines after a

 sudo port -d selfupdate

 command are

 {{{
 ...
 checking for GNU Objective C runtime... no
 configure: Using Apple Objective-C runtime
 checking for Apple Foundation library... no
 configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your
 environment, preventing the use of GNUstep's Foundation library
 configure: error: Could not find a working Foundation implementation
 shell command "cd
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/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 SELFUPDATING=1" returned error 1
 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)
 }}}

 However,

 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h

 is available and

 GNUSTEP_SYSTEM_ROOT

 is set to

 /System

 Also

 /Library/Tcl/macports1.0\\
 /usr/bin/cc\\
 and\\
 /opt/local   (als well as  /opt/local/bin/port)

 are available. So I don't know where the problem might be.\\
 Any ideas ?

 Thanks a lot.

--

Comment:

 Thanks for the ticket. In the future, please use [[WikiFormatting]] in
 your ticket description.

 You should not have to set GNUSTEP_SYSTEM_ROOT. And your Xcode GCC
 (`/usr/bin/gcc`) should not be 4.5.3.

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

-- 
Ticket URL: <https://trac.macports.org/ticket/39377#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list