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

Bug 611336

Summary: sys-libs/db:4.8 (maybe others) - add support for debian-compatible symbol versions
Product: Gentoo Linux Reporter: Ian Stakenvicius (RETIRED) <axs>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: add USE=debian-symver to sys-libs/db:4.8

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?