Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611336 - sys-libs/db:4.8 (maybe others) - add support for debian-compatible symbol versions
Summary: sys-libs/db:4.8 (maybe others) - add support for debian-compatible symbol ver...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-01 21:00 UTC by Ian Stakenvicius (RETIRED)
Modified: 2017-03-01 21:00 UTC (History)
0 users

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


Attachments
add USE=debian-symver to sys-libs/db:4.8 (patch,2.43 KB, patch)
2017-03-01 21:00 UTC, Ian Stakenvicius (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Stakenvicius (RETIRED) gentoo-dev 2017-03-01 21:00:49 UTC
Created attachment 465662 [details, diff]
add USE=debian-symver to sys-libs/db:4.8

Newer versions of media-tv/plex-media-sever (yes, binary crud) link to sys-libs/db:4.8's libdb-4.8.so , but with symbol versioning of the form DB4_8 which is used by debian/ubuntu in their builds.

Using symbol versioning that matches debian's scheme is fairly straight-forward, and would have advantages to not only running binary stuff built for debian/ubuntu on gentoo but also for generating binaries that would run on debian/ubuntu from within gentoo.

This isn't a change that could take place lightly however, due to the fact that the symbol version switch would break ABI completely until the rdeps are rebuilt against the new symbols.  However, putting a use flag on this (default-disabled) I think would still be of benefit for those that are interested in the functionality (and to get around pre-built-binary limitations) without having to manually patch or overlay.

I've attached a gentoo-repo diff of such a change, to help illustrate the request.  Thoughts?