Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166662 - net-www/apache-2.0.58-r2 with USE="static-modules" httpd.conf tries to load modules
Summary: net-www/apache-2.0.58-r2 with USE="static-modules" httpd.conf tries to load m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: PPC64 Linux
: High minor (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-13 13:57 UTC by Thomas Cort (RETIRED)
Modified: 2007-05-23 21:02 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 Thomas Cort (RETIRED) gentoo-dev 2007-02-13 13:57:10 UTC
When emerge'ing apache with USE="static-modules", the default configuration file contains "LoadModule" statements for modules that are built-in and can't be loaded.

Reproducible: Always

Steps to Reproduce:
1. emerge apache
2. /etc/init.d/apache2 start

Actual Results:  
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 242 of /etc/apache2/httpd.conf:
module access_module is built-in and can't be loaded


Expected Results:  
The ebuild should run 'sed' to comment out the 'LoadModule' lines httpd.conf when the static-modules USE flag is enabled.

# emerge --info
Portage 2.1.2-r9 (default-linux/ppc/ppc64/2006.1/64bit-userland/power5, gcc-3.4.6, glibc-2.3.6-r5, 2.6.19-gentoo-r5 ppc64)
=================================================================
System uname: 2.6.19-gentoo-r5 ppc64 POWER5+ (gs)
Gentoo Base System release 1.12.8
Timestamp of tree: Tue, 13 Feb 2007 12:20:01 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mtune=power5 -mcpu=power5"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=power5 -mcpu=power5"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ http://adelie.polymtl.ca/ http://gentoo.mirrors.pair.com/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.mirrors.tds.net/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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="apache2 apm berkdb bitmap-fonts cli cracklib cups dlloader eds emboss encode esd foomaticdb gcc64 gdbm gif gpm ibm iconv imlib jpeg ldap libg++ libwww logrotate midi mikmod ncurses nls nptl nptlonly pam pcre perl png ppc64 pppd python readline reflection session spell spl sqlite ssl static-modules symlink tcpd truetype truetype-fonts type1-fonts unicode xml zlib" 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="ati dummy fbdev mga nv sisusb v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Heim (RETIRED) gentoo-dev 2007-05-23 21:02:08 UTC
This is also fixed with the latest =apache-2.2.4*.