Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 170446

Summary: dev-php5/pecl-pdo-mysql-1.0.2 requires DEPEND >=dev-php5/pecl-pdo-1.0.3
Product: Gentoo Linux Reporter: Peter Fern <gentoo>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: trivial CC: rterhaar
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.pecl.php.net/bugs/bug.php?id=7605
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Fern 2007-03-11 17:16:07 UTC
dev-php5/pecl-pdo-mysql-1.0.2 has dependancy of dev-php5/pecl-pdo, but requires >=dev-php5/pecl-pdo-1.0.3, this may effect other dev-php5/pecl-pdo-* ebuilds also.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-11 17:21:50 UTC
(In reply to comment #0)
> dev-php5/pecl-pdo-mysql-1.0.2 has dependancy of dev-php5/pecl-pdo, but requires
> >=dev-php5/pecl-pdo-1.0.3, this may effect other dev-php5/pecl-pdo-* ebuilds

There's no other version than 1.0.3 in the tree, I fail to see how could this affect anyone.
Comment 2 Peter Fern 2007-03-11 17:41:42 UTC
Anyone having <dev-php5/pecl-pdo-1.0.3 already installed, and attempting to add dev-php5/pecl-pdo-mysql, or as I encountered it, performing a revdep-rebuild, will encounter compile errors.  Trivial tag is probably adequate, but would still consider this a bug as dependencies are not correctly resolved.
Comment 3 Rob Terhaar 2007-03-22 20:47:45 UTC
(In reply to comment #2)
> Anyone having <dev-php5/pecl-pdo-1.0.3 already installed, and attempting to add
> dev-php5/pecl-pdo-mysql, or as I encountered it, performing a revdep-rebuild,
> will encounter compile errors.  Trivial tag is probably adequate, but would
> still consider this a bug as dependencies are not correctly resolved.
> 

I agree. This bug bit me today. 

If i do an emerge =dev-php5/pecl-pdo-mysql-1.0.2 portage should automatically pull down everything it needs to be built, correct? 

and if v1.0.2 doesn't build if you have an old version of pecl-pdo already installed, portage should be have a depend on the newer version of pecl-pdo.


Comment 4 Markus Ullmann (RETIRED) gentoo-dev 2007-08-13 10:09:05 UTC
Fixed in CVS