Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55699 - apache-2.0.49-r4 ebuild fails
Summary: apache-2.0.49-r4 ebuild fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Chuck Short (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-30 10:56 UTC by Joseph
Modified: 2004-06-30 12:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph 2004-06-30 10:56:37 UTC
After "emerge -uDav world" apache 2 show up for upgrade:
[ebuild     U ] net-www/apache-2.0.49-r4 [2.0.49-r3] +berkdb -doc +gdbm -ipv6 -ldap +ssl -static -threads

However, during compiling I get the following error:
------ error ---------
make[4]: *** [ssl_expr_parse.c] Segmentation fault
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/apache-2.0.49-r4/work/httpd-2.0.49/modules/ssl'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/apache-2.0.49-r4/work/httpd-2.0.49/modules/ssl'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/apache-2.0.49-r4/work/httpd-2.0.49/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/apache-2.0.49-r4/work/httpd-2.0.49'
make: *** [all-recursive] Error 1

!!! ERROR: net-www/apache-2.0.49-r4 failed.
!!! Function src_compile, Line 202, Exitcode 2
!!! problem compiling Apache2 :(
---- end error -----------

Here is my emerge info:
[root@syscon1 /]# emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r6)
=================================================================
System uname: 2.6.7-gentoo-r6 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
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 /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://206.75.217.180/ ftp://206.75.217.205/ ftp://206.75.217.181/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dvd encode esd foomaticdb gdbm gif gpm gtk gtk2 gtkhtml guile imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss other_var1 other_var2 pam pdflib perl png postgres ppds python qt quicktime readline sdl slang spell ssl svga tcpd tetex tiff truetype x86 xml2 xmms xv zlib"

Any idea what might have cause it and how to fix it?

--
Regards,
Joseph

Reproducible: Always
Steps to Reproduce:
1.# emerge apache
2.
3.

Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) net-www/apache-2.0.49-r4 to /
>>> md5 src_uri ;-) httpd-2.0.49.tar.gz
>>> md5 src_uri ;-) apache-patches-2.0.49-r4.tar.bz2
>>> Unpacking source...
>>> Unpacking httpd-2.0.49.tar.gz to /var/tmp/portage/apache-2.0.49-r4/work
>>> Unpacking apache-patches-2.0.49-r4.tar.bz2 to
/var/tmp/portage/apache-2.0.49-r4/work
 * Applying 00_gentoo_apache_dos.patch...                                      
                                                  [ ok ]
 * 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 ]
ssl
 * Applying 01_ssl_verify_client.patch...                                      
                                                  [ ok ]
berkdb
 * Enabling berkdb.
 * Enabling db4
 * 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.4.3 (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.
 * DATADIR is set to: /var/www/localhost
 * USERDIR is set to: public_html
 * /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-r4/work/httpd-2.0.49/config.cache
checking for chosen layout... Gentoo
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-06-30 11:00:22 UTC
sounds somewhat like bug #20600 (compilation metabug).
Comment 2 Joseph 2004-06-30 12:21:18 UTC
Problem SOLVED!
After restarting the system the "emerge apache" worked as expected - sounds more like Windows 98 solution to me, but it worked :-/
Though with regards to comments on the earlier pinter to buggy hardware.  I would say it is more like buggy software than hardware.