Summary: | Request for dynamic SLOT support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joshua Moore-Oliva <josh> |
Component: | New packages | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | flash3001, gentoo, mail, mluisser, owen, ramereth, sgtphou, smitht9, steven.aerts, stevenwagner, vericgar |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 32367, 51411 | ||
Bug Blocks: |
Description
Joshua Moore-Oliva
2004-01-09 11:11:42 UTC
do you have apache 1 or 2 or both installed? 'emerge info' output? 'emerge -upv mod_php' output? I'm having the same issue. I only have apache2 emerged. Here's the results the 2 emerge commands: root@newcastle:0-> emerge info Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r8) ================================================================= System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-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="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apm arts avi berkdb crypt encode foomaticdb gdbm gif gpm imap imlib java jpeg ldap libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sasl sdl slang spell ssl svga tcpd truetype x86 xml xml2 xmms xv zlib" root@newcastle:0-> emerge -upv mod_php These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-libs/c-client-2002e-r1 [2002d-r1] +ssl -pic [ebuild U ] dev-java/java-config-1.1.8-r1 [0.2.8-r2] [ebuild U ] dev-db/mysql-4.0.16 [4.0.14-r2] -static +readline -innodb +berkdb +tcpd +ssl +perl -debug [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 Just to add, there are a number of other people on the forums who are having the same problem. In response to your questions.. 1) I only have apache2 installed 2) emerge info output inane root # emerge info Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0) ================================================================= System uname: 2.6.0 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O2 -pipe" CHOST="i686-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="-march=i686 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.noved.org/ ftp://gentoo.noved.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://mirrors.tds.net/gentoo http://adelie.polymtl.ca/ http://mirrors.tds.net/gentoo ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://csociety-ftp.ecn.purdue.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="apm arts avi berkdb crypt cups curl encode foomaticdb gdbm gif gpm gtk2 imap imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib" 3) emerge -upv mod_php output inane root # emerge -upv 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 U ] dev-php/php-4.3.4-r2 [4.3.3-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 hmm, ok, now could I get the output of: USE="apache2" emerge -upv mod_php also, could you see if you have any of these files: /var/db/pkg/dev-php/mod_php-*/SLOT and tell me what their contents are? root@newcastle:0-> USE="apache2" emerge -upv mod_php These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-libs/c-client-2002e-r1 [2002d-r1] +ssl -pic [ebuild U ] dev-java/java-config-1.1.8-r1 [0.2.8-r2] [ebuild U ] dev-db/mysql-4.0.16 [4.0.14-r2] -static +readline -innodb +berkdb +tcpd +ssl +perl -debug [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 root@newcastle:0-> ls /var/db/pkg/dev-php/mod_php-*/SLOT /var/db/pkg/dev-php/mod_php-4.3.3-r3/SLOT root@newcastle:0-> cat /var/db/pkg/dev-php/mod_php-4.3.3-r3/SLOT 2 My comment is mainly directed at Joshua, as his output is subletly different from yours, and I'm trying to solve it on a single test case first. I've added a little helper snippet into the mod_php ebuild so we can try and solve this. Wait a while, then update your tree. Check this file: /usr/portage/dev-php/mod_php/mod_php-4.3.4-r2.ebuild for this header to see if it has made it out yet (probably will take about an hour from now) $Header: /var/cvsroot/gentoo-x86/dev-php/mod_php/mod_php-4.3.4-r2.ebuild,v 1.3 2004/01/10 08:01:42 robbat2 Exp $ Once that is in place, do: USE=debug ebuild /usr/portage/dev-php/mod_php/mod_php-4.3.4-r2.ebuild clean setup and post the output here. you should see something similar to this: root@curie-int mod_php # USE=debug ebuild /usr/portage/dev-php/mod_php/mod_php-4.3.4-r2.ebuild clean setup eutils flag-o-matic php-sapi eutils debug * Installing in SLOT=2 but you might have to run the command twice before you see that output. I'm interested in the SLOT=... output mainly. I don't know what's changed, but I suspect the new ebuild is broken I forgot to relink php against the new xml lib that came out today - so I recompiled it. Here's the error !!! ERROR: dev-php/mod_php-4.3.4-r2 failed. !!! Function dyn_setup, Line 466, Exitcode 1 !!! pkg_setup function failed; exiting. Compiled fine yesterday though This is my emerge info: gentoonet root # emerge info Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-r2) ================================================================= System uname: 2.4.22-gentoo-r2 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.4.3.10 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/tomcat/conf /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/bind /var/lib/jboss /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi apache2 apm arts autofs avi berkdb bonobo cdr clamav crypt cups doc dv dvd dvdr encode esd faad fam ffmpeg flac foomaticdb gd gdbm ggi gif gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile imap imlib jabber java jpeg kde ldap libg++ libwww mad mikmod motif mozilla mpeg mpeg4 mysql nas ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby samba scanner sdl slang spell ssl svga tcltk tcpd tetex transcode truetype x86 xine xml2 xmms xv zlib" This is my error: gentoonet root # emerge 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. root@newcastle:0-> cat /usr/portage/dev-php/mod_php/mod_php-4.3.4-r2.ebuild | grep Header # $Header: /home/cvsroot/gentoo-x86/dev-php/mod_php/mod_php-4.3.4-r2.ebuild,v 1.3 2004/01/10 08:01:42 robbat2 Exp $ root@newcastle:0-> USE=debug ebuild /usr/portage/dev-php/mod_php/mod_php-4.3.4-r2.ebuild clean setup * Installing in SLOT=2 This may help with the mod_php error. libphp4.so does exist... # /etc/init.d/apache start * Starting apache... Syntax error on line 59 of /etc/apache/conf/apache.conf: Cannot load /etc/apache/extramodules/libphp4.so into server: libxsltbreakpoint.so.1: cannot open shared object file: No such file or directory [ !! ] Robin, the N vs. U problem is caused by determining the SLOT at runtime which can collide with the value from the pregenerated metadata cache. Removing /var/cache/edb/dep/dev-php/mod_php* should "fix" this issue, please talk to Nick for a real solution. Note: Removing the cache entries will cause a significant delay for the next portage operation involving mod_php. Was just going to submit an addition to this when I decided to sync my portage again and found that mod_php was updated about 5 minutes ago. I no longer recieve: !!! ERROR: dev-php/mod_php-4.3.4-r2 failed. !!! Function dyn_setup, Line 466, Exitcode 1 !!! pkg_setup function failed; exiting. Everything is compiling just fine now. Here is the header from the ebuild: # $Header: /home/cvsroot/gentoo-x86/dev-php/mod_php/mod_php-4.3.4-r2.ebuild,v 1.5 2004/01/10 20:58:12 brad_mssw Exp $ I am also seeing the problem with portage telling me mod_php is not installed, and I am 100% certain that I do have it installed. 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" Anybody effected by this problem, here is a temporary workaround: # rm -rf /var/cache/edb/dep/dev-php/mod_php* # regenworld I excuted the rm and regenworld commands, but portage still wants to emerge php root@newcastle:0-> emerge -up mod_php These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-libs/c-client-2002e-r1 [2002d-r1] [ebuild U ] dev-libs/libxml2-2.6.3 [2.5.11] [ebuild U ] dev-libs/libxslt-1.1.1 [1.0.33] [ebuild U ] dev-java/java-config-1.2.1-r1 [0.2.8-r2] [ebuild FU ] dev-java/sun-jdk-1.4.2.03 [1.4.2.02] [ebuild U ] dev-db/mysql-4.0.16 [4.0.14-r2] [ebuild U ] dev-php/mod_php-4.3.4-r2 [4.3.3-r3] [ebuild N ] dev-php/php-4.3.4-r2 jason: that isn't the problem, that part is CORRECT. it's a change we have made so that it is possible to properly install PEAR packages. the problem was that it was showing that it was going to re-install mod_php sometimes instead of upgrading it. based on your output there, that problem is fixed: [ebuild U ] dev-php/mod_php-4.3.4-r2 [4.3.3-r3] I followed the instructions in comment 15 and am still seeing the same problem with mod_php not being recognized as already installed. That is mod_php is installed per emerge -s mod_php and yet when I do an emerge -pv mod_php, I see the following: 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 Here is the output requested by comment 7: -r2.ebuild clean setupE=debug ebuild /usr/portage/dev-php/mod_php/mod_php-4.3.4 * Installing in SLOT=1 localhost mod_php # Here is the header of the mod_php file # $Header: /home/cvsroot/gentoo-x86/dev-php/mod_php/mod_php-4.3.4-r2.ebuild,v 1.7 2004/01/11 04:04:15 mr_bones_ Exp $ Finally here is emerge -info: Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23_pre8-gss-r2) ================================================================= System uname: 2.4.23_pre8-gss-r2 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -pipe -funroll-loops" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.noved.org/ http://gentoo.noved.org/ http://mirror.clarkson.edu/pub/distributions/gentoo/ ftp://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apm arts avi berkdb crypt encode foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib" Any additional thoughts would be appreciated. jayl: you don't list your apache version. also try to delete /usr/portage/metadata/cache/dev-php/mod_php* and include the output of USE="apache2" emerge -pv mod_php joshua: i'm still needed your response to comment #4 and comment #5 Dynamic slots are touchy. CC/Assign it to dev-portage again if you need to. carpaski: how about FEATURES="noslotcache" ... ? Sorry for the delay, I was away for the weekend. Comment #4 inane root # USE="apache2" emerge -upv 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 U ] dev-php/php-4.3.4-r2 [4.3.3-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 Comment #5 inane root # cat /var/db/pkg/dev-php/mod_php-*/SLOT 2 inane root # ls /var/db/pkg/dev-php/mod_php-*/SLOT /var/db/pkg/dev-php/mod_php-4.3.3-r3/SLOT yeah, it's dynamic slots and the pregenerated metadata not being the same as what it should be for you... This is how to fix it: # rm -rf /var/cache/edb/dep/dev-php/mod_php* /usr/portage/metadata/cache/dev-php/mod_php* # regenworld just running the emerge directly should have the correct behavior anyway, despite the output on pretend. try it after emerge sync, with USE="debug" and it should display what slot it is actually installing into. I ran the regenworld and it fixed the problem. However, after an emerge sync the problem came right back exactly the same. However, running regenworld again fixes it, so I guess I'll stick with that and hope it fixes itself down the line unless there are any other fixes you can think of. Thanks for your help, Josh. josh: can you please confirm that it is just the emerge -p output that is wrong, and it does actually install in the correct slot as I noted in my previous comment? USE=debug ebuild /usr/portage/dev-php/mod_php/mod_php-4.3.4-r2.ebuild clean setup * Installing in SLOT=2 Okay, I just had a chance to follow up on your suggestions. Here is additional output: localhost mod_php-4.3.3-r3 # rm -rf /var/cache/edb/dep/dev-php/mod_php* localhost mod_php-4.3.3-r3 # rm -rf /usr/portage/metadata/cache/dev-php/mod_php* localhost mod_php-4.3.3-r3 # USE="apache2" emerge -pv 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 -fl ash -freetds -gd -gd-external +gdbm -imap -informix -ipv6 -java +jpeg -ldap -mca l -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 localhost mod_php-4.3.3-r3 # Also my apache version is 2.0.48-r1 Any additional thoughts? Good news! It seems to be working now. Sorry to be a bother. JL i resolved this by running #revdep-rebuild simple. I tried revdep-rebuild and it did not solve my problem. Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1-mm5) ================================================================= System uname: 2.6.1-mm5 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="-fstack-protector -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="-fstack-protector -O3 -march=i586 -pipe -mmmx -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc notitles sandbox" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.noved.org/ http://mirror.tucdemonic.org/gentoo/ http://mirror.clarkson.edu/pub/distributions/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" Just cleaning up the old bugs. If you're still having problems with mod_php-4.3.4-r4, please reply to this bug. Otherwise I'll close this shortly. Best regards, Stu The SLOT problem still remains. Explain to me the SLOT problem again. Trying to untangle the different problems in this bug is making my brain hurt. Best regards, Stu > This is how to fix it:
> # rm -rf /var/cache/edb/dep/dev-php/mod_php* /usr/portage/metadata/cache/dev-php/mod_php*
> # regenworld
That works for me until the next 'emerge sync'. After that it shows mod_php again as new. I'm trying to upgrade from 4.3.4-r4 to 4.3.5.
I've changed the summary, to better explain it for everybody. 'emerge -p mod_php' shows one thing that will happen, but what it shows is NOT correct due to the use of dynamic slots in the mod_php ebuilds to support parallel installs for apache1+ apache2. however the main emerge mod_php DOES behave correctly and upgrade. I just ran into this as well when playing with adding my own functionality to portage. Dynamic SLOTs do not work when calculating dependencies and which version to install, however when the ebuild is ran to install it they work fine. The issue is because of the metadata and dependency cache. I tried to hack the ebuild to see if there was a way to get it working for both apache 1 and apache 2 without using the SLOT and I don't see any way that it can. To me it seems the only possible solution to get this to just work without having users have to delete the cache and then regenerate the cache every time is to change portage: Add a new ebuild flag that when set would disable the metadata cache being created for that ebuild. Then the SLOT information should be correct as it would be calculated every time dependencies are calculated. I believe I am familiar enough with portage that I can work on a patch that would implement this. Is this bug being worked on? I still have this problem myself and it's been quite a while, and seems to have caught a lot of people. *** Bug 52416 has been marked as a duplicate of this bug. *** Any answer to comment #37? I still see this issue today. it's mainly a cosmetic portage bug that won't be fixed very soon i think. Any progress on this, or whats the status? If its not going to be updated soon, I'd suggest adding some einfo in the mod_php ebuild stating this issue is known or something. Just curious! Closing, dev-php/php and dev-php/mod_php have been superseded by dev-lang/php. |