emerge mod_php fails: heffalump mod_php # emerge mod_php Calculating dependencies ...done! >>> emerge (1 of 1) dev-php/mod_php-4.3.4-r2 to / >>> md5 src_uri ;-) php-4.3.4.tar.bz2 >>> md5 src_uri ;-) php-4.3.2-fopen-url-secure.patch !!! ERROR: dev-php/mod_php-4.3.4-r2 failed. !!! Function dyn_setup, Line 466, Exitcode 1 !!! pkg_setup function failed; exiting. Reproducible: Always Steps to Reproduce: 1.emerge mod_php 2. 3. Actual Results: see above Expected Results: obvious... heffalump mod_php # emerge info Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-gentoo) ================================================================= System uname: 2.6.0-gentoo i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3. 1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://mirrors.sec.informatik. tu-darmstadt.de/gentoo http://gentoo.oregonstate.edu http://www.ibiblio. org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acpi alsa apache apache2 apm arts avi berkdb bonobo cdr crypt cups directfb doc dvd encode esd ethereal fbcon foomaticdb gdbm gif gpm gtk gtk2 gtkhtml imap imlib innodb java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb x86 xml xml2 xmms xv zlib"
I was going to look into this, however something odd happened here. It's telling me I don't have mod_php installed here, and I *KNOW* I do... # emerge -p mod_php These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-php/mod_php-4.3.4-r2 [ebuild N ] dev-php/php-4.3.4-r2 Not sure if this has something to do with the error, but thought I'd point it out. Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1-mm1) ================================================================= System uname: 2.6.1-mm1 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.4.3.10 distcc 2.12.1 i486-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=i586 -pipe -mmmx -m3dnow" CHOST="i486-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=i586 -pipe -mmmx -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc notitles sandbox" GENTOO_MIRRORS="http://gentoo.noved.org/ http://mirrors.tds.net/gentoo http://cudlug.cudenver.edu/gentoo/ http://mirror.tucdemonic.org/gentoo/ http://www.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow apache2 apm arts avi berkdb crypt encode foomaticdb gdbm gpm libg++ libwww mad mikmod mmx motif mysql ncurses oggvorbis pam perl python quicktime readline sdl slang snmp spell ssl tcpd truetype x86 xml2 zlib"
*** Bug 37799 has been marked as a duplicate of this bug. ***
same here: # emerge -pv mod_php These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] dev-php/mod_php-4.3.4-r2 [4.3.3-r3] -apache2 +X +crypt -curl -firebird +flash -freetds +gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg -ldap -mcal -memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres +qt -snmp +spell +ssl -tiff +truetype +xml2 -yaz -berkdb [ebuild N ] dev-php/php-4.3.4-r2 +X +crypt -curl -firebird +flash -freetds +gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg -ldap -mcal -memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres +qt -snmp +spell +ssl -tiff +truetype +xml2 -yaz -berkdb +ncurses +readline # emerge -v mod_php Calculating dependencies ...done! >>> emerge (1 of 2) dev-php/mod_php-4.3.4-r2 to / >>> md5 src_uri ;-) php-4.3.4.tar.bz2 >>> md5 src_uri ;-) php-4.3.2-fopen-url-secure.patch !!! ERROR: dev-php/mod_php-4.3.4-r2 failed. !!! Function dyn_setup, Line 466, Exitcode 1 !!! pkg_setup function failed; exiting. USE="apm -arts -berkdb crypt doc dvd encode -esd evo flash jpeg gd gdbm gtk java mozilla mpeg ncurses oss pdflib quicktime readline samba spell tcltk truetype xml xml2 xmms dga tetex libg++ -gnome -cups gtkhtml imlib oggvorbis" CFLAGS="-march=athlon -O2 -pipe" apache: net-www/apache-2.0.48-r1 portage: sys-apps/portage-2.0.49-r21 Since new dev-libs/libxslt-1.1.1 breaks old mod_php this is BAD this host is without php support now! :-(((( /etc/init.d/apache start .... ... Cannot load /etc/apache/extramodules/libphp4.so into server: libxsltbreakpoint.so.1: cannot open shared object file: No such file or directory is there any workaround?????
Same error here: # emerge -pv mod_php These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-php/mod_php-4.3.4-r2 +apache2 -X +crypt -curl -firebird -flash -freetds +gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg -ldap -mcal -memlimit +mysql -nls -oci8 -odbc +pam -pdflib +png -postgres -qt -snmp +spell +ssl -tiff -truetype +xml2 -yaz +berkdb # emerge -v mod_php Calculating dependencies ...done! >>> emerge (1 of 1) dev-php/mod_php-4.3.4-r2 to / >>> md5 src_uri ;-) php-4.3.4.tar.bz2 >>> md5 src_uri ;-) php-4.3.2-fopen-url-secure.patch !!! ERROR: dev-php/mod_php-4.3.4-r2 failed. !!! Function dyn_setup, Line 466, Exitcode 1 !!! pkg_setup function failed; exiting. Oddly, adding debug to my USE flags makes it get past this part, at least (I haven't let it finish building with debug): # USE="debug" emerge -v mod_php Calculating dependencies ...done! >>> emerge (1 of 1) dev-php/mod_php-4.3.4-r2 to / >>> md5 src_uri ;-) php-4.3.4.tar.bz2 >>> md5 src_uri ;-) php-4.3.2-fopen-url-secure.patch * Installing in SLOT=2 >>> Unpacking source... (here is where I abort with ctrl-c)
Oh hell I'll have a go: # emerge -vp mod_php These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-php/mod_php-4.3.4-r2 +apache2 -X +crypt -curl -firebird -flash -freetds -gd -gd-external +gdbm -imap -informix -ipv6 -java -jpeg -ldap -mcal -memlimit +mysql -nls -oci8 -odbc +pam -pdflib -png -postgres -qt +snmp +spell +ssl -tiff +truetype +xml2 -yaz +berkdb [ebuild N ] dev-php/php-4.3.4-r2 -X +crypt -curl -firebird -flash -freetds -gd -gd-external +gdbm -imap -informix -ipv6 -java -jpeg -ldap -mcal -memlimit +mysql -nls -oci8 -odbc +pam -pdflib -png -postgres -qt +snmp +spell +ssl -tiff +truetype +xml2 -yaz +berkdb +ncurses +readline There was at least a 2 minute pause for me after the secure.patch line: # emerge -v mod_php Calculating dependencies ...done! >>> emerge (1 of 2) dev-php/mod_php-4.3.4-r2 to / >>> md5 src_uri ;-) php-4.3.4.tar.bz2 >>> md5 src_uri ;-) php-4.3.2-fopen-url-secure.patch !!! ERROR: dev-php/mod_php-4.3.4-r2 failed. !!! Function dyn_setup, Line 466, Exitcode 1 !!! pkg_setup function failed; exiting. Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1-mm2) ================================================================= System uname: 2.6.1-mm2 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.4.3.10 distcc 2.12.1 i486-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=i586 -pipe -mmmx -m3dnow" CHOST="i486-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=i586 -pipe -mmmx -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc notitles sandbox" GENTOO_MIRRORS="http://gentoo.noved.org/ http://mirrors.tds.net/gentoo http://cudlug.cudenver.edu/gentoo/ http://mirror.tucdemonic.org/gentoo/ http://www.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow apache2 apm arts avi berkdb crypt encode foomaticdb gdbm gpm libg++ libwww mad mikmod mmx motif mysql ncurses oggvorbis pam perl python quicktime readline sdl slang snmp spell ssl tcpd truetype x86 xml2 zlib"
fixed in CVS. it's a new portage bug that I've put in a workaround for.