Bug 42711 - unixODBC doesn't build
Bug#: 42711 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: rphillips@gentoo.org Reported By: Frank@hollenbach.de
Component: Ebuilds
URL: 
Summary: unixODBC doesn't build
Keywords:  
Status Whiteboard: 
Opened: 2004-02-24 00:00 0000
Description:   Opened: 2004-02-24 00:00 0000
....
hecking 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.8 failed.
!!! Function src_compile, Line 54, Exitcode 1
!!! (no error message)



Reproducible: Always
Steps to Reproduce:
1. emerge unixODBC
2.
3.



Expected Results:

------- Comment #1 From David Klempner 2004-02-25 05:20:06 0000 -------
I get the same problem.

My emerge --info:

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-mm1)
=================================================================
System uname: 2.6.3-mm1 i686 AMD Athlon(tm) 
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer"
CHOST="i686-pc-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.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs sandbox"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow S3TC X Xaw3d aalib acpi alsa apache2 arts avi berkdb bonobo canna cdr cjk crypt cups curl dedicated dga directfb doc dvd emacs encode esd faad fbcon foomaticdb freewnn gdbm ggi gif gnome gpm gtk gtk2 gtkhtml guile imap imlib java jpeg kde kerberos ldap libg++ libwww mad mbox mikmod mmx motif mozcalendar mozilla mozsvg mpeg mpi mule music mysql ncurses nls objc odbc oggvorbis opengl oss pam pdflib perl plotutils png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb vanilla wmf x86 xinerama xml xml2 xmms xv zlib"

------- Comment #2 From Ryan Phillips (RETIRED) 2004-02-25 10:20:17 0000 -------
try USE="-gnome" emerge unixODBC
then emerge unixODBC

------- Comment #3 From Frank Hollenbach 2004-02-28 06:43:56 0000 -------
I tested it with the mentioned : USE="-gnome" emerge unixODBC 
yes, it fix it. With this USE environment it was ok and build successfully.
krgds,
Frank

------- Comment #4 From Scott Taylor (RETIRED) 2004-03-03 13:35:18 0000 -------
Between the 2.2.6 and 2.2.6-r1 ebuilds, a configure option of
"--with-odbc=${S}"
was omitted from the gODBCconfig section. Which just happens to be a section
thats
not compiled without the gnome use flag... unixODBC-2.2.8 also lacks that line
and
it too fails to compile with the gnome use flag. 2.2.6 (without -r1) did build
fine.

------- Comment #5 From Scott Taylor (RETIRED) 2004-03-03 23:21:47 0000 -------
In fact, all of the ugly little hacks that were in 2.2.6 that mysteriously
vanished in the 2.2.6-r1 seem to have been there for a purpose. Someone should
smite the 2.2.6-r1 from portage. Then copy the 2.2.6-ebuild to 2.2.8 because those
same hacks are needed to get 2.2.8 to build with USE="gnome". And copy the
appropriate hack in the ${FILESDIR} as well.

------- Comment #6 From Ryan Phillips (RETIRED) 2004-03-29 10:30:17 0000 -------
Scott: 2.2.8 appears to have the patches/hacks in it as 2.2.6-r1... Am I
missing something?

------- Comment #7 From Scott Taylor (RETIRED) 2004-03-29 11:15:11 0000 -------
Back when i commented on this bug, I copied the 2.2.6 (NOT-r1) to 2.2.8 in my
overlay. Whatever got put into -r1 broke it on all my systems. Rolling back to
what it was before -r1 did the trick for me. Can't say as i've tried the current
version as it exists in portage.

------- Comment #8 From Ryan Phillips (RETIRED) 2004-04-04 19:36:33 0000 -------
I've committed a fix for 2.2.8... Can everyone test it and see if it works for
them.

------- Comment #9 From Mathieu MILLET 2004-04-06 12:53:11 0000 -------
I have tested and it works !!

Good job, thanks.

------- Comment #10 From Ryan Phillips (RETIRED) 2004-04-18 12:20:21 0000 -------
I'll go ahead and close this bug... Please reopen if anything goes wrong.