I have verified that it does compile when I compile dev-lis/apr with USE=ipv6. Otherwise, it fails with the following error: /usr/share/apr-1/build-1/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread -O2 -march=pentium2 -fno-ident -fomit-frame-pointer -pipe -L/usr/lib -o htdigest htdigest.lo -lm /var/tmp/portage/apache-2.2.0/work/httpd-2.2.0/srclib/pcre/libpcre.la /usr/lib/libaprutil-1.la -lgdbm -ldb-4.2 -lsqlite3 -lsqlite -lexpat /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl /usr/lib/libapr-1.so: undefined reference to `sock_is_ipv6' /usr/lib/libapr-1.so: undefined reference to `find_if_index' collect2: ld returned 1 exit status make[2]: *** [htpasswd] Error 1 make[2]: *** Waiting for unfinished jobs.... /usr/lib/libapr-1.so: undefined reference to `sock_is_ipv6' /usr/lib/libapr-1.so: undefined reference to `find_if_index' collect2: ld returned 1 exit status make[2]: *** [htdigest] Error 1 make[2]: Leaving directory `/var/tmp/portage/apache-2.2.0/work/httpd-2.2.0/support' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/apache-2.2.0/work/httpd-2.2.0/support' make: *** [all-recursive] Error 1 !!! ERROR: net-www/apache-2.2.0 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile Here's my emerge info: Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.13 i686) ================================================================= System uname: 2.6.13 i686 Pentium II (Deschutes) Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium2 -fno-ident -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium2 -fno-ident -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="en_GB.UTF-8" 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 apache2 bash-completion bdb berkdb bzip2 cli cups curl curlwrappers dba erandom extraengine fastcgi foomaticdb ftp gd gdbm glibc-omitfp inifile innodb jpeg mpm-prefork mysql mysqli nls nomalloccheck nptl nptlonly pam pcre perl php ppds python readline samba session sftplogging simplexml sockets sqlite sqlite3 ssl symlink tiff tokenizer unicode urandom usb userlocales utf8 xml xml2 xsl zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS
*** Bug 123591 has been marked as a duplicate of this bug. ***
compile with USE='-ipv6' has call same error =(
*** Bug 123665 has been marked as a duplicate of this bug. ***
Patch in duplicate Bug 123665
The same here: I had to compile apr with IPV6 support to be able to compile apache 2.2, :).
This is fixed upstream, but not released yet. Adding the upstream bug report to the URL so I can find it again.
Maybe ipv6 should be default value for apr-1.2.x I can't merge apache 2.2.0 with the apr merged use -ipv6
*** Bug 127035 has been marked as a duplicate of this bug. ***
*** Bug 128513 has been marked as a duplicate of this bug. ***
http://bugs.gentoo.org/show_bug.cgi?id=129323 New Version, IPv6 Bug is gone ...
*** Bug 131969 has been marked as a duplicate of this bug. ***
Hi There! Same Error with APR-1.2.7 ...
Here is the Error of Apache 2.2.0-r2 Compile: /usr/share/apr-1/build-1/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread -fomit-frame-pointer -march=pentium-m -mmmx -msse -msse2 -Os -pipe -L/usr/lib -o htdigest htdigest.lo -lm /var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/srclib/pcre/libpcre.la /usr/lib/libaprutil-1.la -lexpat /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl /usr/lib/libapr-1.so: undefined reference to `find_if_index' collect2: ld returned 1 exit status make[2]: *** [htpasswd] Fehler 1 make[2]: *** Warte auf noch nicht beendete Prozesse... /usr/lib/libapr-1.so: undefined reference to `find_if_index' collect2: ld returned 1 exit status make[2]: *** [htdigest] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/support' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/apache-2.2.0-r2/work/httpd-2.2.0/support' make: *** [all-recursive] Fehler 1 !!! ERROR: net-www/apache-2.2.0-r2 failed. Call stack: ebuild.sh, line 1532: Called dyn_compile ebuild.sh, line 929: Called src_compile apache-2.2.0-r2.ebuild, line 195: Called die !!! problem compiling apache2 !!! If you need support, post the topmost build error, and the call stack if
Fixed in CVS (ipv6 USE-flag is now ignored until upstream fixes the issue, enabling ipv6 for this package works just fine for ipv4 networks)