emerge --config =dev-db/mysql-community-5.0.27 Configuring pkg... * MySQL DATADIR is /var/lib/mysql !!! ERROR: dev-db/mysql-community-5.0.27 failed. Call stack: ebuild.sh, line 1527: Called pkg_config ebuild.sh, line 1255: Called mysql_pkg_config mysql.eclass, line 616: Called built_with_use 'dev-db/mysql' 'minimal' eutils.eclass, line 1597: Called die !!! Unable to resolve dev-db/mysql to an installed package !!! If you need support, post the topmost build error, and the call stack if relevant. or before I try to delete the /var/lib/mysql directory : emerge --config =dev-db/mysql-community-5.0.27 Configuring pkg... * MySQL DATADIR is /var/lib/mysql * Previous datadir found, it's YOUR job to change * ownership and take care of it !!! ERROR: dev-db/mysql-community-5.0.27 failed. Call stack: ebuild.sh, line 1527: Called pkg_config ebuild.sh, line 1255: Called mysql_pkg_config mysql.eclass, line 616: Called built_with_use 'dev-db/mysql' 'minimal' eutils.eclass, line 1597: Called die !!! Unable to resolve dev-db/mysql to an installed package !!! If you need support, post the topmost build error, and the call stack if relevant.
emerge --info Portage 2.1.1-r2 (default-linux/x86/2006.1/server, gcc-4.1.1, glibc-2.4-r4, 2.6.17-hardened-r1-cypher-r2 i686) ================================================================= System uname: 2.6.17-hardened-r1-cypher-r2 i686 Pentium III (Katmai) Gentoo Base System version 1.12.6 Last Sync: Tue, 05 Dec 2006 02:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -Wall" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium3 -Wall" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en" LC_ALL="en_US.UTF-8" LINGUAS="en en_US fr fr_CA" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 acpi apache2 bash-completion berkdb bindist bitmap-fonts cli cracklib crypt cups custom-cflags dlloader dri elibc_glibc fortran gdbm iconv ipv6 isdnlog kernel_linux ldap libg++ linguas_en linguas_en_US linguas_fr linguas_fr_CA mailwrapper mysql ncurses nfs nls no-old-linux nptl nptlonly pam pcre perl posix ppds pppd python readline reflection session snmp spl ssl tcpd threads truetype truetype-fonts type1-fonts udev unicode userland_GNU xml zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Note : I haven't been able to build gcc hardened so I haven't harden my kernel nor activated any added security into the kernel... I say so as my info told that I use hardened gentoo kernel sources.
Thanks for the report, the bug has fixed and should reach all our rsync mirror in about 4 hours. Just a question, why don't use dev-db/mysql? at the moment the differences aren't so big, but dev-db/mysql is a bit more updated. note to self, leave this open to decide whether force an upgrade for community.
marking as fix, other changes are going on that will probably require a bump for much other packages