mysqlcc-0.9.2 fails to configure for compiling in ebuild mysqlcc-0.9.2. Here is relevant screen output. Important parts: I have "-qt" in USE flags, which the pretend emerge notices, reports, and does not complain about. I do not have QT installed (or even injected). In the pretend emerge, portage does not say that QT is a dependency. However, when actually configuring for compile, config complains that QT is not installed, saying it is needed. skipper dev-db # emerge mysqlcc -uDpv These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-db/mysqlcc-0.9.2 +X -qt skipper dev-db # emerge mysqlcc Calculating dependencies ...done! >>> emerge (1 of 1) dev-db/mysqlcc-0.9.2 to / >>> md5 src_uri ;-) mysqlcc-0.9.2-src.tar.gz eutils kde-functions eutils kde-functions >>> Unpacking source... >>> Unpacking mysqlcc-0.9.2-src.tar.gz to /var/tmp/portage/mysqlcc-0.9.2/work * Applying mysqlcc-0.9.2-qmakespec.patch... [ ok ] * Applying mysqlcc-0.9.2-libmysqlclientac.patch... [ ok ]>>> Source unpacked. eutils kde-functions libs now -lssl creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -O2 -march=athlon-tbird -funroll-loops -pipe ) works... yes checking whether the C compiler (gcc -O2 -march=athlon-tbird -funroll-loops -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... g++ checking whether the C++ compiler (g++ -O2 -march=athlon-tbird -funroll-loops -pipe ) works... yes checking whether the C++ compiler (g++ -O2 -march=athlon-tbird -funroll-loops -pipe ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether g++ accepts -g... yes checking for compress in -lz... yes checking for libmysqlclient... checking how to run the C preprocessor... gcc -E checking for mysql.h... checking for /usr/include/mysql.h... no checking for /usr/include/mysql/mysql.h... yes checking if MySQL Version /usr/include/mysql is 4.0.0... yes Qt is not installed. Please install QT 3.0.5 or later !!! ERROR: dev-db/mysqlcc-0.9.2 failed. !!! Function econf, Line 324, Exitcode 1 !!! econf failed Reproducible: Always Steps to Reproduce: 1. Carefully build a gentoo system without QT (and "-qt" in USE flags) 2. Try to emerge mysqlcc-0.9.2 Actual Results: See "Details" Expected Results: The ebuild should report a QT dependency during the pretend emerge if it truly is needed. However, if mysqlcc can be built without QT, the configure should succeed. skipper dev-db # emerge --info Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) Processor distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-tbird -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" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-tbird -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs buildpkg ccache distcc" GENTOO_MIRRORS="ftp://192.168.1.194 ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.pair.com/ http://gentoo.noved.org/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://www.ibiblio.org/gentoo" MAKEOPTS="-j4" PKGDIR="/packages/arch_athlon-tbird_O2" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 oss gdbm sdl 3dfx cdr dv dvd dvdr mmx -pcmcia -pnp -trusted 3dnow aalib alsa amd apache2 apm -arts auctex autofs avi berkdb bonobo canna cjk clamav clisp cmucl crypt cscope cups dga directfb doc encode esd ethereal evms2 evo fax fbcon fbdev foomaticdb freetds freewnn gcl gd gdm gif ginac gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hbci imagemagick imap imlib innodb java javascript jikes jpeg junit -kde lcms ldap libg++ libgda libwww ltsp mad maildir mbox mcal mdb memlimit mikmod motif mozaccess mozcalendar mozilla mozinterfaceinfo mozxmlterm mpeg music mysql ncurses nls nptl oav odbc offensive ofx oggvorbis opengl pam parse-clocks pcap pda pdflib perl pic plotutils png ppds prelude python qhull -qt quicktime readline ruby samba sasl scanner skey slang spell sqlite sse ssl svga tcltk tcpd tetex tiff truetype type1 usb wmf wxwindows X Xaw3d xinerama xml2 xmms xv xvid zlib"
Just tried the 0.9.3 ebuild. Results: * ebuild no longer states it is interested in the qt flag * QT still not listed as a dependency in pretend emerge * still won't configure Screen dump of attempt: skipper mysqlcc # emerge mysqlcc-0.9.3.ebuild -uDpv These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-db/mysqlcc-0.9.3 +ssl skipper mysqlcc # emerge mysqlcc-0.9.3.ebuild -uD Calculating dependencies ...done! >>> emerge (1 of 1) dev-db/mysqlcc-0.9.3 to / >>> Downloading ftp://192.168.1.194/distfiles/mysqlcc-0.9.3-src.tar.gz --03:37:55-- ftp://192.168.1.194/distfiles/mysqlcc-0.9.3-src.tar.gz => `/usr/portage/distfiles/mysqlcc-0.9.3-src.tar.gz' Connecting to 192.168.1.194:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /distfiles ... done. ==> PASV ... done. ==> RETR mysqlcc-0.9.3-src.tar.gz ... No such file `mysqlcc-0.9.3-src.tar.gz'. >>> Downloading ftp://gentoo.mirrors.pair.com//distfiles/mysqlcc-0.9.3-src.tar.gz --03:37:55-- ftp://gentoo.mirrors.pair.com//distfiles/mysqlcc-0.9.3-src.tar.gz => `/usr/portage/distfiles/mysqlcc-0.9.3-src.tar.gz' Resolving gentoo.mirrors.pair.com... done. Connecting to gentoo.mirrors.pair.com[216.92.2.140]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /distfiles ... done. ==> PASV ... done. ==> RETR mysqlcc-0.9.3-src.tar.gz ... done. Length: 746,154 (unauthoritative) 100%[===============================================================>] 746,154 2.60K/s ETA 00:00 03:42:38 (2.60 KB/s) - `/usr/portage/distfiles/mysqlcc-0.9.3-src.tar.gz' saved [746154] >>> md5 src_uri ;-) mysqlcc-0.9.3-src.tar.gz eutils kde-functions eutils kde-functions >>> Unpacking source... >>> Unpacking mysqlcc-0.9.3-src.tar.gz to /var/tmp/portage/mysqlcc-0.9.3/work * Applying mysqlcc-0.9.3-libmysqlclientac.patch... [ ok ]>>> Source unpacked. eutils kde-functions libs now -lssl creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -O2 -march=athlon-tbird -funroll-loops -pipe ) works... yes checking whether the C compiler (gcc -O2 -march=athlon-tbird -funroll-loops -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... g++ checking whether the C++ compiler (g++ -O2 -march=athlon-tbird -funroll-loops -pipe ) works... yes checking whether the C++ compiler (g++ -O2 -march=athlon-tbird -funroll-loops -pipe ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether g++ accepts -g... yes checking for compress in -lz... yes checking for libmysqlclient... checking how to run the C preprocessor... gcc -E checking for mysql.h... checking for /usr/include/mysql.h... no checking for /usr/include/mysql/mysql.h... yes checking if MySQL Version /usr/include/mysql is 4.0.0... yes Qt is not installed. Please install QT 3.0.5 or later !!! ERROR: dev-db/mysqlcc-0.9.3 failed. !!! Function econf, Line 324, Exitcode 1 !!! econf failed
Dependency should be fixed now. Also, I've mark 0.9.3 x86 stable as it's been working here great for a few weeks.
checking if Qt Version in /usr/qt/3 is 3.0.5... no Please upgrade your Qt library to version 3.0.5 or higher If you do have the correct version of QT installed somewhere other than /usr/qt/3, please specify it as --with-qt= argument !!! ERROR: dev-db/mysqlcc-0.9.3 failed. !!! Function econf, Line 335, Exitcode 1 !!! econf failed Same problem as reported above with 0.9.3 when running emerge mysqlcc but ./configure --prefix=/usr works fine when launched on cmd line in /var/tmp/portage/mysqlcc-0.9.3/work/mysqlcc-0.9.3-src
The dependency on qt-3.0.5 is in the ebuild. Do you have it in /usr/qt/3? Look in the config.log of the workdir for mysqlcc and see if you can get more details on this error.
# FEATURES="-distcc" emerge mysqlcc did the trick. Unfortunately it segfaults as soon as I try anything. Back to 0.9.2
is this bug still present?
Looks like this bug can be closed now. I just tried again to emerge and it worked right away with a simple emerge mysqlcc No more segfault either. Thanks for asking.
closing