Opened 11 years ago

Last modified 10 years ago

#39377 closed defect

selfupdate doesn't work — at Version 2

Reported by: waidmann@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.0.3
Keywords: Cc:
Port:

Description (last modified by larryv (Lawrence Velázquez))

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.

Change History (3)

Changed 11 years ago by waidmann@…

Attachment: config.log added

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

comment:1 Changed 11 years ago by waidmann@…

Maybe this is also interesting:

gcc 4.5.3 (x86_64-apple-darwin10)

Mac OS X 10.6.8

XCode 3.2.6 (64-bit)

---

Seems to be a similar problem to Ticket #20559

Last edited 11 years ago by waidmann@… (previous) (diff)

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Component: portsbase
Description: modified (diff)
Keywords: selfupdate Foundation removed
Type: updatedefect

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.

Note: See TracTickets for help on using tickets.