When I try to emerge unixODBC, it wants to ebuild qt first. However the qt build fails when it tries to include files from odbc. The ebuild scripts for each package references the other as a dependancy. Here is an abbreviated shell session: sabre portage # emerge -pv unixODBC These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] x11-libs/qt-3.2.3 +cups -nas -postgres +opengl +mysql +odbc +gif +doc [ebuild N ] dev-db/unixODBC-2.2.6 +qt +gnome sabre portage # more x11-libs/qt/qt-3.2.3.ebuild ... IUSE="cups nas postgres opengl mysql odbc gif doc" DEPEND="virtual/x11 media-libs/libpng media-libs/lcms media-libs/jpeg media-libs/libmng >=media-libs/freetype-2 virtual/xft !<kde-base/kdelibs-3.1.4 nas? ( media-libs/nas ) odbc? ( dev-db/unixODBC ) mysql? ( dev-db/mysql ) opengl? ( virtual/opengl virtual/glu ) postgres? ( dev-db/postgresql )" ... sabre portage # more dev-db/unixODBC/unixODBC-2.2.6.ebuild ... IUSE="qt gnome" DEPEND="virtual/glibc >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 qt? ( >=x11-libs/qt-3.0* ) gnome? ( gnome-base/gnome-libs )" ... sabre portage # emerge -v unixODBC ... 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 make[3]: Leaving directory `/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/plugins/src/sqldrivers/odbc' ... !!! ERROR: x11-libs/qt-3.2.3 failed. !!! Function src_compile, Line 115, Exitcode 2 !!! (no error message) sabre x11-plugins # Reproducible: Always Steps to Reproduce: I performed an "emerge sync" just before running the commands listed above. Actual Results: The emerge failed while trying to compile qt. Expected Results: qt and unixODBC should have been compiled. sabre x11-plugins # emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r9) ================================================================= System uname: 2.4.20-gentoo-r9 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /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/" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.ccccom.com http://gentoo.ccccom.com" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apm arts gnome libg++ ncurses nls qt sdl slang tetex bonobo tcpd libwww python esd gtk motif 3dnow alsa apache2 avi berkdb cdr cjk crypt cups curl dga directfb doc dvd emacs encode ethereal fastcgi fbcon foomaticdb gb gd gdbm gif gpm gtk2 gtkhtml guile imap imlib innodb java jpeg kde -ldap mad maildir mikmod mmx mozilla mpeg mysql odbc ofx oggvorbis opengl oss pam pda pdflib perl png quicktime readline samba sasl slp spell sse ssl svga tcltk tiff truetype unicode usb wmf X xml xml2 xmms xv zeo zlib" sabre x11-plugins # This bug may be related to the fix for Bug 35875.
*** This bug has been marked as a duplicate of 14178 ***