Skip to content

Conversation

@lanodan
Copy link

@lanodan lanodan commented Jan 25, 2026

Draft Pull Request for now as it's pretty experimental:

  • utils-std doesn't yet provides a full set of utilities

@lanodan lanodan changed the title use utils-std-0.1.1 instead of coreutils-5.0/pass2 & coreutils-6.10 [POC] utils-std-0.1.1 instead of coreutils-5.0/pass2 & coreutils-6.10 Jan 25, 2026
Copy link
Owner

@fosslinux fosslinux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooh, good find!

}

src_configure() {
./configure PREFIX="${PREFIX:-/usr}" CC=tcc AR=tcc\ -ar
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't need the :-/usr :)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think @lanodan found it. I've got an impression that he wrote these.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's a set of utilities I maintain (wrote some but also lifted some from BSD when I'd essentially write the same kind of code).

(Will strip out /usr either after FOSDEM or once I debug the failed bootstraps packages a bit more)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excellent work!

@lanodan lanodan force-pushed the utils-std branch 2 times, most recently from 158e6b1 to 35f7acb Compare February 12, 2026 02:55
With a POSIX conforming getopt() options ends at first non-option,
so the -p has to be before the arguments.
utils-std-0.1.1 doesn't replaces coreutils-5.0/pass1 due to depending on:
* A shell for ./configure, making the bash implicit jump messy
* POSIX C interfaces which mes-libc lacks

Also coreutils-6.10 is only for utilities which utils-std provides:
date, mktemp, sha256sum
ce758eeb2964ae8756c3f8a52c6d436f4b9f102cfcfbdfa2ad2b5019947ff6d5 libffi-3.5.2_0.tar.bz2
9e1932db252894478dc98985f931312cbe5ee0eb40db251c75c79dd01294b15b libmd-1.1.0_0.tar.bz2
311cc3a5ad4126b030b32bc1e9e787bd55caa861626d210bab4eb81e50244125 libtool-2.2.4_0.tar.bz2
88e23e6c3f9aa8f1bd46ad40b08b05a4e6c8e667aa8926fcee92eee713f37e79 libtool-2.2.4_0.tar.bz2
Copy link
Author

@lanodan lanodan Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked the diff between the two tarballs and might be due to something like utils-std providing getconf.

diff --git a/libtool-reference/usr/bin/libtool b/libtool-utils-std/usr/bin/libtool
index 4017d91..8badc60 100644
--- a/libtool-reference/usr/bin/libtool
+++ b/libtool-utils-std/usr/bin/libtool
@@ -94,7 +94,7 @@ NM="link -dump -symbols"
 LN_S="ln -s"

 # What is the maximum length of a command?
-max_cmd_len=32768
+max_cmd_len=98304

 # Object file suffix (normally "o").
 objext=o

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

Successfully merging this pull request may close these issues.

3 participants