Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177870 - net-www/apache-2.2.4 (mpm-prefork -threads) and dev-lang/php-5.2.2-r1 (-threads) wont mix
Summary: net-www/apache-2.2.4 (mpm-prefork -threads) and dev-lang/php-5.2.2-r1 (-threa...
Status: RESOLVED DUPLICATE of bug 177697
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 22:12 UTC by Markus Tacker
Modified: 2007-05-09 22:15 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 Markus Tacker 2007-05-09 22:12:40 UTC
# cat '/var/tmp/portage/dev-lang/php-5.2.2-r1/temp/build.log'
 * Determining SAPI(s) to build
 *   Enabled  SAPI: cli
 *   Disabled SAPI: cgi
 *   Disabled SAPI: apache
 *   Enabled  SAPI: apache2
 * 
 * If this package fails with a fatal error about Apache2 not having
 * been compiled with a compatible MPM, this is normally because you
 * need to toggle the 'threads' USE flag.
 * 
 * If 'threads' is off, try switching it on.
 * If 'threads' is on, try switching it off.
 * 
/usr/portage/eclass/apache-module.eclass: line 243: //usr/sbin/apxs2: File or Directory not found
 * The module you are trying to install (php)
 * will only work with one of the following MPMs:
 *    itk peruser prefork
 * You do not currently have any of these MPMs installed.
 * Please re-install apache with the correct mpm-* USE flag set.

!!! ERROR: dev-lang/php-5.2.2-r1 failed.
Call stack:
  ebuild.sh, line 1630:   Called dyn_setup
  ebuild.sh, line 702:   Called qa_call 'pkg_setup'
  ebuild.sh, line 38:   Called pkg_setup
  php-5.2.2-r1.ebuild, line 64:   Called apache-module_pkg_setup
  apache-module.eclass, line 374:   Called apache2_pkg_setup
  apache-module.eclass, line 255:   Called die

!!! No safe MPM installed.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-lang/php-5.2.2-r1/temp/build.log'.



What's this: 
/usr/portage/eclass/apache-module.eclass: line 243: //usr/sbin/apxs2: File or Directory not found


# emerge --info
Portage 2.1.2.2 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 09 May 2007 03:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
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.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php4/ext-active/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php4/ext-active/ /e
tc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-act
ive/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://ds.thn.htu.se/linux/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ http://ft
p.lug.ro/gentoo/ ftp://ftp.nyx.hu/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo http://gentoo.po.opole.pl http://www.die.unipd.it/pub/Linux/di
stributions/gentoo-sources/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirrors.evolva.ro/gentoo/ ftp://mirror.switch.ch/mirr
or/gentoo/ http://gentoo.prz.rzeszow.pl http://mirror.etf.bg.ac.yu/gentoo http://darkstar.ist.utl.pt/gentoo/ http://gentoo.ynet.sk/pub"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j1"
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="/root/php-portage-overlay/testing /root/php-portage-overlay/experimental /root/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext acl acpi apache2 backendonly berkdb bri cairo cdr cli cracklib crypt dri dts dvb dvdr dvdread eds emboss encode evo fam firefox
 fortran gdbm gif gpm gstreamer iconv imap isdnlog jpeg libg++ mad midi mikmod mmx mmxext mp3 mpeg mysql ncurses nls nptl nptlonly ogg pam pcre pdf
 perl png postfix pppd python qt3 qt3support qt4 quicktime readline reflection samba session slang spell spl sse ssl tcpd tiff truetype unicode vho
sts vorbis win32codecs x264 x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 d
mix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glib
c" FRITZCAPI_CARDS="fcpci" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxor
b ncurses text" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2007-05-09 22:15:16 UTC

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