port upgrade tcl 8.4.14_0 < 8.4.15_0 fails
Hi, upgrading tcl 8.4.14 to 8.4.15 fails, anyone with an idea (please see below) ? Thanks in advance Peter
<snip>
gcc -c -Os -O2 -pipe -I/opt/local/include -DTCL_DBGX= -Wall -Wno- implicit-int -fno-strict-aliasing -fno-common -I/opt/local/var/db/ dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_lang_tcl/work/tcl8.4.15/unix/../generic -I/opt/local/var/db/ dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_lang_tcl/work/tcl8.4.15/unix -DNO_VALUES_H=1 - DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 - DHAVE_COREFOUNDATION=1 -DMAC_OSX_TCL=1 -DTCL_WIDE_INT_TYPE=long\ long -DWORDS_BIGENDIAN=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 - DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 - DHAVE_TMPNAM=1 -DHAVE_WAITPID=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_ST_BLKSIZE=1 - DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 - DHAVE_LANGINFO=1 -DHAVE_COPYFILE=1 -DHAVE_LIBKERN_OSATOMIC_H=1 - DHAVE_OSSPINLOCKLOCK=1 -DHAVE_PTHREAD_ATFORK=1 -DUSE_VFORK=1 - DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1 - DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 - DHAVE_SYS_FILIO_H=1 -DTCL_SHLIB_EXT=\".dylib\" /opt/local/ var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_lang_tcl/work/tcl8.4.15/unix/tclLoadDyld.c In file included from /opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_lang_tcl/work/tcl8.4.15/unix/tclLoadDyld.c:23: /opt/local/include/mach-o/arch.h:35: error: nested redefinition of 'enum NXByteOrder' /opt/local/include/mach-o/arch.h:35: error: redeclaration of 'enum NXByteOrder' /opt/local/include/mach-o/arch.h:36: error: redeclaration of enumerator 'NX_UnknownByteOrder' /usr/include/architecture/byte_order.h:137: error: previous definition of 'NX_UnknownByteOrder' was here /opt/local/include/mach-o/arch.h:37: error: redeclaration of enumerator 'NX_LittleEndian' /usr/include/architecture/byte_order.h:138: error: previous definition of 'NX_LittleEndian' was here /opt/local/include/mach-o/arch.h:39: error: redeclaration of enumerator 'NX_BigEndian' /usr/include/architecture/byte_order.h:140: error: previous definition of 'NX_BigEndian' was here make: *** [tclLoadDyld.o] Error 1
Warning: the following items did not execute (for tcl): com.apple.archive com.apple.build com.apple.destroot DEBUG: Error: Unable to upgrade port: 1
</snip>
On 7.7.2007, at 17.27, Peter wrote:
Hi,
upgrading tcl 8.4.14 to 8.4.15 fails, anyone with an idea (please see below) ?
Thanks in advance Peter
Hi, I had exactly the same problem. I solved it by uninstalling odcctools, you could try that, too. ! ! Jyrki Wahlstedt ! skype:jyrkiwahlstedt ! http://www.wahlstedt.fi/jyrki/ ! ! Our life is no dream; but it ought to become one and perhaps will. ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386
Hi Jyrki, thank you very much for your help ! You wrote:
I had exactly the same problem. I solved it by uninstalling odcctools, you could try that, too.
I followed your suggestion even the more because upgrading odcctools gave troubles here too. I deactivated odcctools and upgrading tcl worked. But (re)activating and then upgrading odcctools failed - so I need help w/ this now :-\ (for a report please see below)
Hi,
upgrading tcl 8.4.14 to 8.4.15 fails, anyone with an idea (please see below) ?
Thanks in advance Peter
Hi, I had exactly the same problem. I solved it by uninstalling odcctools, you could try that, too.
! ! Jyrki Wahlstedt
# port upgrade odcctools ---> Fetching odcctools ---> Verifying checksum(s) for odcctools ---> Extracting odcctools ---> Configuring odcctools ---> Building odcctools with target default Error: Target com.apple.build returned: shell command " cd "/opt/ local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_devel_odcctools/work/odcctools/odcctools" && make default " returned error 2 Command output: gcc -Wall -Wno-long-double -Wno-import - DHAVE_CONFIG_H -DBINDIR="\"/opt/local/bin\"" -DRANLIBPROG="\"odranlib \"" -I/opt/local/include -I. -I../include -I../include -O2 -fno- builtin-round -fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o move.o move.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DBINDIR="\"/ opt/local/bin\"" -DRANLIBPROG="\"odranlib\"" -I/opt/local/include -I. -I../include -I../include -O2 -fno-builtin-round -fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o print.o print.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DBINDIR="\"/ opt/local/bin\"" -DRANLIBPROG="\"odranlib\"" -I/opt/local/include -I. -I../include -I../include -O2 -fno-builtin-round -fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o replace.o replace.c gcc -o ar append.o ar.o archive.o contents.o delete.o extract.o misc.o move.o print.o replace.o -multiply_defined suppress -L../ libstuff -lstuff cd as && make gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -I/opt/local/include -I. - I../include -I../include -O2 -fno-builtin-round -fno-builtin-trunc - no-cpp-precomp -mdynamic-no-pic -c -o driver.o driver.c gcc -o driver driver.o -multiply_defined suppress -L../libstuff -lstuff cd ppc && make gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o app.o ./../ app.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o as.o ./../as.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o atof- generic.o ./../atof-generic.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o atof- ieee.o ./../atof-ieee.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o expr.o ./../ expr.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o fixes.o ./../fixes.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o flonum- const.o ./../flonum-const.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o flonum- copy.o ./../flonum-copy.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o flonum- mult.o ./../flonum-mult.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o frags.o ./../frags.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o hash.o ./../ hash.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o hex- value.o ./../hex-value.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o input- file.o ./../input-file.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o input- scrub.o ./../input-scrub.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o layout.o ./../layout.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o messages.o ./../messages.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o obstack.o ./../obstack.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DNeXT_MOD - DASLIBEXECDIR="\"/opt/local/libexec/as/\"" -DPPC -I/opt/local/include -I. -I./.. -I../../include -I../../include -O2 -fno-builtin-round - fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o read.o ./../ read.c ./../read.c:242: error: 'S_16BYTE_LITERALS' undeclared here (not in a function) make[2]: *** [read.o] Error 1 make[1]: *** [ppc] Error 2 make: *** [as] Error 2
On 9.7.2007, at 12.29, Peter wrote:
Hi Jyrki,
thank you very much for your help ! You wrote:
I had exactly the same problem. I solved it by uninstalling odcctools, you could try that, too.
I followed your suggestion even the more because upgrading odcctools gave troubles here too.
I deactivated odcctools and upgrading tcl worked.
But (re)activating and then upgrading odcctools failed - so I need help w/ this now :-\ (for a report please see below)
Hi, nice that my solution works for others, too:-) What I did with odcctools was just a reinstall, I didn't try to upgrade that (that shouldn't even be necessary seeing that the version is 20061117). ! ! Jyrki Wahlstedt ! http://www.wahlstedt.fi/jyrki/ ! ! Our life is no dream; but it ought to become one and perhaps will. ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386
Hi Jyrki,
nice that my solution works for others, too:-)
yes, and thanks for sharing it.
What I did with odcctools was just a reinstall, I didn't try to upgrade that (that shouldn't even be necessary seeing that the version is 20061117).
I stayed away from un- and reinstalling odcctools because ggc41 depends on it (and I wanted to keep my working ggc41 and no risk of a failing install). But it sounded that it worked for you and so I tried it myself – and success. Many thanks Peter
participants (2)
-
Jyrki Wahlstedt
-
Peter