Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110925 - USE="-fdftk" emerge dev-lang/php fails
Summary: USE="-fdftk" emerge dev-lang/php fails
Status: RESOLVED TEST-REQUEST
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: 2005-10-30 11:34 UTC by baso
Modified: 2005-10-31 04:59 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 baso 2005-10-30 11:34:10 UTC
>>> md5 src_uri ;-) php-5.0.5.tar.bz2
 * Determining SAPI(s) to build
 *   Disabled SAPI: cli
 *   Enabled  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.
 *
 * The module you are trying to install (php)
 * will only work with one of the following MPMs:
 *    peruser prefork
 * You do not currently have any of these MPMs installed.
 * Please re-install apache with the correct mpm-* USE flag set.


emerge info
Portage 2.0.53_rc6 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo i686)
=================================================================
System uname: 2.6.14-gentoo i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -mfpmath=sse -msse -funroll-loops
-fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -mfpmath=sse -msse -funroll-loops
-fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources//
ftp://ftp.unina.it/pub/linux/distributions/gentoo/
http://mirror.switch.ch/mirror/gentoo// ftp://mirror.switch.ch/mirror/gentoo//
ftp://ftp.solnet.ch/mirror/Gentoo/ http://gentoo.mirror.solnet.ch/"
LANG="it_IT"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s,--as-needed"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.it.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnowext 3ds 4kstacks GAPING_SECURITY_HOLE S3TC X X509 Xaw3d a52
aac abook accounting acl acpi activefilter ada adabas aim aliaschain alsa
altcolors amd amr ansi ao aotuv apache2 apm arts artswrappersuid artworkextra
async athena atlas atm auctex audiofile authdaemond avalon avantgo avi bahamut
bcmath bdf beep beepmp berkdb bgpclassless bidi bigger-fonts bind-mysql bindist
birdstep bitmap-fonts blas blender-game bluetooth bmp bonobo brltty buffysize
bundled-libs bzip2 bzlib c++ c3p0 cairo cap caps ccache cdb cdda cddb cdf
cdinstall cdio cdparanoia cdr cdrom cgi chasen chipcard chroot clamav
clanJavaScript clanVoice clearcase clearpasswd client clisp cln cluster cmucl
codecs commercial cpdflib cracklib crypt cscope css csv ctype cups curl
curlwrappers customlog custreloc dar32 db2 dba dbase dbcp dbi dbm dbmaker dbx
dedicated devmap dga dhcp dict diet dillo dio disk-cache distcache distribution
djbfft dlloader dlopen dlz dmx dnd dnsdb dpms drac droproot dts dv dvb dvd dvdr
dvdread dxr3 ecc editor edl eds elf emacs emacs-w3 emboss emoticon empress
empress-bcs encode enscript erandom escreen esd esoob estraier esx ethereal
etwin evms2 evo evo2 examples exif exim exiscan exiscan-acl expat ext-png
ext-zlib extensions extraicons extramodules extras f2c fam fame fastcgi fax fb
fbcon fbdev fdftk ffmpeg fftw figlet filepro finger firebird firefox fits flac
flash flatfile flexresp flood floppyboot fluidsynth fmod font-server foomaticdb
fortran fping fpx frascend freetds freetype freewnn frlargefiles frontbase frxp
ftp ftruncate fusion fwdzone gb gcc-libffi gcj gcl gd gdbm geoip gg ggi gif gimp
gimpprint ginac gkrellm glade glgd glitz glut gmail gmp gmtfull gmthigh gmtsuppl
gmttria gnokii gnome gnomedb gnuplot gnustep gnutls gpgme gphoto2 gpm gprof
graphviz gs gsl gsm gsnd gstreamer gtk gtk2 guile h323 hal haskell hbci hdf hdf5
high-ints howl html http httpd hub hyperwave-api i8x0 icc icc-pgo icecast icon
iconv icp icq icu ide idea idl idled ieee1394 ifc iksemel image imagemagick imap
imlib imlib2 immqt immqt-bc inetd informix ingres inifile inkjar inline
innkeywords innodb insecure-drivers interbase intl iodbc ipalias ipcs ipv6 irc
irda irmc itcl ithreads j2ee jabber jai java javamail javascript jbig jboss jce
jcs jikes jimi joystick jp2 jpeg jpeg2k jta junit justify jython kakasi kde
kdeenablefinal kdepim kdexdeltas kerberos kipi kjs koffice-plugin krb4 ladcca
ladspa lapack large-domain latex lcd lcms ldap ldb ldirectord leim lesstif
libcaca libclamav libdsk libedit libg++ libgd libgda libsamplerate libvisual
libwww lids lingerd linuxkeys lirc live lj lm_sensors lmtp logitech-mouse
logrotate ltsp lua lucid lynxkeymap lzo lzw lzw-tiff m17n-lib mad mail mailbox
maildir maildrop mailwrapper math matroska mbox mbrola mcal mcve md5sum mdb
mecab mem-cache messages mew mhash migemo mikmod milter mime mimencode ming
mixer mjpeg mls mmap mng mnogosearch modelock moneyplex monkey mono motif
mozaccess mozcalendar mozctl mozdevelop mozilla moznoxft mozp3p mozplaintext
mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer mpm-leader mpm-metux mpm-peruser
mpm-prefork mpm-threadpool mpm-worker mppe-mppc msdav msession msn msql mssql
mule multi-tty multicall multipleip multiprocess multislot multitarget
mupad-noscilab mysql mysqli mythtv mzscheme nagios-dns nagios-ntp nagios-ping
nagios-ssh nas native ncurses neXt net netbeans netboot netcdf network neural
new-login nfs nhc98 nis nls nntp normalizemime nptl ntlm numeric nvidia nviz oav
objc ocaml octave odbc ode offensive ofx ogdi ogg oggvorbis openal openexr
opengl openntpd openssh opie ortp oscache oscar ospfapi oss ovrimos pam
pam-mysql pam_chroot pam_console pam_timestamp parse-clocks pascal passfile
password pcap pcmcia pcntl pcre pcsc-lite pda pdf pdfkit pdflib pear-db perforce
perl perlsuid pfpro pg-vacuumdelay pheaders php physfs pic pie playlist
plotutils plugin png pnp portaudio posix postgres povray ppds prelude pri print
priority private procmail profile proxool pvm pwdb pxeserial python qdbm
qemu-fast qhull qmail qt quicktime quotas quotes radius rar rdesktop readline
real recode remix remote resperl rhino rhythmbox rogue rpc rplay rpm rrdtool rss
rtc ruby samba sapdb savedconfig sbcl sblive scanner screenshot sdk sdl sendfile
serial server servlet-2.3 servlet-2.4 sftplogging sguil shaper sharedext
sharedmem sheep shorten silc simplexml skey slang slp smartcard smime sms smtp
sndfile snmp snortsam soap sockets socks5 softfax softmmu softquota solid
soundtouch source sox spamassassin speech speedo speex spell spl sql sqlite
sqlite3 srp ssh ssh2 ssl startup-notification static-modules stats
stencil-buffer stream streamzap stroke struts subject-rewrite subp subversion
suid svg svga svgz swarmcache sybase sybase-ct symlink sysfs syslog sysvipc szip
t1lib tabs tcc tcltk tcpd tcpmd5 tetex tga theora threads thumbnail tidy tiff
timidity tlen tokenizer toolbar tools tos transcode transparent-proxy truetype
truetype-fonts trusted ttcp type1 type1-fonts ucs2 ucs4 udev uim uml underscores
unicode uptimed urandom usagi usb usepackagedmakefiles userlocales utf8 uudeview
v4l v4l2 vcd vcdimager vchroot vda vdesktop vhosts videos vidix vim vim-pager
vim-with-x virtual virtual-users virus-scan visualization vlm vnc vorbis
vpopmail vserver wavelan wddx wifi wildlsearch win32codecs winbind
withsamplescripts wma123 wmf wsconvert wxwindows x11vnc xanim xatrix xattr xbase
xchatdccserver xemacs xface xforms xfs xgetdefault xim xine xinerama xinetd xml
xml2 xmlrpc xmms xosd xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo
yaz yp yv12 zaptel zeo zeroconf zlib zvbi video_cards_nvidia linguas_it
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-30 11:36:10 UTC

*** This bug has been marked as a duplicate of 110921 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-30 11:37:44 UTC
CLOSED
Comment 3 baso 2005-10-31 02:59:05 UTC
USE="mpm-prefork" emerge apache

At the end of the emerge it says: 
 * Multiple MPM support has been disabled due to problems with external
 * modules.  If you have relied on this functionality you will need
 * to find another solution.  The Gentoo Apache team apologizes for
 * any inconvienence this may cause you.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-10-31 03:14:27 UTC
(In reply to comment #3)
> USE="mpm-prefork" emerge apache
> 
> At the end of the emerge it says: 
>  * Multiple MPM support has been disabled due to problems with external
>  * modules.  If you have relied on this functionality you will need
>  * to find another solution.  The Gentoo Apache team apologizes for
>  * any inconvienence this may cause you.

Oh, please, read the text and my above comment more carefully. Thanks. 

Again - you can have *one* and *only one* MPM is Apache, and that's exactly what
the above einfo message says, and that's no bug or error. Don't see any reason
why did you reopen this bug.
Comment 5 baso 2005-10-31 04:23:22 UTC
USE="mpm-prefork" emerge -pv apache

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-www/apache-2.0.55  +apache2 -debug -doc +ldap -mpm-leader
-mpm-peruser +mpm-prefork* -mpm-threadpool -mpm-worker -no-suexec (-selinux)
+ssl +static-modules +threads 0 kB

Total size of downloads: 0 kB


I emerge apache only with +mpm-prefork* but it doesn't work
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-10-31 04:49:44 UTC
(In reply to comment #5)
> USE="mpm-prefork" emerge -pv apache
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> [ebuild   R   ] net-www/apache-2.0.55  +apache2 -debug -doc +ldap -mpm-leader
> -mpm-peruser +mpm-prefork* -mpm-threadpool -mpm-worker -no-suexec (-selinux)
> +ssl +static-modules +threads 0 kB

What do you mean "it doesn't work"?! There's no error, that's an *informative*
message. Please, try to emerge php now and report back.
Comment 7 baso 2005-10-31 04:53:02 UTC
The emerge of php fails again with the same error.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-10-31 04:56:02 UTC
(In reply to comment #7)
> The emerge of php fails again with the same error.

Remove "threads" from your use flags and try again. Also, slim down your USE
flags list in general, some of them and their combos make really no sense. We
have /etc/portage/package.use for local (ebuild specific) use flags. 
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-10-31 04:59:19 UTC
(In reply to comment #5)
> Calculating dependencies ...done!
> [ebuild   R   ] net-www/apache-2.0.55  +apache2 -debug -doc +ldap -mpm-leader
> -mpm-peruser +mpm-prefork* -mpm-threadpool -mpm-worker -no-suexec (-selinux)
> +ssl +static-modules +threads 0 kB

This is *not* enough. You need to actually *re-emerge* apache with
USE=mpm-prefork, not just change the flags in make.conf. The * means that you've
not done so yet.