Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289669 - dev-lang/php-5.2.11 doesn't support sys-libs/db-4.7
Summary: dev-lang/php-5.2.11 doesn't support sys-libs/db-4.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL: http://www.mail-archive.com/php-cvs@l...
Whiteboard:
Keywords:
Depends on:
Blocks: 312775
  Show dependency tree
 
Reported: 2009-10-19 06:16 UTC by saellaven
Modified: 2010-06-11 19:20 UTC (History)
1 user (show)

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


Attachments
patch to add support for sys-libs/db-4.7 (add-db4.7.patch,898 bytes, patch)
2009-10-19 06:17 UTC, saellaven
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description saellaven 2009-10-19 06:16:39 UTC
sys-libs/db-4.7 is the stable release but dev-lang/php-5.2.11 has a hardcoded link to 4.6 or earlier.

Reproducible: Always




Both are the current stable version, patch to add support included below
Comment 1 saellaven 2009-10-19 06:17:45 UTC
Created attachment 207529 [details, diff]
patch to add support for sys-libs/db-4.7
Comment 2 Matti Bickel (RETIRED) gentoo-dev 2010-04-14 23:46:33 UTC
Thanks for the patch!

Digging into this, the issue seems to be resolved upstream meanwhile:

http://www.mail-archive.com/php-cvs@lists.php.net/msg45879.html

So building against sys-libs/db-4.{7,8} will be available in php-5.2.14 and php-5.3.3.

We should be aware of http://bugs.php.net/bug.php?id=51086, though. We will discuss applying this patch to our soon to be version of php-5.3.2, anyway.
Comment 3 Matti Bickel (RETIRED) gentoo-dev 2010-06-11 19:20:53 UTC
A patch is part of the current patchset for php-5.3.2, you should be able to use any db-4* version you like. Be aware that the problem mentioned above is fixed in db-4.8.30 - so if you plan to use 4.8.* please use this version. I'm not enforcing this in the ebuild as db should have that version stable before we have php-5.3.2 ready.