First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 35875
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Ryan Phillips (RETIRED) <rphillips@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Adrian Head <ahead@bigpond.net.au>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 35875 depends on: 42711 Show dependency tree
Bug 35875 blocks: 41549
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-12-15 07:05 0000
When emergeing unixODBC-2.2.6 after 25mins of compiling it fails with the
following:

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)


Reproducible: Always
Steps to Reproduce:
1.  emerge -UD world or emerge unixODBC

Actual Results:  
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) 

Expected Results:  
The emerge should have completed sucessfully. 

=============================================================== 
[root@hercules pts/1:0 portage]# emerge --info 
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 
2.4.20-gentoo-r8) 
================================================================= 
System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(tm) Processor 
Gentoo Base System version 1.4.3.10 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer" 
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/kde/3.1/share/config /usr/share/texmf/
tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="ccache autoaddcvs sandbox userpriv usersandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/
Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 oss avi crypt cups encode gif jpeg libg++ mpeg ncurses pdflib png 
quicktime spell truetype xml2 xmms xv zlib directfb alsa readline arts aalib 
nas ggi java X sdl tcpd pam libwww ssl perl python imlib oggvorbis qt kde 
opengl cdr -3dfx 3dnow aalib acl acpi -afs alsa apache2 apm arts -atlas avi 
-berkdb -bidi -bonobo -canna cdr -cjk crypt -cscope cups -curl -debug dedicated 
dga directfb doc -dvb dvd -dvdr -emacs -emacs-w3 encode -esd ethereal -evo fam 
fastcgi fbcon -firebird flash foomaticdb freetds -freewnn -gb gd gdbm ggi gif 
-gnome gphoto2 -gpm -gps -gstreamer gtk -gtk2 -gtkhtml -guile -icc -icc-pgo 
imap imlib -innodb -informix ipv6 -jack java jikes -joystick jpeg -junit kde 
-kerberos -krb4 -ladcca lcms -ldap -leim libg++ -libgda libwww -lirc mad 
maildir matrox -mbox mcal mikmod memlimit mmx -motif -mozilla mpeg mpi -mule 
-mysql nas ncurses -nhc98 nls -nocardbus nocd -oci8 odbc oggvorbis opengl oss 
pam -pcmcia pda ppds pdflib perl plotutils png -pnp postgres bindist prelude 
python qt quicktime readline ruby samba sasl -scanner sdl slang slp snmp 
-socks5 spell -sse ssl svga -tcltk tcpd tetex tiff truetype -trusted unicode 
usb -videos -voodoo3 wavelan wmf -wxwindows X -Xaw3d -xface xinerama xosd xml 
xml2 xmms xv -zeo zlib caps vim-with-x opie avantgo pg-hier artswrappersuid 
jbig faad dv matroska parse-clocks X509 skey hostap-noplx acpi4linux evms2 xfs 
nptl pic"

------- Comment #1 From Ryan Phillips (RETIRED) 2003-12-15 14:18:23 0000 -------
I've commited a fix to the ebuild just a few minutes ago.  Does this problem
persist?

------- Comment #2 From Adrian Head 2003-12-15 17:52:17 0000 -------
I've just done an "emerge sync" and "emerge unixODBC" and it has now completed
successfully.

Thanks

------- Comment #3 From John Altstadt 2003-12-16 21:09:36 0000 -------
I just tried an "emerge sync" followed by an "emerge unixODBC", and I still get
the build failing at the same point described above.

The ChangeLog file says:

# $Header: /home/cvsroot/gentoo-x86/dev-db/unixODBC/ChangeLog,v 1.17 2003/12/16 
12:11:33 gmsoft Exp $

  16 Dec 2003; Guy Martin <gmsoft@gentoo.org> unixODBC-2.2.6.ebuild:
  Marked stable on hppa.

  15 Dec 2003; <rphillips@gentoo.org> unixODBC-2.2.6.ebuild:
  added Cory Visi's modified ebuild to correct the dependecy problems with
  gODBCconfig. #35889

  04 Dec 2003; Jason Wever <weeve@gentoo.org> unixODBC-2.2.6.ebuild:
  Marked stable to fix dependency borkage.

No mention of #35875.

Did the fix for this problem get overwritten or am I just not waiting long
enough for the ebuild to propagate to the mirror?

------- Comment #4 From Kirill Vasiliev 2003-12-17 15:39:10 0000 -------
I can't get it working too. emerge sync was done today.

------- Comment #5 From John Altstadt 2003-12-17 15:52:10 0000 -------
On the off chance that my problem was being caused by long propagation delays
to the mirrors, I just tried sync and build again just minutes ago.

Now emerge wants to build x11-libs/qt-3.2.3 before dev-db/unixODBC-2.2.6. I.e.
the dependencies have been flipped around since the last time I tried building.
Part way through the qt build, it fails with this error:

make[3]: Entering directory
`/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/plugins/src/sqldrivers/odbc'
g++ -c -pipe -I/usr/include/mysql -fno-exceptions -Wall -W -O2 -D_REENTRANT
-fPIC  -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN
-DQT_SHARED
-I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I.
-I/usr/include/freetype2 -I../../../../include -I/usr/X11R6/include
-I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/main.o main.cpp
In file included from main.cpp:38:
../../../../src/sql/drivers/odbc/qsql_odbc.h:72:17: sql.h: No such file or
directory
../../../../src/sql/drivers/odbc/qsql_odbc.h:78:22: sqlucode.h: No such file or
directory
../../../../src/sql/drivers/odbc/qsql_odbc.h:81:20: sqlext.h: No such file or
directory
In file included from main.cpp:38:
../../../../src/sql/drivers/odbc/qsql_odbc.h:94: syntax error before `)' token
../../../../src/sql/drivers/odbc/qsql_odbc.h:121: syntax error before `env'
../../../../src/sql/drivers/odbc/qsql_odbc.h:137: syntax error before `)' token
../../../../src/sql/drivers/odbc/qsql_odbc.h:138: syntax error before `)' token
make[3]: *** [.obj/main.o] Error 1


It looks as though the dependancies have been twisted around somehow and that
the problem is only fixed for people who have already picked up enough of the
dependancies through previous ebuilds.

Could someone please mark this bug as reopened? Thanks.

------- Comment #6 From John Altstadt 2003-12-19 15:09:54 0000 -------
I just tried yet another sync and build, but this time removing the qt flag as
recommended in Bug 14178. E.g.:

USE="-qt" emerge -v unixODBC

The emerge once again fails in the way described above with:

sed: can't read ./intl/po2tbl.sed.in: No such file or directory
checking for ODBC files... configure: error: ODBC backend not found

This is blocking several application emerges.

------- Comment #7 From Ryan Phillips (RETIRED) 2003-12-19 15:52:48 0000 -------
John: I committed a bug fix at 14:30... Have you synced and got the latest
ebuild?

------- Comment #8 From John Altstadt 2003-12-20 10:12:16 0000 -------
I have synced and I am in the middle of testing a variety of ebuild scenarios
with it, removing qt and unixODBC each time. It looks good so far, but I will
post another update when I am finished.

------- Comment #9 From John Altstadt 2003-12-20 19:11:11 0000 -------
Build testing done.

In each case described below, I ran the command "emerge -Cv unixODBC qt" before running the emerge command.

emerge -v unixODBC
This failed on the missing odbc include files as per Bug 14178. It tried to build qt before unixODBC.

emerge -v qt
This built okay. It built unixODBC before building qt.

USE='-qt' emerge -v unixODBC && emerge -v qt && emerge -v unixODBC
This built okay.

USE='-odbc' emerge -v qt && emerge -v unixODBC && emerge -v qt
This built okay.

It looks like this ebuild is golden. The only problem remaining is the circular dependency between qt and unixODBC as described in Bug 14178. I don't know how the "emerge -v qt" worked, given this dependancy, but it appears to have done so without any problems. I will add a comment to Bug 14178 pointing back to this one.

Thanks.

------- Comment #10 From Robert Moss (RETIRED) 2004-02-11 06:52:03 0000 -------
Can someone reopen this bug? I'm getting exactly the same error again. This
occurred today with the release of the new 2.2.6-r1 build. I haven't tested the
older versions. The problem disappears if USE="-gnome" is set, although I don't
think that's acceptable behaviour, really!

------- Comment #11 From Howard B. Golden 2004-02-13 10:45:25 0000 -------
I get this bug too, using unixODBC-2.2.6-r1. Please REOPEN this bug.

------- Comment #12 From Andrea Cerrito 2004-02-14 04:13:37 0000 -------
I'm opening a new bug.

------- Comment #13 From John Russell 2004-02-25 12:50:59 0000 -------
what is the new bug number for this?  I'm getting this same error with unixODBC
2.2.8

First Last Prev Next    No search results available      Search page      Enter new bug