If mysql is installed, ulogd will compile with mysql support even if USE=-mysql. hardened ~ # emerge -av ulogd ... [ebuild R ] app-admin/ulogd-1.23 USE="-mysql -postgres" 0 kB ... * econf: updating ulogd-1.23/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i386-gentoo-linux-uclibc --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-mysql --without-pgsql --build=i386-gentoo-linux-uclibc creating cache ./config.cache ... checking for strerror... yes checking for MySQL files... found mysql in /usr checking for mysql_real_escape_string support... found new MySQL ... Looks like the problem is in the autoconf/configure script. hardened ~ # grep sql /var/db/pkg/app-admin/ulogd-1.23/NEEDED /usr/lib/ulogd/ulogd_MYSQL.so libmysqlclient.so.14,libc.so.0 Workaround: uninstall mysql before emerging ulogd. hardened ~ # emerge --info Portage 2.1-r2 (uclibc/x86/hardened, gcc-3.4.6, uclibc-0.9.28-r0, 2.6.17-gentoo-r5 i686) ================================================================= System uname: 2.6.17-gentoo-r5 i686 Intel(R) Pentium(R) D CPU 3.00GHz Gentoo Base System version 1.12.4 distcc 2.18.3 i386-gentoo-linux-uclibc (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 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.59-r7 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-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-gentoo-linux-uclibc" CFLAGS="-march=i386 -Os -pipe -fomit-frame-pointer" CHOST="i386-gentoo-linux-uclibc" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-Os -pipe" DISTDIR="/var/cache/distfiles" FEATURES="autoconfig buildpkg distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/var/cache/packages/default" 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" PORTDIR_OVERLAY="/usr/alpine-portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X509 bitmap-fonts bri bzip2 cli cracklib dlloader dri encode expat extensions hardened iproute2 ipv6 jpeg mad minimal ncurses netboot ogg oss pci pcmcia pic png pppd readline reflection rrdtool sensord session snmp speex spl ssl tdb truetype truetype-fonts type1-fonts uclibc udev usb userlocales winbind wordexp xorg zlib elibc_uclibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Confirmed, I need to patch the configure.in for this.
Created attachment 107833 [details, diff] Proposed patch for configure.in As the Description says :)
Created attachment 107834 [details, diff] Difference file for the ebuild to apply configure.in patch
Thanks, I really didn't want to have to mess with the fugly configure.in :P in cvs!