checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext sed: can't read ./intl/po2tbl.sed.in: No such file or directory checking for ODBC files... configure: error: ODBC backend not found !!! ERROR: dev-db/unixODBC-2.2.6 failed. !!! Function src_compile, Line 42, Exitcode 1 !!! (no error message) alexhome root # emerge info Portage 2.0.49-r18 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.23-sparc-r1) ================================================================= System uname: 2.4.23-sparc-r1 sparc64 sun4u Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="sparc ~sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=ultrasparc -O3 -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=ultrasparc -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="sparc X amd arts autofs avantgo avi berkdb bonobo cdr clamav crypt cups directfb dvd dvdr encode esd evo fax fbcon fbdev ffmpeg fftw flac foomaticdb freetype fs gd gdbm gif gnome gphoto2 gpm gtk gtk2 guile imap imlib informix java javascript jpeg kde libgda libwww mad mikmod motif mozcalendar mozilla mpeg msn mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl png ppds python qt quicktime readline rplay samba scanner sdk sdl slang spell ssl tcltk tcpd tiff truetype type1 usb wmf xine xinerama xml2 xmms xv zlib"
Could you post the first 10 or so lines of /var/tmp/portage/unixODBC-2.2.6/work/unixODBC-2.2.6/config.log ? Mostly for the version of autoconf and the configure line. I am able to emerge this app fine on sparc with your USE variable.
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.57. Invocation command line was $ ./configure --host=sparc-unknown-linux-gnu --prefix=/usr --sysconfdir=/etc/unixODBC --enable-gui=yes ## --------- ## ## Platform. ## ## --------- ## hostname = alexhome uname -m = sparc64 uname -r = 2.4.23-sparc-r1 uname -s = Linux uname -v = #1 SMP Mon Dec 8 01:29:09 Local time zone must be set--see zic m /usr/bin/uname -p = sun4u /bin/uname -X = unknown
That looks fine to me, can you post a full log of configure? Your configure log consists of lines mine does not have.
Created attachment 22298 [details] Full config.log Attached is the full config.log
Just scanned Gentoo forums, and found the ugly workaround. First, emerge unixODBC-2.08. Second, update it to the 2.2.6. It worked for me, however I'd perfer to see it relly fixed. The first step also installs qt 2.x which isn't required for anything elese in my setup.
Could the issue be that qt is an unstated dependancy?
Nope, I was able to compile fine with -qt -gnome and no qt or gtk installed
Same bug on Alpha
I have the same problem. Additionally I too think that this is in some way related to the qt thing dagobert boot # emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.21-144-athlon) ================================================================= System uname: 2.4.21-144-athlon i686 AMD Athlon(tm) Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/afs/C /etc/afs/afsws /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.inode.at/ http://mirror.pudas.net/gentoo http://212.219.247.15/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 berkdb 3dnow aalib acl acpi afs adns alsa apache2 apm arts avi cdr crypt cups curl dga directfb doc dvd esd encode evo fbcon firebird flash foomaticdb freetds gb gd gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml imap imlib informix ipv6 java joystick jpeg kde kerberos ldap libg++ libgda libwww lirc mad mbox mikmod mmx motif mozilla mpeg mysql nas ncurses nls oci8 odbc oggvorbis opengl oss pam ppds pdflib perl png postgres python qt quicktime readline ruby samba sasl scanner sdl slang slp snmp socks5 spell sse ssl sqlite svga tcltk tcpd tetex tiff truetype unicode usb videos wmf wxwindows X xinerama xosd xml xml2 xmms xv zlib"
Created attachment 22431 [details] emerge unixODBC 2>&1 | tee emerge.log
Created attachment 22433 [details] New ebuild Same bug on PPC See bug #35018 the failure happens when configuring gODBCConfig (triggered with 'gnome' USE variable) which looks for already installed unixODBC libraries. With a fresh build that's not the case, and if it's an update it will be configured with previous headers. I've modified the ebuild to make the compilation succeed and gODBCConfig seems to run correctly.
The new ebuild compiles correctly with USE="-qt" emerge unixODBC-2.2.6-r1.ebuild I'm currenty compiling USE="-odbc" emerge qt And if that works I'll compile emerge unixODBC emerge qt Stay tuned! mfg Nomike aka Michael Postmann PS: And don't forget to enable ccache! :)
first two emerges ran perfectly.. unixODB for the second time too. Now I'm just waiting for qt to complete for the 2nd time. But as far as I'm now I think the manual solution is the sequence in my previous post. So the thing is to find a way of reflecting these in the ebuilds... But it would be good to chek if the same procedure runs with the unixODBC ebuild currently in portage and to check if the new unixODBC runs correctly without USE="-qt" at the first compile...
worked as expected! So this is the path to the solution, but I'm not familiar enough with ebuilds and thus I don't know what the exact solution is (if there is any)...
Committed Olivier's fixed ebuild.