Summary: | net-www/apache-2.0.52-r3 compile failed. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Przemo Byczynski <przemo> |
Component: | New packages | Assignee: | Apache Team - Bugzilla Reports <apache-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | andyreif, geekypenguin |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
exports.c
apache emerge log config.layout config.log |
Description
Przemo Byczynski
2005-02-28 13:05:47 UTC
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future. Infrastructure is not the correct addressee. erm... that sounds weird. what did you do? emerging apache repeately? with pressing CTRL-C on first time or so? Can you attach the full `emerge -v apache` output please? please wipe out your /var/tmp/portage/* directory before emerging (just to be sure) exports.c:2050: error: redefinition of 'ap_hack_ap_send_http_options' exports.c:1452: error: previous definition of 'ap_hack_ap_send_http_options' was here exports.c:2055: error: redefinition of 'ap_hack_ap_hook_get_suexec_identity' exports.c:1491: error: previous definition of 'ap_hack_ap_hook_get_suexec_identity' was here exports.c:2056: error: redefinition of 'ap_hack_ap_hook_get_get_suexec_identity' exports.c:1492: error: previous definition of 'ap_hack_ap_hook_get_get_suexec_identity' was here exports.c:2057: error: redefinition of 'ap_hack_ap_run_get_suexec_identity' exports.c:1493: error: previous definition of 'ap_hack_ap_run_get_suexec_identity' was here exports.c:2058: error: redefinition of 'ap_hack_unixd_setup_child' exports.c:1494: error: previous definition of 'ap_hack_unixd_setup_child' was here exports.c:2059: error: redefinition of 'ap_hack_unixd_pre_config' exports.c:1495: error: previous definition of 'ap_hack_unixd_pre_config' was here exports.c:2060: error: redefinition of 'ap_hack_unixd_set_user' exports.c:1496: error: previous definition of 'ap_hack_unixd_set_user' was here exports.c:2061: error: redefinition of 'ap_hack_unixd_set_group' exports.c:1497: error: previous definition of 'ap_hack_unixd_set_group' was here exports.c:2063: error: redefinition of 'ap_hack_unixd_set_rlimit' exports.c:1499: error: previous definition of 'ap_hack_unixd_set_rlimit' was here exports.c:2065: error: redefinition of 'ap_hack_unixd_set_proc_mutex_perms' exports.c:1501: error: previous definition of 'ap_hack_unixd_set_proc_mutex_perms' was here exports.c:2066: error: redefinition of 'ap_hack_unixd_set_global_mutex_perms' exports.c:1502: error: previous definition of 'ap_hack_unixd_set_global_mutex_perms' was here exports.c:2067: error: redefinition of 'ap_hack_unixd_accept' exports.c:1503: error: previous definition of 'ap_hack_unixd_accept' was here make[2]: *** [exports.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/apache-2.0.52-r3/work/httpd-2.0.52/server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/apache-2.0.52-r3/work/httpd-2.0.52/server' make: *** [all-recursive] Error 1 Please upgrade your version of awk. awk is not the issue here I have latest version already installed. This is still a different error to the one that was posted at the opening of this report. If this can always be reproduced, how come you can get passed a dyiing configure run? Any how, please post the output from "emerge info". I am positive seeing I just checked LOL. I sure will be glade once I get my developers status done so you folks quit questioning what I post. Portage 2.0.51.18 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686) ================================================================= System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(TM) XP2200+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.4-r2 [2.4 (#1, Feb 28 2005, 20:49:10)] dev-lang/python: 2.4-r2 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.9.4, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1 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 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/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/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo" LDFLAGS="-Wl,-O1 -Wl,--sort-common" MAKEOPTS="-j2" 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 3dnow X alsa apache2 avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr emboss encode f77 fam flac foomaticdb fortran gcj gdbm gif gpm gstreamer gtk gtk2 imagemagick imap imlib ipv6 java javascript jpeg libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls nowin nptl nptlonly oggvorbis opengl pam pdflib perl php png python qt quicktime readline sdl spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts userlocales vhost xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL As to how it is passing configure who knows, but here is the info you would like to see!! And for those that are wondering yes I have gawk 3.1.4-r4 installed. Don't worry, we're not picking on you in particular, we question everyone ;) But seriously, in this case, none of us have run into this problem and we need to be sure on the relevant information. Are you by any chance upgrading from stable to 2.0.52-r3? The update is from -r2 now my wife says she didnt have a problem LOL guess it is just me. ~shrugs~ Please attach /var/tmp/portage/apache-2.0.52-r3/work/httpd-2.0.52/server/exports.c. Created attachment 52420 [details]
exports.c
hope it helps.
You have a bunch of Apache header files in /usr/include/apache2. exports.c is wrongly including them. so are you suggesting I emerge -C apache and make sure all headers are removed and everything before re-emerging apache. well after removing every trace of apache the configure fails LOL would you like me to post error here or open new bug on it Please post the error (with context) here. 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. Could you please attach /var/tmp/portage/apache-2.0.52-r3/work/httpd-2.0.52/config.log here and post the output of "emerge -pv apache apr apr-util"? aight I found the problem. I was in the middle of rebuilding those deps when you sent that message out. It was simple not reading everything probabably and most likely my fault. Simply re-emerging the "apr apr-util" it compiled fine. Sorry for my stupidy. Cool, resolving bug. :) I run into the same problem as in the original post, however with apache-2.0.58: configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm /var/tmp/portage/apache-2.0.58/work/httpd-2.0.58/config.cache' and start over configure failed for srclib/pcre I didn't update for a couple of months and now as I tried this is the only package that continuously fails to build. I tried to unmerge the old package, but the new one still fails to build. I tried to reemerge apr apr-util as recommended in comment #21 and also libpcre, but it didn't help. I also wiped out /var/tmp/portage several times. The gawk version: sys-apps/gawk-3.1.5-r1. # emerge -pv apache These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-www/apache-2.0.58 [2.0.55-r1] USE="apache2 doc ssl -debug -ldap* -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker -no-suexec -static-modules -threads" 0 kB or (after unmerging): [ebuild N ] net-www/apache-2.0.58 USE="apache2 doc ssl -debug -ldap -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker -no-suexec -static-modules -threads" 0 kB # emerge --info Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r7 i686) ================================================================= System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.6.15 ccache version 2.3 [disabled] dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -ggdb " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -ggdb " DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict userfetch userpriv userpriv_fakeroot usersandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo" LC_ALL="en_US.UTF-8" LINGUAS="en en_US de ru" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acl alsa apache2 apm arts artswrappersuid avi berkdb bitmap-fonts cdparanoia cdr cli crypt cups divx4linux dlloader doc dri dvd dvdr dvdread eds emacs emboss encode f77 ffmpeg firefox foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 imagemagick imap imlib ipv6 isdnlog java jpeg jpeg2k junit kde libg++ libwww live mad mikmod mmx mng motif mozcalendar mozdevelop mozilla mozsvg mp3 mpeg mysql mythtv ncurses nls objc ogg oggvorbis opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline real reflection scanner sdl session spell spl sse ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32codecs wma wmf xml2 xmms xorg xprint xv xvid zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en linguas_en_US linguas_de linguas_ru userland_GNU video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS The complete emerge log, config.layout and config.log will be added as attachments. The file /var/tmp/portage/apache-2.0.58/work/httpd-2.0.58/server/exports.c is not there (comment #13). Created attachment 91076 [details]
apache emerge log
Created attachment 91077 [details]
config.layout
Created attachment 91078 [details]
config.log
This is caused by errant spaces/newlines in CFLAGS. Remove any newlines and double-spaces and the problem will go away. Yes, thanks. I should have searched for other reports with this problem, e.g. bug 106447. |