Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836820 - sys-apps/uutils-0.13 should install a single binary
Summary: sys-apps/uutils-0.13 should install a single binary
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luca Barbato
Depends on:
Reported: 2022-04-05 09:00 UTC by Vincent de Phily
Modified: 2022-04-06 22:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Vincent de Phily 2022-04-05 09:00:20 UTC
The current package build each utilities as separate binaries, resulting in over 110MB of binaries. Overall the package weighs 160MB.

Reproducible: Always

Expected Results:  
A direct `cargo build --release --features unix` results in a single 13MB binary (once stripped). The other binaries should be hardlinks of that single binary.
Comment 1 Vincent de Phily 2022-04-06 18:04:13 UTC
The `cargo install` method is probably too barebones for the ebuild, but it turns out we can get the desired behavior using ` make MULTICALL=y PROG_PREFIX=uu- install`.

It'd also be nice to only install the shell completions if the corresponding USE flag is set, but I didn't find a clean way to specify that with the makefile method.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-06 18:04:55 UTC
Shell completions are usually installed unconditionally. You can use INSTALL_MASK to drop those.