Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 105419
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: PHP Bugs <php-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jakub Moc (RETIRED) <jakub@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mythweb-0.18.1.ebuild.diff mythweb-0.18.1 ebuild patch patch Jakub Moc (RETIRED) 2005-09-09 14:11 0000 1.14 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 105419 depends on: Show dependency tree
Bug 105419 blocks: 60440 116827
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-09 13:23 0000
www-apps/phpmp-0.11.0 - mod_php -> virtual/httpd-php (sound)

www-apps/wordpress-1.5.1.3 - mod_php -> virtual/httpd-php (superlag)

www-apps/mantisbt-0.18.3 -> package.mask wrt Bug 103308 (web-apps)

www-apps/mythweb-0.18.1 - mod_php -> virtual/httpd-php + other issues; will
attach a patch (cardoe)

www-apps/b2evolution-0.9.0.12{-r1} - mod_php -> virtual/httpd-php (dsd)

www-apps/ampache-3.3.1.4 - dev-php (is this really correct?) -> virtual/php
(marineam)

Please, fix the dependencies and remove yourself from CC when done. Thanks.


Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Jakub Moc (RETIRED) 2005-09-09 14:11:48 0000 -------
Created an attachment (id=68063) [details]
mythweb-0.18.1 ebuild patch

The patch fixes RDEPEND, removes check for dev-php/mod_php-5 built with
USE=session (it's no longer in portage) and checks for session use flag in
those new dev-lang/php-{4,5} ebuilds.

------- Comment #2 From Grant Goodyear 2005-09-09 18:28:11 0000 -------
Also www-servers/lighttpd (presumably dev-php/php --> virtual/php?)

------- Comment #3 From Jakub Moc (RETIRED) 2005-09-10 02:25:17 0000 -------
(In reply to comment #2)
> Also www-servers/lighttpd (presumably dev-php/php --> virtual/php?)

There's already Bug 102863 for that one (and other separate bugs for
www-servers/monkeyd, net-www/spawn-fcgi, net-p2p/phpgnucacheii, 
net-analyzer/midas-nms and dev-lang/swig).

------- Comment #4 From Jakub Moc (RETIRED) 2005-09-10 03:39:26 0000 -------
Round two: php herd only

dev-php/creole-1.0.2 - >=dev-lang/php-5.0.0 -> =virtual/php-5*

dev-php/jargon-1.0.2 - >=dev-lang/php-5.0.0 -> =virtual/php-5*

dev-php/jpgraph-1.19 - =dev-php/php-4* -> =virtual/php-4* and fix RDEPEND to
match DEPEND

dev-php/propel-runtime-1.1.0 - >=dev-lang/php-5.0.0 -> =virtual/php-5*

dev-php/propel-generator-1.1.0 - >=dev-lang/php-5.0.0 -> =virtual/php-5*

dev-php/phing-2.1.0 - >=dev-php/php-5.0.0 -> =virtual/php-5* 

dev-php/php-gtk-1.0.2 - =dev-php/php-4* -> =virtual/php-4*

------- Comment #5 From Jakub Moc (RETIRED) 2005-09-10 03:48:19 0000 -------
Round three web-apps herd only:

www-apps/ids-0.82 - mod_php -> virtual/httpd-php (and noticed that php vanished
from RDEPEND altogether in 0.83_beta2-r1, hmm?)

www-apps/gallery-1.4.4_p6 - mod_php -> virtual/httpd-php

www-apps/phpcollab-2.4 - mod_php -> virtual/httpd-php

------- Comment #6 From Sebastian Bergmann (RETIRED) 2005-09-10 04:11:54 0000 -------
dev-php/creole-1.0.2, dev-php/jargon-1.0.2, dev-php/propel-runtime-1.1.0,
dev-php/propel-generator-1.1.0, dev-php/phing-2.1.0 done.

------- Comment #7 From Jakub Moc (RETIRED) 2005-09-10 05:32:02 0000 -------
Sebastian, sorry, I only looked at the diffs against previous revision, so I
missed that all the above ebuilds inherit php-pear. Which already has
(R)DEPEND="virtual/php dev-php/php". Meaning the additional php dependencies
should be dropped intirely (as well as the newly added depend.php inherit), in
fact they never should have been there in the first place.

inherit php-pear = compatible w/ the old dev-php/{mod_}php ebuilds *only*
inherit php-pear-r1 = compatible w/ the new dev-lang/php ebuild *only* 

So, depend.php should be removed from inherit in the old ebuilds, they only need
to inherit php-pear; no additional php (R)DEPENDs needed, the eclass will care
for this. 

Plus new revbumped  ebuilds should inherit php-pear-r1 to be compatible with the
new dev-lang/php ebuild, again no other php checks needed.

Sorry for the confusion.

------- Comment #8 From Jakub Moc (RETIRED) 2005-09-10 06:16:37 0000 -------
(In reply to comment #6)
(In reply to comment #7)

Clarifying more: It you absolutely need to check for specific php version in
pear stuff, then 'inherit php-pear-r1 depend.php' + need_php{4,5} or similar
depend.php function is OK, but inherit php-pear depend.php' is *not*. php-pear
pulls in dev-php/php, depend.php + need_php{4,5} pulls in dev-lang/php, and they
block each other. 

A couple of examples:

1/ pear stuff versions that needs php-4 and should work with dev-php/{mod_}php
should have:

inherit php-pear
(R)DEPEND="=virtual/php-4*"

2/ The revbumped ones for dev-lang/php should have:

inherit php-pear-r1 depend.php
need_php4

Hope it's all clear now, if not, then jump to #gentoo-apache and poke CHTEKK
there, please. :)

------- Comment #9 From Sebastian Bergmann (RETIRED) 2005-09-10 09:40:33 0000 -------
dev-php4/php-gtk is in the tree now.

------- Comment #10 From Renat Lumpau 2005-09-11 07:00:27 0000 -------
www-apps/mantisbt
www-apps/ids (php dep was incorrect, it's a perl app)
www-apps/gallery (1.4.4 had a security issue, removed)
www-apps/phpcollab

web-apps is all set

------- Comment #11 From Jakub Moc (RETIRED) 2005-09-16 06:38:45 0000 -------
*** Bug 106181 has been marked as a duplicate of this bug. ***

------- Comment #12 From Jakub Moc (RETIRED) 2005-10-07 03:22:21 0000 -------
What's left?

www-apps/phpmp-0.11.0
www-apps/wordpress
www-apps/mythweb - has_version check for non-existant ebuild in pgk_setup()
www-apps/b2evolution
www-apps/ampache-3.3.1.4

Ping... ;)

------- Comment #13 From Doug Goldstein 2005-10-09 01:42:15 0000 -------
Fixed mythweb. Thx jakub

Also fixed ampache as per discussion with marineam.

------- Comment #14 From Carlos Silva (RETIRED) 2005-10-13 08:01:36 0000 -------
b2evolution is fixed.

------- Comment #15 From Jakub Moc (RETIRED) 2005-10-23 07:26:31 0000 -------
What's left round two:

www-apps/phpmp
www-apps/wordpress

Ping... ;)

------- Comment #16 From Jakub Moc (RETIRED) 2005-11-26 05:43:46 0000 -------
*** Bug 105019 has been marked as a duplicate of this bug. ***

------- Comment #17 From Jakub Moc (RETIRED) 2005-11-26 05:47:05 0000 -------
More than one month later, still unfixed. :( Noting that dev-lang/php will go
stable in a couple of days. 

superlag & sound, ping! Please fix www-apps/phpmp and www-apps/wordpress. 

------- Comment #18 From Jakub Moc (RETIRED) 2005-11-26 05:49:54 0000 -------
Stupid bugzilla, reopen.

------- Comment #19 From Jakub Moc (RETIRED) 2005-11-28 08:11:19 0000 -------
*** Bug 113774 has been marked as a duplicate of this bug. ***

------- Comment #20 From Jesse Adelman 2005-11-28 15:51:02 0000 -------
I don't know if this is actually a problem, but www-apps/gallery < 2.0.1 have

RDEPEND=">=net-www/apache-1.3.24-r1
        virtual/php
        >=media-gfx/jhead-2.2
[...]

Is "virtual/php" correct here? Or should it be "virtual/httpd-php" as in the
gallery 2.0.1 ebuild? Sorry for the noise if the current state is the correct form.

------- Comment #21 From Luca Longinotti 2005-11-29 12:29:59 0000 -------
It's theoretically the same as dev-lang/php provides both, virtual/php should
be
used when the CLI PHP is enough, virtual/httpd-php when a web-enabled PHP
should
be used, like mod_php or php CGI. So, in the case of webapps, preferably use
virtual/httpd-php.
Best regards, CHTEKK.

------- Comment #22 From Jakub Moc (RETIRED) 2005-12-01 23:00:11 0000 -------
*** Bug 114214 has been marked as a duplicate of this bug. ***

------- Comment #23 From Jesse Adelman 2005-12-05 03:04:40 0000 -------
Any word on wordpress? Seems a trivial fix... Thanks. :)

------- Comment #24 From Olivier Castan 2005-12-06 03:50:24 0000 -------
Looks like dev-php/jpgraph has disappeared between comments #4 and #12...
Can you fix it please, it breaks net-analyzer/acid upgrade
Thanks

------- Comment #25 From Jakub Moc (RETIRED) 2005-12-06 08:18:03 0000 -------
(In reply to comment #24)
> Looks like dev-php/jpgraph has disappeared between comments #4 and #12...
> Can you fix it please, it breaks net-analyzer/acid upgrade
> Thanks

There's nothing disappeared, see dev-php{4,5}/jpgraph...

------- Comment #26 From Olivier Castan 2005-12-07 04:42:42 0000 -------
OK. Maybe you can help me because I don't understand the new php dependency
scheme. I've installed net-analyzer/acid on a ppc arch (note that
dev-php/jpgraph-1.19-r1.ebuild is keyworded ~ppc but not
dev-php4/jpgraph-1.19.ebuild nor dev-php5/jpgraph-2.0_beta.ebuild). Here is what
I get when I try to upgrade acid :

# emerge -uvpDN net-analyzer/acid

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

Calculating dependencies ...done!
[blocks B     ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r4)
[blocks B     ] dev-php/php (is blocking dev-lang/php-5.0.5-r4)
[ebuild     U ] dev-lang/perl-5.8.7-r3 [5.8.7-r2] +berkdb -build -debug -doc
+gdbm -ithreads -minimal -perlsuid 0 kB
[ebuild     U ] sys-apps/findutils-4.2.27 [4.2.25] -build +nls (-selinux)
-static 1,096 kB
[ebuild     UD] app-admin/webapp-config-1.11 [1.11-r1] 0 kB
[ebuild  N    ] app-admin/eselect-php-0.96  0 kB
[ebuild  N    ] dev-lang/php-5.0.5-r4  (-adabas) -apache +apache2 -bcmath
+berkdb (-birdstep) +bzip2 -calendar -cdb -cgi -cjk -cli +crypt -ctype +curl
-curlwrappers -db2 -dba -dbase -dbmaker -debug -discard-path -doc -empress
-empress-bcs -esoob +exif (-fdftk) -filepro (-firebird) -flatfile
-force-cgi-redirect -frontbase -ftp +gd -gd-external +gdbm +gmp +hardenedphp
-hyperwave-api +iconv -imap -informix -inifile (-interbase) -iodbc -ipv6
-java-external -kerberos -ldap -libedit -mcve -memlimit +mhash -ming
-mnogosearch -msql -mssql +mysql -mysqli +ncurses +nls -oci8
(-oci8-instant-client) +odbc -oracle7 -ovrimos -pcntl +pcre -pdo-external -pear
-pfpro +pic -posix -postgres -qdbm +readline -recode -sapdb -sasl +session
-sharedext -sharedmem -simplexml -snmp -soap -sockets -solid +spell -spl -sqlite
+ssl -sybase -sybase-ct -sysvipc +threads +tidy +tiff -tokenizer +truetype -wddx
+xml2 -xmlrpc +xpm -xsl -yaz -zip +zlib 4,830 kB
[ebuild     U ] dev-php/adodb-4.65-r1 [4.65] 0 kB

# equery d php
[ Searching for packages depending on php... ]
dev-lang/swig-1.3.25
dev-php/adodb-4.65
dev-php/jpgraph-1.19-r1

# egrep "(virtual|dev-php*)/php"
/usr/portage/dev-php/{adodb/adodb-4.65.ebuild,jpgraph/jpgraph-1.19-r1.ebuild}
/usr/portage/dev-php/adodb/adodb-4.65.ebuild:RDEPEND="virtual/php"
/usr/portage/dev-php/jpgraph/jpgraph-1.19-r1.ebuild:            =dev-php/php-4*"
[...]

Which ebuild should be corrected : dev-php/jpgraph-1.19-r1.ebuild to mimic
dev-php/adodb (and adding the the right keyword in dev-php4/jpgraph) or
net-analyzer/acid which depend on >=dev-php/jpgraph-1.12.2 ?

------- Comment #27 From Jakub Moc (RETIRED) 2005-12-07 10:43:50 0000 -------
(In reply to comment #26)
> I've installed net-analyzer/acid on a ppc arch (note that
> dev-php/jpgraph-1.19-r1.ebuild is keyworded ~ppc but not
> dev-php4/jpgraph-1.19.ebuild nor dev-php5/jpgraph-2.0_beta.ebuild). Here is what
> I get when I try to upgrade acid :

net-analyzer/acid is Bug 102825 - see the patches there.

------- Comment #28 From Jakub Moc (RETIRED) 2006-01-04 14:00:14 0000 -------
wordpress is fixed now, phpmp is deprecated in favour of phpmp2 (Bug 74951),
closing this bug. Thanks everyone.

Yay! ;)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug