Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 123320
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Apache Team - Bugzilla Reports <apache-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Julien Gage <lancelott@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 123320 depends on: Show dependency tree
Bug 123320 blocks: 114232
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-18 15:18 0000
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

------- Comment #1 From Jakub Moc (RETIRED) 2006-02-21 02:07:16 0000 -------
*** Bug 123591 has been marked as a duplicate of this bug. ***

------- Comment #2 From Piter Elagin 2006-02-21 02:20:04 0000 -------
compile with USE='-ipv6' has call same error =(

------- Comment #3 From Jakub Moc (RETIRED) 2006-02-22 00:18:54 0000 -------
*** Bug 123665 has been marked as a duplicate of this bug. ***

------- Comment #4 From Jakub Moc (RETIRED) 2006-02-22 01:42:20 0000 -------
Patch in duplicate Bug 123665

------- Comment #5 From Jesús García Crespo (aka Sevein) 2006-02-26 11:05:26 0000 -------
The same here: I had to compile apr with IPV6 support to be able to compile
apache 2.2, :).

------- Comment #6 From Michael Stewart (vericgar) (RETIRED) 2006-02-28 09:03:30 0000 -------
This is fixed upstream, but not released yet. Adding the upstream bug report to
the URL so I can find it again.

------- Comment #7 From younker 2006-03-06 19:52:37 0000 -------
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 

------- Comment #8 From Jakub Moc (RETIRED) 2006-03-20 23:10:40 0000 -------
*** Bug 127035 has been marked as a duplicate of this bug. ***

------- Comment #9 From Jakub Moc (RETIRED) 2006-04-02 06:22:31 0000 -------
*** Bug 128513 has been marked as a duplicate of this bug. ***

------- Comment #10 From Conrad Kostecki 2006-04-09 03:00:13 0000 -------
http://bugs.gentoo.org/show_bug.cgi?id=129323

New Version, IPv6 Bug is gone ...

------- Comment #11 From Jakub Moc (RETIRED) 2006-05-01 23:07:14 0000 -------
*** Bug 131969 has been marked as a duplicate of this bug. ***

------- Comment #12 From Conrad Kostecki 2006-05-02 02:04:58 0000 -------
Hi There!

Same Error with APR-1.2.7 ...

------- Comment #13 From Conrad Kostecki 2006-05-02 02:09:08 0000 -------
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

------- Comment #14 From Michael Stewart (vericgar) (RETIRED) 2006-06-06 17:20:03 0000 -------
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)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug