Summary: | tinfo USE flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | konsolebox <konsolebox> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
konsolebox
2016-12-06 06:11:28 UTC
that solution is a bad idea and is why we're stuck in this situation as it is. the right answer is to query pkg-config for ncurses libs and then it always works regardless of USE=tinfo setting. usually as we fix ebuilds that mishandle tinfo linkage, the fix is to use make that change at the same time. which is also what we already recommend -- look at comment #0 in the tracking bug 457530. *** This bug has been marked as a duplicate of bug 457530 *** (In reply to SpanKY from comment #1) > that solution is a bad idea and is why we're stuck in this situation as it > is. the right answer is to query pkg-config for ncurses libs and then it > always works regardless of USE=tinfo setting. > > usually as we fix ebuilds that mishandle tinfo linkage, the fix is to use > make that change at the same time. which is also what we already recommend > -- look at comment #0 in the tracking bug 457530. > > *** This bug has been marked as a duplicate of bug 457530 *** That doesn't automatically fix packages linked against libncurses that requires relinking against libtinfo. That implies always relying on revdep-rebuild. That which could even cause breakage during a world install, because would that needs rebuilds would be detected immediately. If you're talking about 'export LDFLAGS="-ltinfo ${LDFLAGS}" LIBS="-ltinfo ${LIBS}"' being a bad idea over relying on pkg-config, then you can incorporate the pkg-config method over this. * because packages that need rebuilds wouldn't be detected immediately. (In reply to konsolebox from comment #2) there is no breakage at runtime. forcing packages that don't need or care about USE=tinfo to now carry the flag makes sense. the whole reason we allowed the flag in the first place is because you can rebuild ncurses with it on or off and the runtime stays stable. the breakage only shows up at build time, and that's because the packages in question don't handle subdeps of ncurses correctly. it's always been a problem, but it's shown up more because of tinfo. fixing the leaf packages is a one time penalty, and it fixes it not just for tinfo but for future build changes with ncurses. (In reply to SpanKY from comment #4) Are you implying that symbols are kept even when ncurses is built from [-tinfo] to [tinfo]? Can you explain how depending packages can dynamically adapt even if they aren't rebuilt? Or are you implying that people rely on revdep-rebuild? |