Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329033 - dev-db/libdbi-drivers should depend on dev-db/postgresql-base instead of dev-db/postgresql-server
Summary: dev-db/libdbi-drivers should depend on dev-db/postgresql-base instead of dev-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: EBUILD
: 288456 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-20 01:46 UTC by Matthew Thode ( prometheanfire )
Modified: 2010-09-28 17:53 UTC (History)
4 users (show)

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


Attachments
A patch to fix the issue (0001-dev-db-libdbi-drivers-Depend-on-dev-db-postgresql-ba.patch,5.28 KB, patch)
2010-09-28 10:06 UTC, Michał Górny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2010-07-20 01:46:13 UTC
Postgresql was updated and broken out into pieces, this change is not reflected here.

Reproducible: Always

Steps to Reproduce:




All that needs to be done is to change a line in the ebuild.  It can be done for the r1 revision that there is a bug report on.
Comment 1 Aaron W. Swenson gentoo-dev 2010-07-20 03:00:55 UTC
To be clear, it's dev-db/libdbi-drivers-0.8.3-r1
Comment 2 Aaron W. Swenson gentoo-dev 2010-07-21 17:29:48 UTC
This package should depend upon dev-db/postgresql-base. 'libpq' from 8.0 or later -- and 8.0 is slated for removal soon -- is the only requirement and that is contained in dev-db/postgresql-base.

Resolving this bug will resolve bug 288456 as well. (The virtual packages are gone, but that bug also mentions that the dependency should be on -base.)

Reference:
http://libdbi-drivers.sourceforge.net/docs/dbd_pgsql/install-prereq.html
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2010-07-21 19:16:24 UTC
You can close that this if you want in deference to bug 288456.
Comment 4 Aaron W. Swenson gentoo-dev 2010-07-22 14:01:22 UTC
(In reply to comment #3)
> You can close that this if you want in deference to bug 288456.
> 

If anything, bug 288456 can be closed in deference to this bug. This bug is the more accurate of the two. (^_^)
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-28 09:30:37 UTC
*** Bug 288456 has been marked as a duplicate of this bug. ***
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-28 10:06:42 UTC
Created attachment 248891 [details, diff]
A patch to fix the issue

The attached patch changes the postgres dependency and differentiates between DEPEND and RDEPEND.
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-28 10:09:06 UTC
QA,

The bug is open and unresolved (along with its predecessor, bug #288456) for quite a long amount of time. The fix is trivial, and the attached patch does it. Could you take action?
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-09-28 17:23:00 UTC
InCVS.

2 months is not a long time...
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-28 17:37:22 UTC
(In reply to comment #8)
> 2 months is not a long time...

Sorry, didn't know you're around. 2009-10-10 seems longer than 2 months (the previous bug on the same topic).
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-09-28 17:53:42 UTC
The previous one was reassigned to dev-zero since he made the postgres change.
I half expect a new bug to be opened some day now, with some user complaining that it doesn't build||work on -base, and needs -server.