Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 193282

Summary: www-servers/apache-2.2.6 compilation fails - undefined reference to `ap_mpm_set_exception_hook'
Product: Gentoo Linux Reporter: Gabor Garami <gabor.garami>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info output

Description Gabor Garami 2007-09-21 06:20:55 UTC
Reproduce:
Merge the apache-2.2.6 with mpm_peruser and ssl USE flag

----------------------------------------------------------------------------------
make[1]: Entering directory `/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6'
/usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium3 -pipe  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG    -I. -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/os/unix -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/server/mpm/experimental/peruser -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/http -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/filters -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/proxy -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/include -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/generators -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/mappers -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/database -I/usr/include/apr-1 -I/usr/include/db4.5 -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/proxy/../generators -I/usr/include -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/ssl -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/dav/main  -prefer-non-pic -static -c modules.c && touch modules.lo
i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium3 -pipe  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG    -I. -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/os/unix -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/server/mpm/experimental/peruser -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/http -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/filters -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/proxy -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/include -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/generators -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/mappers -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/database -I/usr/include/apr-1 -I/usr/include/db4.5 -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/proxy/../generators -I/usr/include -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/ssl -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/dav/main  -c /var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/server/buildmark.c
/usr/bin/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium3 -pipe   -Wl,--no-as-needed -L/usr/lib  -Wl,--no-as-needed -o apache2  modules.lo buildmark.o -export-dynamic server/libmain.la modules/http/libmod_http.la modules/mappers/libmod_so.la server/mpm/experimental/peruser/libperuser.la os/unix/libos.la -lm -L/usr/lib -lpcre /usr/lib/libaprutil-1.la -lgdbm -ldb -lexpat /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl 
server/.libs/libmain.a(core.o):(.rodata+0x64c): undefined reference to `ap_mpm_set_exception_hook'
collect2: ld returned 1 exit status
make[1]: *** [apache2] Error 1
make[1]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6'
make: *** [all-recursive] Error 1
-----------------------------------------------------------------------------
build.log and emerge --info will be attached
www-servers/apache-2.2.4-r12 isn't affected in this bug
Comment 1 Gabor Garami 2007-09-21 06:21:50 UTC
Created attachment 131485 [details]
build.log

Apache build.log
Comment 2 Gabor Garami 2007-09-21 06:22:55 UTC
Created attachment 131486 [details]
emerge --info output

emerge --info
Comment 3 Gabor Garami 2007-09-21 06:23:51 UTC
This bug affected on Athlon XP machine too.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-09-21 06:38:56 UTC

*** This bug has been marked as a duplicate of bug 192025 ***