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

Bug 771621

Summary: sys-libs/ncurses-compat: add --with-versioned-symbols support
Product: Gentoo Linux Reporter: Gabriel <gabriel>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: enhancement CC: esigra, ionen, matthew
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=1875587
https://bugs.gentoo.org/show_bug.cgi?id=672526
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for ncurses-compat with aiblity to build versioned symbols
Description of new use flag

Description Gabriel 2021-02-19 15:29:14 UTC
Created attachment 687600 [details]
ebuild for ncurses-compat with aiblity to build versioned symbols

Please add the ability to build ncurses-compat with versioned symbols (add --with-verisoned-symbols to the configure stage).
Attaching ebuild with metadata - I added an off-by-default flag "versyms".
Please note:
- I'm not attaching the patches as they are the same as in ::gentoo
- I'm not the greatest at creativity, feel free to rename the flag
- My ebuild design skills are probably not at the height of ncurses-compat's - please see if I'm missing something. At the very least, it was mentioned in IRC that we are also building tic with the same do_configure, so I'm passing the same option (along with many others) to tic
- This works on my [amd64] machine (tm) and got rid of a warning
Comment 1 Gabriel 2021-02-19 15:29:34 UTC
Created attachment 687603 [details]
Description of new use flag
Comment 2 Gabriel 2021-02-19 15:40:29 UTC
For those interested, the reason I need this is that a bundled qtcreator (Sailfish SDK) complained that libtinfo.so.5 dind't have versioned symbols.
I first considered adding this to my package.env, but seeing on the wider internet that some other people seem to bump into this issue, I decided to request this as a feature.