Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1783903 - Does coreutils really depend on ncurses?
Summary: Does coreutils really depend on ncurses?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: IoT Minimization
TreeView+ depends on / blocked
 
Reported: 2019-12-16 08:57 UTC by Peter Robinson
Modified: 2020-11-07 06:52 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-06 13:33:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2019-12-16 08:57:39 UTC
It doesn't look like coreutils 8.31 depends on ncurses any longer. Is there a reason that it depends on ncurses? Could it be made a weak dependency?

Comment 1 Kamil Dudka 2019-12-16 09:46:44 UTC
/etc/profile.d/colorls.{csh,sh} use /usr/bin/tput which is installed by ncurses.  See bug #469277.

You can install coreutils-single instead of coreutils to get rid of ncurses as well as other unnecessary dependencies.

Comment 2 Peter Robinson 2019-12-16 14:03:07 UTC
(In reply to Kamil Dudka from comment #1)
> /etc/profile.d/colorls.{csh,sh} use /usr/bin/tput which is installed by
> ncurses.  See bug #469277.
> 
> You can install coreutils-single instead of coreutils to get rid of ncurses
> as well as other unnecessary dependencies.

Other than the profile.d/colorls.* what else doesn't coreutils-single provide?

Comment 3 Pádraig Brady 2019-12-16 22:38:04 UTC
All utils are compiled to a single binary (like busybox).
sha*sum are slower as doesn't depend on openssl
expr/factor limited to machine width ints as doesn't depend on gmp

Comment 4 Kamil Dudka 2020-01-06 13:33:20 UTC
This was a question, not a bug of the coreutils package.  Closing...


Note You need to log in before you can comment on or make changes to this bug.