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

Bug 836696

Summary: sys-libs/ncurses: remove libcurses.so symlink
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: flow, gentoo
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/24882
https://bugs.gentoo.org/show_bug.cgi?id=837812
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 836155    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-04-03 14:24:13 UTC
Let's remove the "libcurses.so" symlink from ncurses package.

Firstly, it shouldn't really be needed by anything.  I did a quick test and no packages failed after removing it but admittedly a full tinderbox run would be better.  Nevertheless, between ncurses-y header install directories and libtinfo use, I honestly doubt any real software using -lcurses is still going to work.

Secondly, this breaks CMake's detection of libtinfo.  Surely, this is CMake logic being odd and a whole lot of packages is working this around already but removing "libcurses.so" is an easy way to make everything work out of the box.
Comment 1 Larry the Git Cow gentoo-dev 2022-04-06 18:08:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1117e617c725e6d474628336fd5c2a6068d5eb76

commit 1117e617c725e6d474628336fd5c2a6068d5eb76
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-04-06 18:07:58 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-04-06 18:07:58 +0000

    sys-libs/ncurses: Remove libcurses.so symlink
    
    Closes: https://github.com/gentoo/gentoo/pull/24882
    Closes: https://bugs.gentoo.org/836696
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-libs/ncurses/ncurses-6.3_p20211106-r1.ebuild | 357 +++++++++++++++++++++++
 1 file changed, 357 insertions(+)