8000 Install doesn't include all binaries · Issue #6491 · uutils/coreutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Install doesn't include all binaries #6491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JoshMcguigan opened this issue Jun 22, 2024 · 2 comments
Open

Install doesn't include all binaries #6491

JoshMcguigan opened this issue Jun 22, 2024 · 2 comments

Comments

@JoshMcguigan
Copy link

Hi, thanks for the work on uutils/coreutils! I'm experimenting with using them as the base for a Gentoo system, and found the make based installer doesn't include all the binaries.

In particular, with MULTICALL=y, some of the checksums (for example sha256sum) are not included.

This may relate, for some users, to #6466, since the --list can be used to create symlinks exhaustively for all the available entrypoints.

@AngryLoki
Copy link
AngryLoki commented Jun 24, 2024

I guess this is related to https://www.joshmcguigan.com/blog/gentoo-uutils-coreutils/

a matter of diff'ing those two lists and patching up any gaps

Missing in sys-apps/uutils-coreutils-0.0.27 (mostly missing symlinks):

b2sum
chcon (requires USE=selinux)
md5sum
runcon (requires USE=selinux)
sha1sum
sha224sum
sha256sum
sha384sum
sha512sum
stty (requires USE=selinux)

Missing in sys-apps/coreutils-9.4-r1:

coreutils (uutils internals)
groups (part of sys-apps/shadow)
hashsum (uutils internals?)
hostname (part of sys-apps/net-tools)
kill (part of sys-process/procps)
more (part of sys-apps/util-linux)
uptime  (part of sys-process/procps)

@ed9w2in6
Copy link
ed9w2in6 commented Apr 27, 2025

I have inspected by installation and found these missing to be exact:
{'sha512sum', 'sha256sum', 'md5sum', 'stty', 'b2sum', 'runcon', 'sha224sum', 'sha1sum', 'sha384sum', 'chcon'}

Some of them make sense e.g. runcon, chcon since they are SELinux specific but I'm not sure about the check sum ones.

By inspecting the makefile this seems deliberate? None of the checksum commands are listed, then the two SELinux ones are listed but not linked:
https://github.com/uutils/coreutils/blob/ed3da5fd6555db63af994717eb150fda163bcd5a/GNUmakefile

A "fix" will obviously be trivial, just change the makefile, and we can do symlink ourselves too but I'm more curious why they aren't installed for the first place, which I believe should have a reason.

Not sure who to ask though...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0