xcode - Macports selfupdate fails -


i tried run sudo port selfupdate, didn't work. reinstalled port, xcode , on. still doesn't work. port upgrade outdated works properly. think has tcl, dont how solve problem.

i use osx 10.8.4, xcode 4.6.3.

here output of sudo port -d -v selfupdate

--->  updating macports base sources using rsync receiving file list ... done  sent 36 bytes  received 69 bytes  70.00 bytes/sec total size 4925440  speedup 46908.95 receiving file list ... done  sent 36 bytes  received 76 bytes  44.80 bytes/sec total size 512  speedup 4.57 macports base version 2.1.3 installed, macports base version 2.2.0 downloaded. --->  updating ports tree synchronizing local ports tree rsync://rsync.macports.org/release/tarballs/ports.tar receiving file list ... done  sent 36 bytes  received 70 bytes  42.40 bytes/sec total size 53770240  speedup 507266.42 receiving file list ... done  sent 36 bytes  received 77 bytes  45.20 bytes/sec total size 512  speedup 4.53 receiving file list ... done  sent 36 bytes  received 70 bytes  42.40 bytes/sec total size 9837455  speedup 92806.18 receiving file list ... done  sent 36 bytes  received 77 bytes  75.33 bytes/sec total size 512  speedup 4.53 --->  macports base outdated, installing new version 2.2.0 installing new macports release in /opt/local root:admin; permissions 0755; tcl-package in /library/tcl  checking build system type... x86_64-apple-darwin12.4.0 checking host system type... x86_64-apple-darwin12.4.0 checking target system type... x86_64-apple-darwin12.4.0 checking macports version... 2.2.0 checking sw_vers... /usr/bin/sw_vers checking defaults... /usr/bin/defaults checking xcode-select... /usr/bin/xcode-select checking mac os x version... 10.8.4 checking xcode location... /applications/xcode.app/contents/developer checking xcode version... 4.6.3 checking gcc... /usr/bin/cc checking whether c compiler works... yes checking c compiler default output file name... a.out checking suffix of executables...  checking whether cross compiling... no checking suffix of object files... o checking whether using gnu c compiler... yes checking whether /usr/bin/cc accepts -g... yes checking /usr/bin/cc option accept iso c89... none needed checking bsd-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(make)... yes checking gcc... gcc checking whether using gnu objective c compiler... yes checking whether gcc accepts -g... yes checking bsdmake... no checking pmake... no checking bzip2... /usr/bin/bzip2 checking bzr... no checking chown... /usr/sbin/chown checking cp... /bin/cp checking cpio... /usr/bin/cpio checking cvs... /usr/bin/cvs checking diff... /usr/bin/diff checking dscl... /usr/bin/dscl checking dseditgroup... /usr/sbin/dseditgroup checking file... /usr/bin/file checking find... /usr/bin/find checking git... /usr/bin/git checking gnumake... /usr/bin/gnumake checking gnupatch... no checking gpatch... no checking gnutar... /usr/bin/gnutar checking gzip... /usr/bin/gzip checking hdiutil... /usr/bin/hdiutil checking hg... no checking launchctl... /bin/launchctl checking lipo... /usr/bin/lipo checking lsbom... /usr/bin/lsbom checking lzma... no checking make... /usr/bin/make checking mdfind... /usr/bin/mdfind checking mdls... /usr/bin/mdls checking mkbom... /usr/bin/mkbom checking mtree... /usr/sbin/mtree checking open... /usr/bin/open checking openssl... /usr/bin/openssl checking patch... /usr/bin/patch checking pax... /bin/pax checking rmdir... /bin/rmdir checking rsync... /usr/bin/rsync checking sandbox-exec... /usr/bin/sandbox-exec checking sed... /usr/bin/sed checking svn... /usr/bin/svn checking swig... /usr/local/bin/swig checking tar... /usr/bin/tar checking unzip... /usr/bin/unzip checking xar... /usr/bin/xar checking xcodebuild... /usr/bin/xcodebuild checking xcrun... /usr/bin/xcrun checking xz... no checking zip... /usr/bin/zip checking launchd... yes checking sed... (cached) /usr/bin/sed checking sed flag use extended regexp... -e (bsd) checking tar... (cached) /usr/bin/tar checking whether tar supports -q... yes (bsdtar) checking tar... (cached) /usr/bin/tar checking gnutar... (cached) /usr/bin/gnutar checking tar variant use... /usr/bin/gnutar checking /usr/bin/gnutar --no-same-owner support... yes checking patch... (cached) /usr/bin/patch checking gpatch... no checking gnu (fsf) patch... /usr/bin/patch checking how mark unused variables...  checking gcc symbol visibility attribute... __attribute__((visibility("hidden"))) checking pthreads library -lpthreads... no checking whether pthreads work without flags... yes checking joinable pthread attribute... pthread_create_joinable checking if more special flags required pthreads... -d_thread_safe checking how run objective c preprocessor... gcc -e checking grep handles long lines , -e... /usr/bin/grep checking egrep... /usr/bin/grep -e checking ansi c header files... yes checking sys/types.h... yes checking sys/stat.h... yes checking stdlib.h... yes checking string.h... yes checking memory.h... yes checking strings.h... yes checking inttypes.h... yes checking stdint.h... yes checking unistd.h... yes checking objc/objc.h usability... yes checking objc/objc.h presence... yes checking objc/objc.h... yes checking if linking libobjc requires pthreads... no checking apple objective-c runtime... yes checking gnu objective c runtime... no configure: using apple objective-c runtime checking apple foundation library... yes configure: warning: gnustep_system_root not defined in environment, preventing use of gnustep's foundation library configure: using apple foundation library checking corefoundation framework... yes checking systemconfiguration framework... yes checking iokit framework... yes checking cfnotificationcentergetdarwinnotifycenter... yes checking whether build daemondo... yes checking ports tree... /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports checking macports config directory... ${sysconfdir}/macports checking install user... root checking install group... admin checking macports user... macports checking permissions use installation directories... 0755 checking applications installation directory... /applications/macports checking frameworks installation directory... /opt/local/library/frameworks checking universal cpu architectures... x86_64 i386 checking how run c preprocessor... /usr/bin/cc -e checking ansi c header files... (cached) yes checking dirent.h defines dir... yes checking library containing opendir... none required checking sys/wait.h posix.1 compatible... yes checking limits.h usability... yes checking limits.h presence... yes checking limits.h... yes checking paths.h usability... yes checking paths.h presence... yes checking paths.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking sys/file.h... yes checking crt_externs.h usability... yes checking crt_externs.h presence... yes checking crt_externs.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking sys/fcntl.h... yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking sys/cdefs.h... yes checking err.h usability... yes checking err.h presence... yes checking err.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking sys/socket.h... yes checking sys/sysctl.h usability... yes checking sys/sysctl.h presence... yes checking sys/sysctl.h... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking readline/history.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking pwd.h... yes checking sys/paths.h usability... yes checking sys/paths.h presence... yes checking sys/paths.h... yes checking utime.h usability... yes checking utime.h presence... yes checking utime.h... yes checking bzero... yes checking memset... yes checking fgetln... yes checking lockf... yes checking flock... yes checking setmode... yes checking strcasecmp... yes checking strncasecmp... yes checking strlcpy... yes checking copyfile... yes checking clearenv... no checking sysctlbyname... yes checking if readlink conforms posix 1003.1a... yes checking commoncrypto/commondigest.h usability... yes checking commoncrypto/commondigest.h presence... yes checking commoncrypto/commondigest.h... yes checking readline in -lreadline... yes checking whether rl_username_completion_function declared... no checking whether rl_filename_completion_function declared... yes checking whether rl_completion_matches declared... yes checking whether username_completion_function declared... yes checking whether filename_completion_function declared... yes checking whether completion_matches declared... yes checking tcl configuration... found /usr/lib/tclconfig.sh checking existence of /usr/lib/tclconfig.sh... loading checking tcl public headers... /usr/include checking tclsh... /usr/bin/tclsh checking tcl package directory... /library/tcl checking whether tclsh compiled threads... yes checking curl-config... /usr/bin/curl-config checking sqlite3.h usability... yes checking sqlite3.h presence... yes checking sqlite3.h... yes checking sqlite3ext.h usability... yes checking sqlite3ext.h presence... yes checking sqlite3ext.h... yes checking tcl sqlite3 location... /usr/lib/sqlite3 checking sqlite >= 3003011... yes checking tcl thread package... no patching file src/thread2.6/makefile.in patching file src/thread2.6/configure patching file src/thread2.6/lib/ttrace.tcl patching file src/thread2.6/generic/threadpoolcmd.c hunk #1 succeeded @ 1693 (offset -17 lines). checking how build libraries... shared checking existing macports install can upgraded... yes configure: creating ./config.status config.status: creating src/programs/daemondo/makefile config.status: creating doxyfile config.status: creating makefile config.status: creating mk/macports.autoconf.mk config.status: creating doc/base.mtree config.status: creating doc/prefix.mtree config.status: creating doc/macosx.mtree config.status: creating doc/macports.conf config.status: creating doc/pubkeys.conf config.status: creating portmgr/freebsd/makefile config.status: creating src/makefile config.status: creating src/machista1.0/makefile config.status: creating src/macports1.0/macports_autoconf.tcl config.status: creating src/port1.0/port_autoconf.tcl config.status: creating src/registry2.0/registry_autoconf.tcl config.status: creating src/programs/makefile config.status: creating src/macports1.0/macports_fastload.tcl config.status: creating setupenv.bash config.status: creating src/pkg_mkindex.sh config.status: creating src/config.h === configuring in src/thread2.6 (/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/src/thread2.6) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/opt/local'  '--with-tclpackage=/library/tcl' '--with-install-user=root' '--with-install-group=admin' '--with-directory-mode=0755' '--enable-readline' 'cc=/usr/bin/cc' --cache-file=/dev/null --srcdir=. checking correct tea configuration... ok (tea 3.1) checking tcl configuration... found /opt/local/lib/tclconfig.sh checking existence of /opt/local/lib/tclconfig.sh... loading configure: --exec-prefix defaulting tcl_exec_prefix /opt/local checking gcc... /usr/bin/cc checking c compiler default output file name... a.out checking whether c compiler works... yes checking whether cross compiling... no checking suffix of executables...  checking suffix of object files... o checking whether using gnu c compiler... yes checking whether /usr/bin/cc accepts -g... yes checking /usr/bin/cc option accept ansi c... none needed checking how run c preprocessor... /usr/bin/cc -e checking bsd-compatible install... /usr/bin/install -c checking whether make sets $(make)... yes checking ranlib... ranlib checking egrep... grep -e checking ansi c header files... yes checking sys/types.h... yes checking sys/stat.h... yes checking stdlib.h... yes checking string.h... yes checking memory.h... yes checking strings.h... yes checking inttypes.h... yes checking stdint.h... yes checking unistd.h... yes checking if compiler understands -pipe... yes checking whether byte ordering bigendian... no checking sin... yes checking main in -lieee... no checking main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking net/errno.h... no checking connect... yes checking gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking errno.h... yes checking float.h usability... yes checking float.h presence... yes checking float.h... yes checking values.h usability... no checking values.h presence... no checking values.h... no checking limits.h usability... yes checking limits.h presence... yes checking limits.h... yes checking stdlib.h... (cached) yes checking string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking sys/param.h... yes checking tcl public headers... /opt/local/include checking pthread_mutex_init in -lpthread... yes checking pthread_attr_setstacksize... yes checking readdir_r... yes checking building threads... yes checking how build libraries... shared checking if 64bit support enabled... no checking if 64bit sparc vis support requested... no checking system version (for dynamic loading)... darwin-12.4.0 checking dlopen in -ldl... yes checking ar... ar checking required compiler flags... none checking 64-bit integer type... using long checking build symbols... no checking tclsh... /opt/local/lib/../bin/tclsh8.6 configure: creating ./config.status config.status: creating makefile config.status: creating pkgindex.tcl ===> making in doc gzip -c port.1 > port.1.gz gzip -c macports.conf.5 > macports.conf.5.gz gzip -c portfile.7 > portfile.7.gz gzip -c portstyle.7 > portstyle.7.gz gzip -c porthier.7 > porthier.7.gz gzip -c portgroup.7 > portgroup.7.gz ===> making in src ===> making in src/thread2.6 /usr/bin/cc -pipe -dpackage_name=\"thread\" -dpackage_tarname=\"thread\" -dpackage_version=\"2.6\" -dpackage_string=\"thread\ 2.6\" -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_readdir_r=1 -dtcl_threads=1 -dtcl_wide_int_is_long=1 -duse_tcl_stubs=1   -i"/opt/local/include"    -os -wall -wno-implicit-int -fno-common -c `echo ./generic/threadcmd.c` -o threadcmd.o ./generic/threadcmd.c:3252:25: warning: equality comparison extraneous parentheses [-wparentheses-equality]     if ((eventptr->proc == transfereventproc)) {          ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./generic/threadcmd.c:3252:25: note: remove extraneous parentheses around comparison silence warning     if ((eventptr->proc == transfereventproc)) {         ~               ^                   ~ ./generic/threadcmd.c:3252:25: note: use '=' turn equality comparison assignment     if ((eventptr->proc == transfereventproc)) {                         ^~                         = 1 warning generated. /usr/bin/cc -pipe -dpackage_name=\"thread\" -dpackage_tarname=\"thread\" -dpackage_version=\"2.6\" -dpackage_string=\"thread\ 2.6\" -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_readdir_r=1 -dtcl_threads=1 -dtcl_wide_int_is_long=1 -duse_tcl_stubs=1   -i"/opt/local/include"    -os -wall -wno-implicit-int -fno-common -c `echo ./generic/threadsvcmd.c` -o threadsvcmd.o ./generic/threadsvcmd.c:2039:63: error: no member named 'errorline' in 'struct tcl_interp'         sprintf(msg, "\n    (\"eval\" body line %d)", interp->errorline);                                                       ~~~~~~  ^ /usr/include/secure/_stdio.h:49:56: note: expanded macro 'sprintf'   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __va_args__)                                                        ^ ./generic/threadsvcmd.c:2140:25: warning: assigning 'tcl_objtype *' (aka 'struct tcl_objtype *') 'const tcl_objtype *' (aka 'const struct tcl_objtype *') discards qualifiers [-wincompatible-pointer-types]     booleanobjtypeptr   = tcl_getobjtype("boolean");                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/threadsvcmd.c:2141:25: warning: assigning 'tcl_objtype *' (aka 'struct tcl_objtype *') 'const tcl_objtype *' (aka 'const struct tcl_objtype *') discards qualifiers [-wincompatible-pointer-types]     bytearrayobjtypeptr = tcl_getobjtype("bytearray");                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/threadsvcmd.c:2142:25: warning: assigning 'tcl_objtype *' (aka 'struct tcl_objtype *') 'const tcl_objtype *' (aka 'const struct tcl_objtype *') discards qualifiers [-wincompatible-pointer-types]     doubleobjtypeptr    = tcl_getobjtype("double");                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/threadsvcmd.c:2143:25: warning: assigning 'tcl_objtype *' (aka 'struct tcl_objtype *') 'const tcl_objtype *' (aka 'const struct tcl_objtype *') discards qualifiers [-wincompatible-pointer-types]     intobjtypeptr       = tcl_getobjtype("int");                         ^ ~~~~~~~~~~~~~~~~~~~~~ ./generic/threadsvcmd.c:2144:25: warning: assigning 'tcl_objtype *' (aka 'struct tcl_objtype *') 'const tcl_objtype *' (aka 'const struct tcl_objtype *') discards qualifiers [-wincompatible-pointer-types]     stringobjtypeptr    = tcl_getobjtype("string");                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings , 1 error generated. make[2]: *** [threadsvcmd.o] error 1 make[1]: *** [all] error 1 make: *** [all] error 1 command failed: 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 exit code: 2 

the version of tcl library (specifically header files, so) , thread extension library (where errors occurred, formally) code trying build incompatible each other. issue thread 2.6 doesn't work later tcl 8.4 without changes: in particular, requires command-line option -duse_interp_errorline passed compiler (typically part of cflags make variable) cause piece of now-deprecated api exposed. other warnings that: warnings. (some broken old compilers have problems handling const right, there's still rather code gets wrong.)

i've no idea why you're having problem though; macports works me fine on 10.8.4…


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -