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

Bug 55128

Summary: emerge net-www/apache-2.0.49-r3 bad ./configure
Product: Gentoo Linux Reporter: Sandman <sandman>
Component: New packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: VERIFIED DUPLICATE    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sandman 2004-06-25 01:40:16 UTC
When I try to emerge net-www/apache-2.0.49-r3 it fails with:

washington root # emerge apache
Calculating dependencies ...done!
>>> emerge (1 of 1) net-www/apache-2.0.49-r3 to /
*** Adjusting cvs-src permissions for portage user...
>>> Downloading ftp://ftp.easynet.nl/mirror/gentoo/distfiles/httpd-2.0.49.tar.gz
--10:35:18--  ftp://ftp.easynet.nl/mirror/gentoo/distfiles/httpd-2.0.49.tar.gz
           => `/usr/portage/distfiles/httpd-2.0.49.tar.gz'
Resolving ftp.easynet.nl... 195.86.128.57
Connecting to ftp.easynet.nl[195.86.128.57]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /mirror/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR httpd-2.0.49.tar.gz ... done.
Length: 5,919,279 (unauthoritative)

100%[====================================>] 5,919,279    119.62K/s    ETA 00:00

10:36:28 (118.61 KB/s) - `/usr/portage/distfiles/httpd-2.0.49.tar.gz' saved [5919279]

>>> Downloading ftp://ftp.easynet.nl/mirror/gentoo/distfiles/apache-patches-2.0.49-r3.tar.bz2
--10:36:28--  ftp://ftp.easynet.nl/mirror/gentoo/distfiles/apache-patches-2.0.49-r3.tar.bz2
           => `/usr/portage/distfiles/apache-patches-2.0.49-r3.tar.bz2'
Resolving ftp.easynet.nl... 195.86.128.57
Connecting to ftp.easynet.nl[195.86.128.57]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /mirror/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR apache-patches-2.0.49-r3.tar.bz2 ... done.
Length: 182,905 (unauthoritative)

100%[====================================>] 182,905      114.82K/s

10:36:40 (114.42 KB/s) - `/usr/portage/distfiles/apache-patches-2.0.49-r3.tar.bz2' saved [182905]

>>> md5 src_uri ;-) httpd-2.0.49.tar.gz
>>> md5 src_uri ;-) apache-patches-2.0.49-r3.tar.bz2
>>> Unpacking source...
>>> Unpacking httpd-2.0.49.tar.gz to /var/tmp/portage/apache-2.0.49-r3/work
>>> Unpacking apache-patches-2.0.49-r3.tar.bz2 to /var/tmp/portage/apache-2.0.49-r3/work
 * Applying 00_gentoo_base.patch...                                       [ ok ]
 * Applying 01_gentoo_cvs_sync.patch...                                   [ ok ]
 * Applying 03_redhat_xfsz.patch...                                       [ ok ]
 * Applying 01_gentoo_cgi.patch...                                        [ ok ]
 * Applying 04_ssl_makefile.patch...                                      [ ok ]
 * Applying 01_ssl_engine_kernel.patch...                                 [ ok ]
ipv6
 * Applying 01_gentoo_ipv6.patch...                                       [ ok ]
ldap
 * Applying 01_apache_ldap_fixes.patch...                                 [ ok ]
ssl
 * Applying 01_ssl_verify_client.patch...                                 [ ok ]
 * Replacing obsolete head/tail with POSIX compliant ones
rebuilding srclib/apr/configure
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: libtool version 1.5.2 (ok)
Copying libtool helper files ...
buildconf: Using libtool.m4 at /usr/share/aclocal/libtool.m4.
Creating include/arch/unix/apr_private.h.in ...
autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59:
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59:
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59:                [Define if a function `main' is needed.])
autoheader-2.59:
autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.59: WARNING: documentation.
Creating configure ...
rebuilding srclib/apr-util/configure

Looking for apr source in ../apr
Creating include/private/apu_config.h ...
Creating configure ...
Invoking xml/expat/buildconf.sh ...
Incorporating /usr/share/aclocal/libtool.m4 into aclocal.m4 ...
Copying libtool helper files ...
Creating config.h.in ...
autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59:
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59:
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59:                [Define if a function `main' is needed.])
autoheader-2.59:
autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.59: WARNING: documentation.
Creating configure ...
copying build files
rebuilding srclib/pcre/configure
rebuilding include/ap_config_auto.h.in
autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59:
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59:
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59:                [Define if a function `main' is needed.])
autoheader-2.59:
autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.59: WARNING: documentation.
rebuilding configure
rebuilding rpm spec file
>>> Source unpacked.
berkdb
 * DATADIR is set to: /var/www/localhost
 * USERDIR is set to: public_html
 * DB verison detected is db4
ldap
 * Enabling LDAP
ipv6
 * Enabling ipv6
 * /etc/apache2/apache2-builtin-mods options:
 --disable-example --enable-access=shared --enable-auth=shared --enable-auth_dbm=shared --enable-auth_anon=shared --enable-auth_digest=shared --enable-alias=shared --enable-file-cache=shared --enable-echo=shared --enable-charset-lite=shared --enable-cache=shared --enable-disk-cache=shared --enable-mem-cache=shared --enable-ext-filter=shared --enable-case_filter=shared --enable-case-filter-in=shared --enable-deflate=shared --enable-mime-magic=shared --enable-cern-meta=shared --enable-expires=shared --enable-headers=shared --enable-usertrack=shared --enable-unique-id=shared --enable-proxy=shared --enable-proxy-connect=shared --enable-proxy-ftp=shared --enable-proxy-http=shared --enable-ssl=shared --disable-optional-hook-export --disable-optional-hook-import --disable-optional-fn-import --disable-optional-fn-export --disable-bucketeer --enable-info=shared --enable-include=shared --enable-cgi=shared --enable-cgid=shared --enable-dav=shared --enable-dav-fs=shared --enable-vhost-alias=shared --enable-speling=shared --enable-rewrite=shared --enable-log_config=shared --enable-logio=shared --enable-env=shared --enable-setenvif=shared --enable-mime=shared --enable-status=shared --enable-autoindex=shared --enable-asis=shared --enable-negotiation=shared --enable-dir=shared --enable-imap=shared --enable-actions=shared --enable-userdir=shared --enable-so=yes
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
checking for chosen layout... Gentoo
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
updating cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
configuring package in srclib/apr now
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking target system type... (cached) i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... (cached) yes
APR Version: 0.9.5
checking for chosen layout... apr
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr

!!! ERROR: net-www/apache-2.0.49-r3 failed.
!!! Function src_compile, Line 192, Exitcode 1
!!! bad ./configure please submit bug report to bugs.gentoo.org. Include your config.layout.

Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge -uD world
3.emerge apache

Actual Results:  
Same problem as before


washington root # emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acpi alsa apache2 apm arts avi berkdb crypt cscope cups
dedicated dga directfb doc emacs emacs-w3 encode esd ethereal fastcgi fbcon flac
flash foomaticdb gd gdbm gftp gif gnome gphoto gpm gps gstreamer gtk gtk2
gtkhtml guile icq imagemagick imlib ipv6 jabber jack java jikes joystick jpeg
kde ladcca lcms ldap leim libg++ libwww mad maildir mc mcal mikmod mmx motif
mozilla mpeg mpi msn mule mysql nas ncurses nls nocardbus oggvorbis opengl oscar
oss pam pda pdflib perl php php4 png ppds python qt quicktime readline samba
scanner sdl slang slp speex spell sse ssl svga tcltk tcpd tiff truetype unicode
usb video_cards_radeon wmf wxwindows x86 xml xml2 xmms xosd xv yahoo zlib"
Comment 1 Sven Wegener gentoo-dev 2004-06-25 01:44:25 UTC

*** This bug has been marked as a duplicate of 54932 ***
Comment 2 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-23 19:59:57 UTC
Closing.