Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579324 - app-shells/bash should use equals/= slot operator for sys-libs/ncurses
Summary: app-shells/bash should use equals/= slot operator for sys-libs/ncurses
Status: RESOLVED DUPLICATE of bug 562584
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-08 10:48 UTC by Dennis Schridde
Modified: 2016-12-15 21:48 UTC (History)
1 user (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 Dennis Schridde 2016-04-08 10:48:38 UTC
app-shells/bash-4.3_p42-r2 (e.g.; this applies to all ebuilds I looked at) currently depends on >=sys-libs/ncurses-5.2-r2. sys-libs/ncurses-6.0-r1:0/6 satisfies this dependency.

However, app-shells/bash was built against sys-libs/ncurses:0/5, which results in it having libncurses.so.5 in DT_NEEDED, instead of libncurses.so.6, which is the SONAME of sys-libs/ncurses:0/6:
# scanelf -n /bin/bash
 TYPE   NEEDED FILE 
ET_DYN libreadline.so.6,libncurses.so.5,libc.so.6 /bin/bash 

As sys-libs/ncurses:0/5 is not installed anymore (it was upgraded to sys-libs/ncurses:0/6), bash does not start anymore:
/bin/bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

Thus it would be good if app-shells/bash would depend on >=sys-libs/ncurses-5.2-r2:= instead of >=sys-libs/ncurses-5.2-r2, to prevent such issues in the future and allow for portage to automatically rebuild it, if necessary.
Comment 1 Dennis Schridde 2016-04-13 11:38:48 UTC
> However, app-shells/bash was built against sys-libs/ncurses:0/5

This should have been:

However, on my system, app-shells/bash was built against sys-libs/ncurses:0/5
Comment 2 SpanKY gentoo-dev 2016-04-13 14:05:34 UTC

*** This bug has been marked as a duplicate of bug 562584 ***
Comment 3 SpanKY gentoo-dev 2016-12-15 21:48:48 UTC
*** Bug 602672 has been marked as a duplicate of this bug. ***