What | Removed | Added |
---|---|---|
Assignee | sbrabec@suse.com | werner@suse.com |
I wrote a simple hack that disables pkg-config lookup for tinfo, and rewrites libtinfo to libtinfow. If fixes the problem, but it is something that cannot be upstreamed. https://build.opensuse.org/package/view_file/home:sbrabec:branches:util-linux-tinfow-1056171/util-linux/util-linux-tinfow-hack.patch?expand=1 But in general, it is a problem of both ncurses and util-linux: - ncurses lacks tinfow.pc pkg-config file, and tinfo.pc always refers to libtinfo. - util-linux does not check for it. - And finally, ncurses started to crash in the both-versions-link case. For now, reassigning back to Werner. Please evaluate, what should be done with tinfo(|w) pkg-config file. I can either submit this hack, or wait for ncurses with the new pkg-config file. Please re-assign it back to me when you will be finished, and I will create upstream-able patch. Does it make sense to add util-linux check for a special case when tinfow exists but tinfow.pc does not? Testing packages linked against tinfow only work: https://build.opensuse.org/package/show/home:sbrabec:branches:util-linux-tinfow-1056171/util-linux http://download.opensuse.org/repositories/home:/sbrabec:/branches:/util-linux-tinfow-1056171/openSUSE_Factory/