Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187185 - www-servers/apache-2.2 stabilization tracker
Summary: www-servers/apache-2.2 stabilization tracker
Status: RESOLVED DUPLICATE of bug 203578
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest normal
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on: 183552 186219 186475 187258 190331 192273 192391 194644
Blocks: 183559
  Show dependency tree
 
Reported: 2007-07-30 21:58 UTC by Benedikt Böhm (RETIRED)
Modified: 2008-01-08 00:53 UTC (History)
5 users (show)

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 Benedikt Böhm (RETIRED) gentoo-dev 2007-07-30 21:58:00 UTC
just a tracker bug for 2.2 stabilization
Comment 1 Nicholas Orr 2007-08-02 04:47:07 UTC
I think goes in here...
I was updating and got this..

make[4]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.4-r11/work/httpd-2.2.4/modules/mappers'
make[3]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.4-r11/work/httpd-2.2.4/modules/mappers'
make[2]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.4-r11/work/httpd-2.2.4/modules'
make[2]: Entering directory `/var/tmp/portage/www-servers/apache-2.2.4-r11/work/httpd-2.2.4/support'
make[2]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.4-r11/work/httpd-2.2.4/support'

make[1]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.4-r11/work/httpd-2.2.4'
make: *** [all-recursive] Error 1

!!! ERROR: www-servers/apache-2.2.4-r11 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  apache-2.2.4-r11.ebuild, line 196:   Called die

!!! emake failed


emerge --info
Portage 2.1.2.11 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.16.33-xenU x86_64)
=================================================================
System uname: 2.6.16.33-xenU x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 02 Aug 2007 01:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.aarnet.edu.au/pub/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bitmap-fonts cli cracklib crypt cups dbus dri fortran gdbm gpm hal iconv ipv6 isdnlog libg++ midi mmx mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl svg tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2007-08-02 07:44:36 UTC
nothing to see in your paste unfortunately. you need to find make[1] which caused the error (you only posted make[2]-make[4]). I guess you need to remerge apr/apr-util...
Comment 3 Nicholas Orr 2007-08-02 10:13:04 UTC
OK so the make[1]doesn't help either?

make[1]: Leaving directory
`/var/tmp/portage/www-servers/apache-2.2.4-r11/work/httpd-2.2.4'
make: *** [all-recursive] Error 1

I'll try remerge apr/apr-util...
Thanks :)
Comment 4 Nicholas Orr 2007-08-08 01:41:25 UTC
Maybe this is related to my problem...
http://bugs.gentoo.org/show_bug.cgi?id=187538

I also tried unmerging apache and then re-merge - but it doesn't work.

Merging without mpm-itk works. So it's just selected the default "prefork"...
Now to figure out how to run this as svn/svn - shouldn't be too hard
Comment 5 Benedikt Böhm (RETIRED) gentoo-dev 2007-08-13 12:26:43 UTC
well, cve 3307 broke nearly all MPMs, will try to fix the prefork based ones at least, but we probably won't stop stabilization because of itk or peruser, since both are unsupported by the apache herd...
Comment 6 Max Nokhrin 2007-08-19 02:50:19 UTC
Maybe this isn't the correct place to post this, but:

It seems your current emerge for 2.2.4-r11 misses an important configuration parameter. There's no Listen directive anywhere. Using the default out-of-the-box configs, the server doesn't respond to any requests. Not even the internal apache2ctl status requests. I needed to manually insert Listen *:80 (or similar) before it started responding.
Comment 7 Benedikt Böhm (RETIRED) gentoo-dev 2007-08-19 06:45:24 UTC
You need to specify at least one of DEFAULT_VHOST or SSL_DEFAULT_VHOST
Comment 8 Max Nokhrin 2007-08-19 12:31:27 UTC
I did. 
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST -D SUEXEC -D PHP4"

Comment 9 Benedikt Böhm (RETIRED) gentoo-dev 2007-08-19 16:47:03 UTC
maybe you did not update the config files?

# grep ^Listen -r /etc/apache2/
/etc/apache2/vhosts.d/00_default_ssl_vhost.conf:Listen 443
/etc/apache2/vhosts.d/00_default_vhost.conf:Listen 80
Comment 10 Max Nokhrin 2007-08-19 18:18:16 UTC
Interesting. Here's my results of the grep:

lastochka apache2 # grep ^Listen -r .
./vhosts.d/00_default_ssl_vhost.conf:Listen 443
./httpd.conf:Listen *:80

I did have the SSL one, but the Listen *:80 in httpd.conf I had to add on my own. I am sure I updated the configs, I ran etc-update and remember that I let all of the updates through for apache.
Comment 11 Max Nokhrin 2007-08-19 18:19:34 UTC
Could it be that there's an issue when DEFAULT_VHOST and SSL_DEFAULT_VHOST are set together?
Comment 12 Benedikt Böhm (RETIRED) gentoo-dev 2007-08-19 19:22:28 UTC
there is no Listen in httpd.conf, it is in 00_default_vhost.conf, but it should have been updated...
Comment 13 Max Nokhrin 2007-08-19 19:25:02 UTC
I added the Listen to httpd.conf manually after I couldn't find it anywhere else in the config files (modules and vhosts included). I have now moved the entry manually into 00_default_vhost. At least for me, it didn't come out of the box. I can rebuild apache-2.2.24 to verify and check if the config file gets updated correctly this time or not.
Comment 14 Max Nokhrin 2007-08-19 20:27:41 UTC
With the rebuild, there were no config files to merge in vhosts (just httpd.conf as I made some other changes in it). 
Comment 15 Ed Wildgoose 2007-08-27 19:03:44 UTC
apache2splitlogfile is missing when using 2.2.4-r12

Any ideas why?
Comment 16 Benedikt Böhm (RETIRED) gentoo-dev 2007-09-09 11:33:56 UTC
(In reply to comment #15)
> apache2splitlogfile is missing when using 2.2.4-r12
> 
> Any ideas why?
> 

apache22t ~ # qlist apache|grep split
/usr/sbin/split-logfile
/usr/sbin/split-logfile2

(In reply to comment #14)
> With the rebuild, there were no config files to merge in vhosts (just
> httpd.conf as I made some other changes in it). 
> 

you probably need to use "emerge --noconfmem ..."
Comment 17 Benedikt Böhm (RETIRED) gentoo-dev 2007-12-30 17:40:24 UTC
closing in favor of #203578

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