Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151911 - dev-php[45]/pecl-* packages should set RDEPEND explicitely
Summary: dev-php[45]/pecl-* packages should set RDEPEND explicitely
Status: RESOLVED DUPLICATE of bug 153591
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-18 23:30 UTC by Georgi Georgiev
Modified: 2006-11-18 00:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info.txt,3.46 KB, text/plain)
2006-10-18 23:31 UTC, Georgi Georgiev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2006-10-18 23:30:10 UTC
dev-php5/pecl-zip already has zziplib listed in DEPEND, but zziplib is also needed in RDEPEND.

** Steps to reproduce:

$ emerge -ab dev-php5/pecl-zip
... wait until dev-php5/pecl-zip and zziplib are installed along with whatever else is needed
$ emerge -aC zziplib dev-php5/pecl-zip
$ emerge -pt dev-php5/pecl-zip

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

Calculating dependencies   ... done!
[ebuild  N    ] dev-php5/pecl-zip-1.0  
[ebuild  N    ]  dev-libs/zziplib-0.13.45  USE="-sdl" 

$ emerge -ptk dev-php5/pecl-zip

** Actual results:
These are the packages that would be merged, in reverse order:

Calculating dependencies   ... done!
[binary  N    ] dev-php5/pecl-zip-1.0  

** Expected results:
zziplib being pulled, as without it ldd on my zip.so (provided by pecl-zip) says:
libzzip-0.so.13 => not found

I am aware that there is a pecl-zip-1.7 in ~x86, but I am reporting from a mostly stable x86 system and the dependencies on pecl-zip-1.7 only appear to replace zziplib with zlib without solving the problem.
Comment 1 Georgi Georgiev 2006-10-18 23:31:43 UTC
Created attachment 99996 [details]
emerge --info

attaching emerge --info.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-19 00:20:39 UTC
This is a more generic problem, with the huge inherit chain we are bound to hit an eclass that sets its own RDEPEND (like depend.php) and so RDEPEND on PECL ebuilds will never be set implicitely by portage. All the PECL ebuilds that set DEPEND should also set RDEPEND.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-18 00:18:41 UTC
Fixed in portage 2.1.1-r2 and 2.1.2_rc2

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