Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177768 - php-4.4.7 cant be build with apache apache-2.2.4
Summary: php-4.4.7 cant be build with apache apache-2.2.4
Status: RESOLVED DUPLICATE of bug 177697
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 10:59 UTC by Stoian Ivanov
Modified: 2007-05-09 11:03 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 Stoian Ivanov 2007-05-09 10:59:26 UTC
there is no apache MPM that satisfies php demand. Can't find use flag combination that work.
--------------example----------------
root@sdr ~ # equery uses apache
[ Searching for packages matching apache... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for net-www/apache-2.2.4 ]
 U I
 - - debug          : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml .
 - - doc            : Adds extra documentation (API, Javadoc, etc)
 - - ldap           : Adds LDAP support (Lightweight Directory Access Protocol)
 - - mpm-event      : (experimental) Event MPM - a varient of the worker MPM that tries to solve the keep alive problem - requires epoll support and kernel 2.6
 - - mpm-peruser    : (experimental) Peruser MPM - child processes have seperate user/group ids
 + + mpm-prefork    : Prefork MPM - non-threaded, forking MPM - similiar manner to Apache 1.3
 - - mpm-worker     : Worker MPM - hybrid multi-process multi-thread MPM
 - - no-suexec      : Don't install suexec with apache
 - - selinux        : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
 + + ssl            : Adds support for Secure Socket Layer connections
 - - static-modules : Build modules into apache instead of having them load at run time
 - - threads        : Adds threads support for various packages. Usually pthreads
root@sdr ~ # emerge -v php

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-lang/php-4.4.7  USE="apache2 bcmath bzip2 cli crypt curl expat gd iconv imap mhash mysql ncurses nls pcre posix session sockets ssl sysvipc truetype unicode xml zlib -adabas -apache -berkdb -birdstep -calendar -cdb -cgi -cjk -concurrentmodphp -ctype -db2 -dbase -dbmaker -dbx -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd-external -gdbm -gmp -hyperwave-api -informix -inifile -interbase -iodbc -ipv6 -java-external -java-internal -kerberos -ldap -libedit -mcal -mcve -memlimit -ming -mnogosearch -msql -mssql -oci8 -oci8-instant-client -odbc -oracle7 -overload -pcntl -pfpro -pic -postgres -readline -recode -sapdb -sharedext -sharedmem -snmp -solid -spell -sqlite -suhosin -sybase -sybase-ct -threads* -tokenizer -wddx -xmlrpc -xpm -xsl -yaz -zip" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) dev-lang/php-4.4.7 to /
.....
 * 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: No such file or directory
 * 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-4.4.7 failed.
Call stack:
  ebuild.sh, line 1631:   Called dyn_setup
  ebuild.sh, line 703:   Called qa_call 'pkg_setup'
  ebuild.sh, line 44:   Called pkg_setup
  php-4.4.7.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-4.4.7/temp/build.log'.

root@sdr ~ #                                                                   

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-09 11:03:21 UTC

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