Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176892 - dev-db/libpq-8.2.4 reslot to 5?
Summary: dev-db/libpq-8.2.4 reslot to 5?
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2007-05-03 08:09 UTC by Graham Murray
Modified: 2011-05-16 11:15 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Graham Murray 2007-05-03 08:09:42 UTC
libpq is already slotted and dev-db/libpq-8.2.4 installs Therefore the upgrade requires a rebuild (which revdep-rebuild finds) of all installed packages using libpq. If libpq-8.2.4 were placed in slot 5, existing client applications would not need to be immediately rebuilt but continue to use and will still communicate with the server running 8.2.x.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-03 08:30:25 UTC
Slotted postgresql won't get into the tree now. Needs more testing and work in the overlay.
Comment 2 Matt Michalowski 2007-05-08 00:10:22 UTC
Related to this,

dev-dev/libpq-8.2.4 installs /usr/lib/libpq-5.a, but installs a symlink libpq.a -> libpq-${SLOT}.a, ie. in this case libpq-4.a which doesn't exist.
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2007-10-01 07:36:57 UTC
after a friend lamenting to me the exact same problem I decided I would just stop using pdns to get around, I decided to look into the problem a bit further. 

 cat /usr/portage/dev-db/libpq/libpq-8.2.4.ebuild

src_install() {
        dosym libpq-${SLOT}.a /usr/$(get_libdir)/libpq.a

file /usr/lib/libpq.a
/usr/lib/libpq.a: broken symbolic link to `libpq-4.a'

qlist libpq | grep "\/libpq\...."

hmm. No libpq-4. funny that. 


Assign Plz ? 

THeres about 3 different easy ways to get around this problem of course ;) Just needs somebody with commit rights to choose which is most sane and get it done :)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-10-01 07:41:30 UTC
This bug is about slotted postgresql; if you have issues with libpq, file a *new* bug please. Thanks.
Comment 5 Aaron W. Swenson gentoo-dev 2011-05-16 11:15:05 UTC
Doesn't get any later than this. Package no longer exists.