emerge -pu mysqlcc These are the packages that I would merge, in order: Calculating dependencies | !!! all ebuilds that could satisfy ">=dev-db/mysql-4.0.0" have been masked. !!! (dependency required by "dev-db/mysqlcc-0.8.10-r1" [ebuild]) !!! Error calculating dependancies. Please correct. mysql-0.8.10 doesn't seem to require mysql4 so i tried that.... emerge -p /usr/portage/dev-db/mysqlcc/mysqlcc-0.8.10.ebuild These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-db/mysqlcc-0.8.10 so i tried that.... emerge /usr/portage/dev-db/mysqlcc/mysqlcc-0.8.10.ebuild Calculating dependencies ...done! >>> emerge (1 of 1) dev-db/mysqlcc-0.8.10 to / >>> md5 ;-) mysqlcc-0.8.10-src.tar.gz >>> Unpacking source... >>> Unpacking mysqlcc-0.8.10-src.tar.gz to /var/tmp/portage/mysqlcc-0.8.10/work >>> Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linux-g++ checking host system type... Invalid configuration `i686-pc-linux-gnu': machine `i686-pc-linux' not recognized configure: error: /bin/sh ./config.sub i686-pc-linux-gnu failed !!! ERROR: dev-db/mysqlcc-0.8.10 failed. !!! Function econf, Line 14, Exitcode 1 !!! econf failed bleh...so I edited the ebuild for mysqlcc-0.8.10-r1 and changed >=dev-db/mysql-4.0.0 to dev-db/mysql and it got part way thru the compile before... In file included from /usr/include/linux/config.h:4, from /usr/include/asm/atomic.h:4, from /usr/include/mysql/my_global.h:224, from src/main.cpp:29: /usr/include/linux/autoconf.h:64: warning: `CONFIG_SMP' redefined /usr/include/mysql/my_global.h:223: warning: this is the location of the previous definition src/main.cpp:34: my_getopt.h: No such file or directory src/main.cpp:41: elements of array `struct my_option my_long_options[]' have incomplete type src/main.cpp:43: `GET_NO_ARG' was not declared in this scope src/main.cpp:43: `NO_ARG' was not declared in this scope src/main.cpp:45: `GET_NO_ARG' was not declared in this scope src/main.cpp:45: `NO_ARG' was not declared in this scope src/main.cpp:47: `GET_NO_ARG' was not declared in this scope src/main.cpp:47: `NO_ARG' was not declared in this scope src/main.cpp:49: `GET_NO_ARG' was not declared in this scope src/main.cpp:49: `NO_ARG' was not declared in this scope src/main.cpp:51: `GET_STR' was not declared in this scope src/main.cpp:51: `REQUIRED_ARG' was not declared in this scope src/main.cpp:53: `GET_STR' was not declared in this scope src/main.cpp:53: `REQUIRED_ARG' was not declared in this scope src/main.cpp:55: `GET_STR' was not declared in this scope src/main.cpp:55: `REQUIRED_ARG' was not declared in this scope src/main.cpp:57: `GET_STR' was not declared in this scope src/main.cpp:57: `REQUIRED_ARG' was not declared in this scope src/main.cpp:61: `GET_STR' was not declared in this scope src/main.cpp:61: `OPT_ARG' was not declared in this scope src/main.cpp:63: `GET_UINT' was not declared in this scope src/main.cpp:63: `REQUIRED_ARG' was not declared in this scope src/main.cpp:66: `GET_STR' was not declared in this scope src/main.cpp:66: `REQUIRED_ARG' was not declared in this scope src/main.cpp:69: `GET_ULONG' was not declared in this scope src/main.cpp:69: `REQUIRED_ARG' was not declared in this scope -snip- src/main.cpp:127: implicit declaration of function `int handle_options(...)' make: *** [tmp/main.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-db/mysqlcc-0.8.10-r1 failed. !!! Function src_compile, Line -196, Exitcode 2 !!! (no error message) ...any ideas?
sorry..a little more info qpkg -I -v mysql dev-db/mysql-3.23.54a * dev-db/mysqltool-0.95-r1 * dev-perl/DBD-mysql-2.1013-r1 * qpkg -I -v qt x11-libs/qt-3.1.0-r3 * emerge info Portage 2.0.47-r8 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7,2.2.5-r4) ================================================================= System uname: 2.4.20-gentoo-r1 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 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/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode jpeg kde libg++ mikmod mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv arts berkdb bonobo cdr esd gdbm gif gnome-libs gpm gtk gtkhtml guile imlib java libwww motif mozilla mysql nls oggvorbis opengl pam perl png python qt readline sdl slang snmp ssl svga tcltk tcpd tetex tiff X mta-tls -gnome" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
This package has been remasked. It was originally unmasked for security reasons. 0.8.10-r1 has a new dependency on MySQL >=4.0. The lack of this dependency was one of the reasons that 0.8.10 would not compile. Leaving this bug open for now until we get a stable version of mysqlcc with the security patch.
# emerge -upvD world These are the packages that I would merge, in order: Calculating world dependencies \ !!! all ebuilds that could satisfy ">=dev-db/mysql-4.0.0" have been masked. !!! (dependency required by "dev-db/mysqlcc-0.8.10-r1" [ebuild]) one day mysql >4 is umasked .. next day it is masked.... *narf*
Mysql-4 is now currently unmasked, and I've just committed an ebuild for mysqlcc-0.9.2. We're still using the patches, but I believe this compile bug should now be resolved.