Thankyou. manpages: I see (does uutils provide locale files in the feature?)
libstdbuf.so: I don't know how many non coreutils are linked to it. But I keep it in mind.
Git Clone URL: | https://aur.archlinux.org/coreutils-uutils.git (read-only, click to copy) |
---|---|
Package Base: | coreutils-uutils |
Description: | (warning: use at own risk) Cross-platform Rust rewrite of the GNU coreutils being used as actual system coreutils |
Upstream URL: | https://github.com/uutils/coreutils |
Licenses: | GPL3, MIT |
Conflicts: | b3sum, coreutils, sha3sum |
Provides: | b3sum, coreutils, sha3sum |
Submitter: | kj_sh604 |
Maintainer: | kj_sh604 |
Last Packager: | kj_sh604 |
Votes: | 3 |
Popularity: | 1.17 |
First Submitted: | 2024-06-29 21:27 (UTC) |
Last Updated: | 2025-04-20 08:22 (UTC) |
Thankyou. manpages: I see (does uutils provide locale files in the feature?)
libstdbuf.so: I don't know how many non coreutils are linked to it. But I keep it in mind.
@oech3 sorry, just caught up with your comments on this package build.
RE: usage of symlinks
I see that you've already made a coreutils-uutils-symlink
package build, which is great! I'll probably keep this package "as is" for now, since it also builds the manpages and necessary libraries like libstdbuf.so
, which ships with coreutils
on Arch.
I do think your PKGBUILD is a great alternative.
I'll also wait on the resolution of #1 and the issue you posted, #2 on the uutils-coreutils
GitLab and see how the official maintainers would like to move forward.
RE: variable naming and nix-busybox stty
Thanks for that heads-up on the var names. When I get the free time, I'll rename the variables in the PKGBUILD to be in-line with AUR best practices.
The GNU version of stty
, chcon
, and runcon
are already being built in this package. If nix-busybox
completes the selinux set including chcon
and runcon
, I'll consider moving over to using the nix-busybox
package for the missing utils instead.
Thanks @oech3
Vars such as gnu_coreutils_version should be _gnu_coreutils_version. It would be nice if pkgver=${_rust_uutils_version}.${_gnu_coreutils_version}.
By the way, nix-busybox has stty if you do not want to build. I don't know about chcon, and runcon.
How about using symlink to/usr/bin/uu-coreutils
of uutils-coreutils
to skip building after package version be the same?
error when building with clang 20, but with cargo install from github and gcc all good
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="very long text"
= note: /usr/bin/ld: /home/meflove/.cache/paru/clone/coreutils-uutils/src/coreutils-0.0.29/target/release/build/uu_stdbuf_libstdbuf-f856eaa91801958f/out/librust_cpp_generated.a: error adding symbols: file format not recognized
collect2: error: ld returned 1 exit status
error: could not compile `uu_stdbuf_libstdbuf` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
make: *** [GNUmakefile:283: build-coreutils] Error 101
==> ERROR: A failure occurred in package().
Aborting...
error: failed to build 'coreutils-uutils-0.0.29-1':
error: packages failed to build: coreutils-uutils-0.0.29-1
Note:
This package still builds the following GNU coreutils:
stty
(not included in MULTICALL=y
uutils)chcon
(not included in MULTICALL=y
uutils)runcon
(not included in MULTICALL=y
uutils)
Additionally,
This package uses everything in the Rust coreutils
(MULTICALL=y PROFILE=release) binary, including some tools not included in the stock Arch Linux coreutils package. This includes:
b2sum
b3sum
md5sum
sha1sum
sha224sum
sha256sum
sha3-224sum
sha3-256sum
sha3-384sum
sha3-512sum
sha384sum
sha3sum
sha512sum
shake128sum
shake256sum
Therefore, this package conflicts with the b3sum
and sha3sum
packages as well.
Pinned Comments
kj_sh604 commented on 2024-06-30 12:56 (UTC) (edited on 2025-01-18 23:28 (UTC) by kj_sh604)
Note:
This package still builds the following GNU coreutils:
stty
(not included inMULTICALL=y
uutils)chcon
(not included inMULTICALL=y
uutils)runcon
(not included inMULTICALL=y
uutils)Additionally,
This package uses everything in the Rust
coreutils
(MULTICALL=y PROFILE=release) binary, including some tools not included in the stock Arch Linux coreutils package. This includes:b2sum
b3sum
md5sum
sha1sum
sha224sum
sha256sum
sha3-224sum
sha3-256sum
sha3-384sum
sha3-512sum
sha384sum
sha3sum
sha512sum
shake128sum
shake256sum
Therefore, this package conflicts with the
b3sum
andsha3sum
packages as well.