Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
It seems that something is broken in the configure script when running under AMD64. On my other machines the package emerges fine, but in my AMD64 rig it halts on: checking system version (for dynamic loading)... ./configure: line 8314: syntax error near unexpected token `(' ./configure: line 8314: ` case `(ac_space=' '; set | grep ac_space) 2>&1` in' Complete log: emerge mysqltcl Calculating dependencies ...done! >>> emerge (1 of 1) dev-tcltk/mysqltcl-2.50 to / >>> checksums files ;-) mysqltcl-2.40.ebuild >>> checksums files ;-) mysqltcl-2.50.ebuild >>> checksums files ;-) files/digest-mysqltcl-2.40 >>> checksums files ;-) files/digest-mysqltcl-2.50 >>> checksums src_uri ;-) mysqltcl-2.50.tar.gz >>> Unpacking source... >>> Unpacking mysqltcl-2.50.tar.gz to /var/tmp/portage/mysqltcl-2.50/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/mysqltcl-2.50/work/mysqltcl-2.50 ... ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu 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 how to run the C preprocessor... /lib/cpp checking for egrep... grep -E checking for ANSI C header files... no checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking if the compiler understands -pipe... yes checking for a BSD-compatible install... /bin/install -c checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... using long checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) no checking for string.h... (cached) no checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for unistd.h... (cached) no checking sys/param.h usability... yes checking sys/param.h presence... 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 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)... ./configure: line 8314: syntax error near unexpected token `(' ./configure: line 8314: ` case `(ac_space=' '; set | grep ac_space) 2>&1` in' !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/mysqltcl-2.50/work/mysqltcl-2.50/config.log !!! ERROR: dev-tcltk/mysqltcl-2.50 failed. !!! Function econf, Line 489, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. The config.log can be found here: http://dragonfire.prozzerg.com/~prozzerg/gentoo/mysqltcl/config.log The same problem occurs if i tries to install the newest version of mysqltcl with the source from the official homepage. So this might not be an bug related directly to the gentoo project, but a problem in the configure script in mysqltcl itself.
Well, I'd blame bash-3.1 :P
same problem here on x86. as jakub suggested...it's a bash 3.1 issue there are several tc/tk ebuilds having the same bug. shouldn't all be fixed the same way (and all bug marked duplicate?)
*** Bug 131035 has been marked as a duplicate of this bug. ***
This is bash related. The same line that fixes the errors in bug #117744: sed -i -e "s/relid'/relid/" "${S}"/configure || die sed failed Put this in front of the econf ... line.
works, please commit and close this bug
Breakage exists in v2.40 as well .. exact same fix works (the ebuilds are identical bar KEYWORDS). Thanks I now have it installed!
*** Bug 134569 has been marked as a duplicate of this bug. ***
Fixed in cvs.