[MacPorts] #44517: sudo port -v selfupdate failed for 2.2.1 -> 2.3.1 on 10.6.8

MacPorts noreply at macports.org
Thu Jul 31 16:23:03 PDT 2014


#44517: sudo port -v selfupdate failed for 2.2.1 -> 2.3.1 on 10.6.8
----------------------------------------+--------------------------------
  Reporter:  lars.sonchocky-helldorf@…  |      Owner:  macports-tickets@…
      Type:  defect                     |     Status:  new
  Priority:  Normal                     |  Milestone:
 Component:  base                       |    Version:  2.3.1
Resolution:                             |   Keywords:
      Port:                             |
----------------------------------------+--------------------------------
Changes (by ryandesign@…):

 * keywords:  selfupdate =>
 * port:  selfupdate =>


Old description:

> MBP15:~ lars$ sudo port -v selfupdate
> --->  Updating MacPorts base sources using rsync
> receiving file list ... done
>
> sent 36 bytes  received 69 bytes  42.00 bytes/sec
> total size is 27002880  speedup is 257170.29
> receiving file list ... done
>
> sent 36 bytes  received 76 bytes  44.80 bytes/sec
> total size is 512  speedup is 4.57
> MacPorts base version 2.2.1 installed,
> MacPorts base version 2.3.1 downloaded.
> --->  Updating the ports tree
> Synchronizing local ports tree from
> rsync://rsync.macports.org/release/tarballs/ports.tar
> receiving file list ... done
>
> sent 36 bytes  received 70 bytes  70.67 bytes/sec
> total size is 61562880  speedup is 580781.89
> receiving file list ... done
>
> sent 36 bytes  received 77 bytes  45.20 bytes/sec
> total size is 512  speedup is 4.53
> receiving file list ... done
>
> sent 36 bytes  received 70 bytes  70.67 bytes/sec
> total size is 10993969  speedup is 103716.69
> receiving file list ... done
>
> sent 36 bytes  received 77 bytes  45.20 bytes/sec
> total size is 512  speedup is 4.53
> --->  MacPorts base is outdated, installing new version 2.3.1
> 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... x86_64-apple-darwin10.8.0
> checking host system type... x86_64-apple-darwin10.8.0
> checking target system type... x86_64-apple-darwin10.8.0
> checking MacPorts version... 2.3.1
> 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.6.8
> checking Xcode location... /Developer
> checking Xcode version... 3.2.6
> checking whether the C compiler works... yes
> .
> .
> .
>
> /usr/bin/cc -c -Os -pipe    -Wall -fno-common -I"."
> -I/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix
> -I/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../generic
> -I/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../libtommath
> -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\"
> -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\"
> -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1
> -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
> -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
> -DHAVE_PTHREAD_GET_STACKSIZE_NP=1 -DTCL_THREADS=1
> -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DMODULE_SCOPE=extern\
> __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1
> -DHAVE_COREFOUNDATION=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".dylib\"
> -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4
> -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1
> -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1
> -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1
> -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1
> -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1
> -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
> -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1
> -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1
> -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1
> -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1
> -DHAVE_CHFLAGS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1
> -DHAVE_COPYFILE=1 -DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1
> -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1
> -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1
> -D_DARWIN_C_SOURCE=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
> -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:
> In function ‘TclpFindSymbol’:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:386:
> warning: ‘NSLookupSymbolInImage’ is deprecated (declared at
> /usr/include/mach-o/dyld.h:182)
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:419:
> warning: ‘NSLinkEditError’ is deprecated (declared at
> /usr/include/mach-o/dyld.h:217)
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:423:
> warning: ‘NSLookupSymbolInModule’ is deprecated (declared at
> /usr/include/mach-o/dyld.h:181)
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:432:
> warning: ‘NSAddressOfSymbol’ is deprecated (declared at
> /usr/include/mach-o/dyld.h:188)
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:
> In function ‘TclpUnloadFile’:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:497:
> warning: ‘NSUnLinkModule’ is deprecated (declared at
> /usr/include/mach-o/dyld.h:169)
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:
> In function ‘TclpLoadMemory’:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:701:
> warning: ‘NSCreateObjectFileImageFromMemory’ is deprecated (declared at
> /usr/include/mach-o/dyld.h:146)
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:734:
> warning: ‘NSLinkModule’ is deprecated (declared at
> /usr/include/mach-o/dyld.h:161)
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:736:
> warning: ‘NSDestroyObjectFileImage’ is deprecated (declared at
> /usr/include/mach-o/dyld.h:147)
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:744:
> warning: ‘NSLinkEditError’ is deprecated (declared at
> /usr/include/mach-o/dyld.h:217)
> /usr/bin/cc -c -Os -pipe    -Wall -fno-common -I"."
> -I/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix
> -I/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../generic
> -I/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../libtommath
> -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\"
> -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\"
> -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1
> -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
> -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
> -DHAVE_PTHREAD_GET_STACKSIZE_NP=1 -DTCL_THREADS=1
> -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DMODULE_SCOPE=extern\
> __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1
> -DHAVE_COREFOUNDATION=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".dylib\"
> -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4
> -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1
> -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1
> -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1
> -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1
> -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1
> -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
> -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1
> -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1
> -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1
> -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1
> -DHAVE_CHFLAGS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1
> -DHAVE_COPYFILE=1 -DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1
> -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1
> -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1
> -D_DARWIN_C_SOURCE=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
> -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../macosx/tclMacOSXBundle.c
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../macosx/tclMacOSXBundle.c:
> In function ‘Tcl_MacOSXOpenVersionedBundleResources’:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../macosx/tclMacOSXBundle.c:212:
> error: ‘RTLD_NEXT’ undeclared (first use in this function)
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../macosx/tclMacOSXBundle.c:212:
> error: (Each undeclared identifier is reported only once
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../macosx/tclMacOSXBundle.c:212:
> error: for each function it appears in.)
> make[2]: *** [tclMacOSXBundle.o] Error 1
> make[1]: *** [all-tcl] Error 2
> make: *** [all] Error 1
> 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: 2
> 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
> MBP15:~ lars$
>
> see attachement for full build log

New description:

 {{{
 MBP15:~ lars$ sudo port -v selfupdate
 --->  Updating MacPorts base sources using rsync
 receiving file list ... done

 sent 36 bytes  received 69 bytes  42.00 bytes/sec
 total size is 27002880  speedup is 257170.29
 receiving file list ... done

 sent 36 bytes  received 76 bytes  44.80 bytes/sec
 total size is 512  speedup is 4.57
 MacPorts base version 2.2.1 installed,
 MacPorts base version 2.3.1 downloaded.
 --->  Updating the ports tree
 Synchronizing local ports tree from
 rsync://rsync.macports.org/release/tarballs/ports.tar
 receiving file list ... done

 sent 36 bytes  received 70 bytes  70.67 bytes/sec
 total size is 61562880  speedup is 580781.89
 receiving file list ... done

 sent 36 bytes  received 77 bytes  45.20 bytes/sec
 total size is 512  speedup is 4.53
 receiving file list ... done

 sent 36 bytes  received 70 bytes  70.67 bytes/sec
 total size is 10993969  speedup is 103716.69
 receiving file list ... done

 sent 36 bytes  received 77 bytes  45.20 bytes/sec
 total size is 512  speedup is 4.53
 --->  MacPorts base is outdated, installing new version 2.3.1
 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... x86_64-apple-darwin10.8.0
 checking host system type... x86_64-apple-darwin10.8.0
 checking target system type... x86_64-apple-darwin10.8.0
 checking MacPorts version... 2.3.1
 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.6.8
 checking Xcode location... /Developer
 checking Xcode version... 3.2.6
 checking whether the C compiler works... yes
 .
 .
 .

 /usr/bin/cc -c -Os -pipe    -Wall -fno-common -I"."
 -I/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix
 -I/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../generic
 -I/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../libtommath
 -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.5\"
 -DPACKAGE_STRING=\"tcl\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1
 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
 -DHAVE_PTHREAD_GET_STACKSIZE_NP=1 -DTCL_THREADS=1
 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DMODULE_SCOPE=extern\
 __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1
 -DHAVE_COREFOUNDATION=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".dylib\"
 -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4
 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1
 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1
 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1
 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1
 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1
 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1
 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1
 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1
 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1
 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1
 -DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1 -DUSE_VFORK=1
 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1
 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1
 -D_DARWIN_C_SOURCE=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:
 In function ‘TclpFindSymbol’:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:386:
 warning: ‘NSLookupSymbolInImage’ is deprecated (declared at
 /usr/include/mach-o/dyld.h:182)
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:419:
 warning: ‘NSLinkEditError’ is deprecated (declared at
 /usr/include/mach-o/dyld.h:217)
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:423:
 warning: ‘NSLookupSymbolInModule’ is deprecated (declared at
 /usr/include/mach-o/dyld.h:181)
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:432:
 warning: ‘NSAddressOfSymbol’ is deprecated (declared at
 /usr/include/mach-o/dyld.h:188)
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:
 In function ‘TclpUnloadFile’:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:497:
 warning: ‘NSUnLinkModule’ is deprecated (declared at
 /usr/include/mach-o/dyld.h:169)
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:
 In function ‘TclpLoadMemory’:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:701:
 warning: ‘NSCreateObjectFileImageFromMemory’ is deprecated (declared at
 /usr/include/mach-o/dyld.h:146)
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:734:
 warning: ‘NSLinkModule’ is deprecated (declared at
 /usr/include/mach-o/dyld.h:161)
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:736:
 warning: ‘NSDestroyObjectFileImage’ is deprecated (declared at
 /usr/include/mach-o/dyld.h:147)
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix/tclLoadDyld.c:744:
 warning: ‘NSLinkEditError’ is deprecated (declared at
 /usr/include/mach-o/dyld.h:217)
 /usr/bin/cc -c -Os -pipe    -Wall -fno-common -I"."
 -I/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../unix
 -I/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../generic
 -I/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../libtommath
 -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.5\"
 -DPACKAGE_STRING=\"tcl\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1
 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
 -DHAVE_PTHREAD_GET_STACKSIZE_NP=1 -DTCL_THREADS=1
 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DMODULE_SCOPE=extern\
 __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1
 -DHAVE_COREFOUNDATION=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".dylib\"
 -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4
 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1
 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1
 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1
 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1
 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1
 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1
 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1
 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1
 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1
 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1
 -DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1 -DUSE_VFORK=1
 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1
 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1
 -D_DARWIN_C_SOURCE=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../macosx/tclMacOSXBundle.c
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../macosx/tclMacOSXBundle.c:
 In function ‘Tcl_MacOSXOpenVersionedBundleResources’:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../macosx/tclMacOSXBundle.c:212:
 error: ‘RTLD_NEXT’ undeclared (first use in this function)
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../macosx/tclMacOSXBundle.c:212:
 error: (Each undeclared identifier is reported only once
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix/../macosx/tclMacOSXBundle.c:212:
 error: for each function it appears in.)
 make[2]: *** [tclMacOSXBundle.o] Error 1
 make[1]: *** [all-tcl] Error 2
 make: *** [all] Error 1
 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: 2
 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
 MBP15:~ lars$
 }}}

 see attachement for full build log

--

Comment:

 The usual reason for the error "`‘RTLD_NEXT’ undeclared `" is that you
 have the file /usr/local/include/dlfcn.h. You should remove this file, and
 any other files you have in /usr/local, then try selfupdate again.

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


More information about the macports-tickets mailing list