-
Notifications
You must be signed in to change notification settings - Fork 52
[POC] utils-std-0.1.1 instead of coreutils-5.0/pass2 & coreutils-6.10 #565
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
base: master
Are you sure you want to change the base?
Conversation
fosslinux
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooh, good find!
steps/utils-std-0.1.1/pass1.sh
Outdated
| } | ||
|
|
||
| src_configure() { | ||
| ./configure PREFIX="${PREFIX:-/usr}" CC=tcc AR=tcc\ -ar |
There was a problem hiding this comment.
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 :)
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
excellent work!
158e6b1 to
35f7acb
Compare
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 |
There was a problem hiding this comment.
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
Draft Pull Request for now as it's pretty experimental: