QA Notice: USE Flag 'mpm-metux' not in IUSE for net-www/apache-2.0.53 * No MPM style was specified, defaulting to mpm-prefork. make: *** No rule to make target `clean'. Stop. 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. configure: loading cache /var/tmp/portage/apache-2.0.53/work/httpd-2.0.53/config.cache checking for chosen layout... Gentoo checking for working mkdir -p... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Configuring Apache Portable Runtime library ... checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file. # emerge -pv apr apr-util These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] dev-libs/apr-0.9.6-r1 [0.9.6] -debug +ipv6 0 kB [ebuild R ] dev-libs/apr-util-0.9.6 +berkdb +gdbm -ldap 0 kB # emerge info Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 5 2005, 05:04:58)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r4 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mtune=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd emboss encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde libg++ libwww mad maildir mailwrapper mikmod milter motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline samba sasl sdl slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Hmmm, just for completeness, I did an emerge --deep apache -uv, which upgraded apr to apr-0.9.6-r1, and I now get # emerge -pv apr apr-util These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-libs/apr-0.9.6-r1 -debug +ipv6 0 kB [ebuild UD] dev-libs/apr-0.9.6 [0.9.6-r1] -debug +ipv6 0 kB [ebuild R ] dev-libs/apr-util-0.9.6 +berkdb +gdbm -ldap 0 kB Which is not at all what I expected, and apache still fails to build: checking for chosen layout... Gentoo checking for working mkdir -p... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Configuring Apache Portable Runtime library ... checking for APR... yes setting CC to "i686-pc-linux-gnu-gcc" setting CPP to "i686-pc-linux-gnu-gcc -E" adding "-pthread" to CFLAGS setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" setting LDFLAGS to " " setting INCLUDES to " -I/usr/include/apr-0 " Configuring Apache Portable Runtime Utility library... checking for APR-util... configure: error: The directory given to --with-apr-util does not specify a prefix for an installed APU, nor an APR-util build directory. !!! ERROR: net-www/apache-2.0.53 failed. !!! Function src_compile, Line 123, Exitcode 1 !!! bad ./configure please submit bug report to bugs.gentoo.org. Include your config.layout and config.log !!! If you need support, post the topmost build error, NOT this status message.
g2boojum, could you attach your config.log please ? :)
Oh, shucks. I just unmerged apr and apr-util, and I did an emerge -pv apache, which wanted to build apr-0.9.6, apr-0.9.6-r1, and apr-util-0.9.6 before building apache (not so nice), and then I just did an "emerge =dev-libs/apr-0.9.6 =dev-libs/apr-util-0.9.6", followed by "emerge apache", and that successfully built apache-2.0.53. Thus, I managed to make my problem completely unreproducible. Sorry about that! I'm closing this bug for now, and hoping the next person who runs into this problem will reopen it and attach a config.log.