Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654870 - sys-apps/util-linux-2.30.2-r1: tools crash w/sys-libs/ncurses-6.1 because only tinfo (not tinfow) is searched
Summary: sys-apps/util-linux-2.30.2-r1: tools crash w/sys-libs/ncurses-6.1 because onl...
Status: RESOLVED FIXED
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: https://git.kernel.org/pub/scm/utils/...
Whiteboard:
Keywords:
Depends on:
Blocks: ncurses-6.1
  Show dependency tree
 
Reported: 2018-05-04 20:10 UTC by Sławomir Nizio
Modified: 2019-07-17 09:02 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sławomir Nizio 2018-05-04 20:10:50 UTC
(gdb) bt
#0  0x00007fcc7953c5e0 in termattrs_sp () from /lib64/libncursesw.so.6
#1  0x00007fcc79538cb7 in _nc_setupscreen_sp () from /lib64/libncursesw.so.6
#2  0x00007fcc7953358e in newterm_sp () from /lib64/libncursesw.so.6
#3  0x00007fcc79533aab in newterm () from /lib64/libncursesw.so.6
#4  0x00007fcc7952e80a in initscr () from /lib64/libncursesw.so.6
#5  0x00005616dd0c72a4 in main ()

likely same thing as e.g. https://bugs.gentoo.org/651914, also judging from what is being done in configure.ac (very quick check only; I can be wrong): hard-coded -ltinfo.


I haven't checked with unstable versions.


TERM is xterm-256color
Comment 1 Sławomir Nizio 2018-05-04 20:13:56 UTC
see also (seemingly same bug):
bug 654866 about app-admin/testdisk
Comment 2 SpanKY gentoo-dev 2018-06-25 22:44:33 UTC
util-linux doesn't hardcode tinfo ... it checks ncurses & tinfo independently via pkg-config as it should

please attach a full build log as well as `emerge --info` to all of your bug reports
Comment 3 Sławomir Nizio 2018-06-25 22:58:25 UTC
Sure, I will attach stuff later but now I'll just add

> also judging from what is being done in configure.ac (very quick check only; I can be wrong): hard-coded -ltinfo.

I actually meant "searched only for tinfo, not tinfow." (I don't know full details behind this but there are packages that crash with the combination of ncursesw+tinfo).
Comment 4 SpanKY gentoo-dev 2018-06-25 23:05:35 UTC
(In reply to Sławomir Nizio from comment #3)

thanks for the clarification.  in that regard, yes, util-linux-2.30 is broken.  it was fixed upstream for util-linux-2.31:
  https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=ad442a818c6eefabb8258a9949206e12f2296161

we only have 2.30 stable atm.  prob should just roll forward.
Comment 5 Sławomir Nizio 2018-07-12 20:02:40 UTC
Now that sys-apps/util-linux-2.32-r4 is stable this bug (from my point of view) can be closed.