selfupdate failed: Error installing new MacPorts base

Chris Leonello cleonello at yahoo.com
Fri Jan 9 17:18:27 PST 2009


Hi,

When trying to update from 1.6 to 1.7 doing a "sudo port -d selfupdate", I
get the following error:

===> making all in src/tclobjc1.0
gcc -c -DUSE_TCL_STUBS -g -O2  -g -Os -DHAVE_CONFIG_H -I.. -I. 
-I"/usr/include"  -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1
-DTCL_DEFAULT_ENCODING=\"utf-8\" -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1
-DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1
-DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1
-DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1
-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -include tclArch.h  -UPACKAGE_NAME
-UPACKAGE_TARNAME -UPACKAGE_VERSION -UPACKAGE_STRING -UPACKAGE_BUGREPORT
-fno-common tclobjc.m -o tclobjc.o
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/NSAffineTransform.h:5,
                 from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:13,
                 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:122:
error: expected ';' before '__attribute__'
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:7,
                 from
/System/Library/Frameworks/Foundation.framework/Headers/NSAffineTransform.h:6,
                 from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:13,
                 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:79: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:87: error:
expected ';' before '__attribute__'
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:15,
                 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:62: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:66: error:
expected ';' before '__attribute__'
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:5,
                 from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:16,
                 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:345:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:346:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:347:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:348:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:349:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:350:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:352:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:353:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:355:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:356:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:357:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:358:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:360:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:361:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:362:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:363:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:364:
error: expected ';' before '__attribute__'
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:6,
                 from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:16,
                 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:45:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:50:
error: expected ';' before '__attribute__'
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h:5,
                 from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:43,
                 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:59:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:59:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSUInteger'
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:60:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:60:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'BOOL'
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:61:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:61:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSUInteger'
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:62:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:62:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSString'
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:65:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:65:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:66:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:66:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:69:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:69:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'BOOL'
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:70:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:70:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'BOOL'
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:9,
                 from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:49,
                 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:45: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:50: error:
expected ';' before '__attribute__'
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:76,
                 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h:44:
error: expected ';' before '__attribute__'
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:6,
                 from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:88,
                 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:52:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:53:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:54:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:55:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:56:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:67:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:68:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:70:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:71:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:73:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:74:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:76:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:77:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:79:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:80:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:83:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:86:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:89:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:90:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:93:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:94:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:95:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:97:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:98:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:99:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:100:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:102:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:103:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:104:
error: expected ';' before '__attribute__'
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:88,
                 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:75: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:76: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:77: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:78: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:83: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:84: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:85: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:88: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:89: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:91: error:
expected ';' before '__attribute__'
make[2]: *** [tclobjc.o] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
DEBUG: Error installing new MacPorts base: shell command "cd
/opt/local/var/macports/sources/rsync.macports.org/release/base &&
./configure --prefix=/opt/local --with-install-user=root
--with-install-group=admin --with-tclpackage=/Library/Tcl && make && make
install" returned error 2
Command output:
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:80:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:83:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:86:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:89:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:90:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:93:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:94:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:95:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:97:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:98:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:99:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:100:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:102:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:103:
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:104:
error: expected ';' before '__attribute__'
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:88,
                 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:75: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:76: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:77: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:78: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:83: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:84: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:85: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:88: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:89: error:
expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:91: error:
expected ';' before '__attribute__'
make[2]: *** [tclobjc.o] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1

I'm on a MacBook Pro with 10.5.6 and XCode 3.1.1 installed.  I have up to
date macports versions of tcl and gcc installed.

Any Ideas???
-- 
View this message in context: http://www.nabble.com/selfupdate-failed%3A-Error-installing-new-MacPorts-base-tp21378412p21378412.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.



More information about the macports-users mailing list