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

Bug 94634

Summary: apache-2.0.54-r5 compilation error on AMD64
Product: Gentoo Linux Reporter: Jeff Heard <heard>
Component: [OLD] ServerAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeff Heard 2005-05-31 09:28:49 UTC
/usr/lib/apache2/build/libtool --silent --mode=compile x86_64-pc-linux-gnu-gcc 
-pthread  -O2 -march=k8 -fomit-frame-pointer  -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER   -I/usr/include/apache2 -I.
-I/var/tmp/portage/apache-2.0.54-r5/work/httpd-2.0.54/os/unix
-I/var/tmp/portage/apache-2.0.54-r5/work/httpd-2.0.54/server/mpm/prefork
-I/var/tmp/portage/apache-2.0.54-r5/work/httpd-2.0.54/modules/http
-I/var/tmp/portage/apache-2.0.54-r5/work/httpd-2.0.54/modules/filters
-I/var/tmp/portage/apache-2.0.54-r5/work/httpd-2.0.54/modules/proxy
-I/var/tmp/portage/apache-2.0.54-r5/work/httpd-2.0.54/include
-I/var/tmp/portage/apache-2.0.54-r5/work/httpd-2.0.54/modules/generators
-I/usr/include/openssl
-I/var/tmp/portage/apache-2.0.54-r5/work/httpd-2.0.54/modules/dav/main
-prefer-non-pic -static -c scoreboard.c && touch scoreboard.lo
scoreboard.c:428: error: conflicting types for 'ap_time_process_request'
/usr/include/apache2/scoreboard.h:166: error: previous declaration of
'ap_time_process_request' was here
scoreboard.c:428: error: conflicting types for 'ap_time_process_request'
/usr/include/apache2/scoreboard.h:166: error: previous declaration of
'ap_time_process_request' was here
make[2]: *** [scoreboard.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/apache-2.0.54-r5/work/httpd-2.0.54/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/apache-2.0.54-r5/work/httpd-2.0.54/server'
make: *** [all-recursive] Error 1


Reproducible: Always
Steps to Reproduce:
1. sudo emerge world # with apache 2 in world file.
2.
3.

Actual Results:  
compilation failed due to conflicting C/H files


USE="-kde -qt gtk2 gnome gtkhtml aim yahoo msn avi dvdr dvd dvdread mpeg ffmpeg
win32codecs xine encode mp3 ogg oggvorbis nptl alsa alsa-oss truetype offensive
cdr calendar dio divx4linux mysql mysqli gif innodb java mmx php readline samba
usb vcd amd64 svg jpeg png hal"
Comment 1 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-05-31 19:01:29 UTC
this looks like an issue with apr based on the libtool path - libtool on my
system (not amd64 but I don't think this makes a difference in this case) is
/usr/share/apr-0/build/libtool.

What versions of apr and apr-util do you have installed?
Comment 2 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-07-11 20:19:15 UTC
waiting for information from reporter.