Configure fails with bash >= 3.1. Extra quote ' in tcl.m4 at line 591. Substitute system=MP-RAS-`awk '{print $3}' /etc/.relid'` with system=MP-RAS-`awk '{print $3}' /etc/.relid` The same should go for tcldom and tclxslt. Fix published at http://sourceforge.net/tracker/index.php?func=detail&aid=1403565&group_id=13178&atid=113178
Wrong product, please read the product descriptions before filing bugs.
*** Bug 122781 has been marked as a duplicate of this bug. ***
Created attachment 80616 [details, diff] tclxml-3.0.ebuild.patch A proposal to work-around the problem. Also put bash-3.1_compat.patch in files directory.
Created attachment 80617 [details, diff] bash-3.1_compat.patch Put this in files directory. Use with the ebuild patch.
http://viewcvs.gentoo.org/dev-tcltk/tclx/files/tclx-8.3.5-configure.patch
*** Bug 128520 has been marked as a duplicate of this bug. ***
The suggest patch in #3 and #4 did not work here. The emerge fails: # emerge -u tclxml --digest Calculating dependencies... done! >>> Generating the digest file... <<< tclxml-3.0.tar.gz >>> Generating the manifest file... <<< ChangeLog <<< files/bash-3.1_compat.patch <<< files/digest-tclxml-2.4 <<< files/digest-tclxml-2.5 <<< files/digest-tclxml-2.6 <<< files/digest-tclxml-3.0 <<< metadata.xml <<< tclxml-2.4.ebuild <<< tclxml-2.5.ebuild <<< tclxml-2.6.ebuild <<< tclxml-3.0.ebuild <<< tclxml-3.0.ebuild.patch >>> Computed message digests. >>> Emerging (1 of 1) dev-tcltk/tclxml-3.0 to / >>> checksums files ;-) tclxml-2.4.ebuild >>> checksums files ;-) tclxml-2.5.ebuild >>> checksums files ;-) tclxml-2.6.ebuild >>> checksums files ;-) tclxml-3.0.ebuild >>> checksums files ;-) tclxml-3.0.ebuild.patch >>> checksums files ;-) files/bash-3.1_compat.patch >>> checksums files ;-) files/digest-tclxml-2.4 >>> checksums files ;-) files/digest-tclxml-2.5 >>> checksums files ;-) files/digest-tclxml-2.6 >>> checksums files ;-) files/digest-tclxml-3.0 >>> checksums src_uri ;-) tclxml-3.0.tar.gz >>> Unpacking source... >>> Unpacking tclxml-3.0.tar.gz to /var/tmp/portage/tclxml-3.0/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/tclxml-3.0/work/tclxml-3.0 ... * Applying bash-3.1_compat.patch ... [ ok ] ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu creating cache ./config.cache checking for correct TEA configuration... ok checking for Tcl configuration... found /usr/lib/tclConfig.sh checking for existence of /usr/lib/tclConfig.sh... loading checking for Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... cc -E checking for gcc... gcc checking whether the C compiler (gcc -march=athlon-xp -O2 -pipe ) works... yes checking whether the C compiler (gcc -march=athlon-xp -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking if the compiler understands -pipe... yes checking for a BSD compatible install... /bin/install -c checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for object suffix... o checking for executable suffix... no checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... long long checking for struct dirent64... no checking for struct stat64... yes checking for off64_t... yes checking dirent.h... yes checking for errno.h... yes checking for float.h... yes checking for values.h... yes checking for limits.h... yes checking for stdlib.h... yes checking for string.h... yes checking for sys/wait.h... yes checking for dlfcn.h... yes checking for unistd.h... yes checking for sys/param.h... yes checking for strtod... yes checking for Solaris2.4/Tru64 strtod bugs... ok checking for Tcl public headers... /usr/include checking for Tcl private include files... Using srcdir found in tclConfig.sh: /usr/lib/tcl8.4/include checking for building with threads... no (default) checking how to build libraries... shared checking if 64bit support is enabled... no checking if 64bit Sparc VIS support is requested... no checking system version (for dynamic loading)... Linux-2.6.16 checking for dlopen in -ldl... yes checking for ar... ar checking for build with symbols... no checking for tclsh... /usr/lib/../bin/tclsh8.4 updating cache ./config.cache creating ./config.status creating Makefile creating library/pkgIndex.tcl creating TclxmlConfig.sh gcc -pipe -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=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 -DUSE_TERMIOS=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 -DVERSION=\"3.0\" -DTCLXML_VERSION=\"3.0\" -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TCL_STUBS=1 -I/usr/lib/tcl8.4/include/generic -I/usr/lib/tcl8.4/include/unix -I./include -march=athlon-xp -O2 -pipe -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC -c `echo tclxml.c` -o tclxml.o gcc -pipe -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=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 -DUSE_TERMIOS=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 -DVERSION=\"3.0\" -DTCLXML_VERSION=\"3.0\" -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TCL_STUBS=1 -I/usr/lib/tcl8.4/include/generic -I/usr/lib/tcl8.4/include/unix -I./include -march=athlon-xp -O2 -pipe -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC -c `echo tclxmlStubInit.c` -o tclxmlStubInit.o gcc -pipe -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=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 -DUSE_TERMIOS=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 -DVERSION=\"3.0\" -DTCLXML_VERSION=\"3.0\" -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TCL_STUBS=1 -I/usr/lib/tcl8.4/include/generic -I/usr/lib/tcl8.4/include/unix -I./include -march=athlon-xp -O2 -pipe -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC -c `echo tclxmlStubLib.c` -o tclxmlStubLib.o rm -f libTclxml3.0.so gcc -pipe -shared -o libTclxml3.0.so tclxml.o tclxmlStubInit.o tclxmlStubLib.o -L/usr/lib -ltclstub8.4 : libTclxml3.0.so rm -f libTclxmlstub3.0.a ar cr libTclxmlstub3.0.a tclxmlStubLib.o ranlib libTclxmlstub3.0.a ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-Tclxml=.. --build=i686-pc-linux-gnu creating cache ./config.cache checking for correct TEA configuration... ok checking for Tcl configuration... found /usr/lib/tclConfig.sh checking for existence of /usr/lib/tclConfig.sh... loading checking for Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... cc -E checking for gcc... gcc checking whether the C compiler (gcc -march=athlon-xp -O2 -pipe ) works... yes checking whether the C compiler (gcc -march=athlon-xp -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking if the compiler understands -pipe... yes checking for a BSD compatible install... /bin/install -c checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for object suffix... o checking for executable suffix... no checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... long long checking for struct dirent64... no checking for struct stat64... yes checking for off64_t... yes checking dirent.h... yes checking for errno.h... yes checking for float.h... yes checking for values.h... yes checking for limits.h... yes checking for stdlib.h... yes checking for string.h... yes checking for sys/wait.h... yes checking for dlfcn.h... yes checking for unistd.h... yes checking for sys/param.h... yes checking for strtod... yes checking for Solaris2.4/Tru64 strtod bugs... ok checking for Tclxml configuration... found /var/tmp/portage/tclxml-3.0/work/tclxml-3.0/TclxmlConfig.sh checking for existence of /var/tmp/portage/tclxml-3.0/work/tclxml-3.0/TclxmlConfig.sh... loading configure: warning: Found Makefile - using build library specs for Tclxml checking for Tcl public headers... /usr/include checking for building with threads... no (default) checking how to build libraries... shared checking if 64bit support is enabled... no checking if 64bit Sparc VIS support is requested... no checking system version (for dynamic loading)... Linux-2.6.16 checking for dlopen in -ldl... yes checking for ar... ar checking for build with symbols... no checking for tclsh... /usr/lib/../bin/tclsh8.4 updating cache ./config.cache creating ./config.status creating Makefile gcc -pipe -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=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 -DUSE_TERMIOS=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 -DVERSION=\"3.0\" -DTCLEXPAT_VERSION=\"3.0\" -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TCL_STUBS=1 -DUSE_TCLXML_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -I"/usr/include" -I./xmltok -I./xmlparse -I./xmlwf -march=athlon-xp -O2 -pipe -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC -c `echo ./../tclexpat.c` -o tclexpat.o distcc[1578] ERROR: compile (null) on localhost failed ./../tclexpat.c:16:27: tclxml/tclxml.h: No such file or directory ./../tclexpat.c:30: error: syntax error before "TclXML_Info" ./../tclexpat.c:30: warning: no semicolon at end of struct or union ./../tclexpat.c:32: warning: data definition has no type or storage class ./../tclexpat.c:38: error: syntax error before "TclXML_Info" ./../tclexpat.c: In function `Tclexpat_Init': ./../tclexpat.c:142: error: `TclXML_ParserClassInfo' undeclared (first use in this function) ./../tclexpat.c:142: error: (Each undeclared identifier is reported only once ./../tclexpat.c:142: error: for each function it appears in.) ./../tclexpat.c:142: error: `classinfo' undeclared (first use in this function) ./../tclexpat.c:150: error: `TCLXML_VERSION' undeclared (first use in this function) ./../tclexpat.c:150: warning: comparison between pointer and integer ./../tclexpat.c:155: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatCreate': ./../tclexpat.c:203: error: syntax error before "TclXML_Info" ./../tclexpat.c:205: error: `expat' undeclared (first use in this function) ./../tclexpat.c:211: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatCreateEntityParser': ./../tclexpat.c:297: error: `parent' undeclared (first use in this function) ./../tclexpat.c:297: error: syntax error before ')' token ./../tclexpat.c:298: error: `expat' undeclared (first use in this function) ./../tclexpat.c:300: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatDelete': ./../tclexpat.c:339: error: `expat' undeclared (first use in this function) ./../tclexpat.c:339: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatParse': ./../tclexpat.c:369: error: `expat' undeclared (first use in this function) ./../tclexpat.c:369: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatConfigure': ./../tclexpat.c:414: error: `expat' undeclared (first use in this function) ./../tclexpat.c:414: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatGet': ./../tclexpat.c:520: error: `expat' undeclared (first use in this function) ./../tclexpat.c:520: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatElementStartHandler': ./../tclexpat.c:614: error: `expat' undeclared (first use in this function) ./../tclexpat.c:614: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatElementEndHandler': ./../tclexpat.c:644: error: `expat' undeclared (first use in this function) ./../tclexpat.c:644: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatCharacterDataHandler': ./../tclexpat.c:658: error: `expat' undeclared (first use in this function) ./../tclexpat.c:658: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatProcessingInstructionHandler': ./../tclexpat.c:672: error: `expat' undeclared (first use in this function) ./../tclexpat.c:672: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatDefaultHandler': ./../tclexpat.c:689: error: `expat' undeclared (first use in this function) ./../tclexpat.c:689: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatUnparsedDeclHandler': ./../tclexpat.c:706: error: `expat' undeclared (first use in this function) ./../tclexpat.c:706: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatNotationDeclHandler': ./../tclexpat.c:738: error: `expat' undeclared (first use in this function) ./../tclexpat.c:738: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatCommentHandler': ./../tclexpat.c:764: error: `expat' undeclared (first use in this function) ./../tclexpat.c:764: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatNotStandaloneHandler': ./../tclexpat.c:776: error: `expat' undeclared (first use in this function) ./../tclexpat.c:776: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatStartCdataSectionHandler': ./../tclexpat.c:784: error: `expat' undeclared (first use in this function) ./../tclexpat.c:784: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatEndCdataSectionHandler': ./../tclexpat.c:795: error: `expat' undeclared (first use in this function) ./../tclexpat.c:795: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatExternalEntityRefHandler': ./../tclexpat.c:826: error: `expat' undeclared (first use in this function) ./../tclexpat.c:826: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatElementDeclHandler': ./../tclexpat.c:892: error: `expat' undeclared (first use in this function) ./../tclexpat.c:892: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatAttlistDeclHandler': ./../tclexpat.c:918: error: `expat' undeclared (first use in this function) ./../tclexpat.c:918: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatStartDoctypeDeclHandler': ./../tclexpat.c:945: error: `expat' undeclared (first use in this function) ./../tclexpat.c:945: error: syntax error before ')' token ./../tclexpat.c: In function `TclExpatEndDoctypeDeclHandler': ./../tclexpat.c:957: error: `expat' undeclared (first use in this function) ./../tclexpat.c:957: error: syntax error before ')' token distcc[1576] ERROR: compile ./../tclexpat.c on localhost failed make: *** [tclexpat.o] Error 1 !!! ERROR: dev-tcltk/tclxml-3.0 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile tclxml-3.0.ebuild, line 42: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant.
Martin Gramatke: see Bug 123974.
in cvs, thanks:)
*** Bug 132986 has been marked as a duplicate of this bug. ***
Created attachment 87769 [details, diff] fix for tclxml-2.4
tclxml-2.4 has same bug. I think 2.6 and other have it too.
*** Bug 135115 has been marked as a duplicate of this bug. ***
*** Bug 141869 has been marked as a duplicate of this bug. ***
*** Bug 142261 has been marked as a duplicate of this bug. ***