Skip to content
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

Newer coreutils would support getattrat(3c) #25

Open
nshalman opened this issue Sep 14, 2016 · 1 comment
Open

Newer coreutils would support getattrat(3c) #25

nshalman opened this issue Sep 14, 2016 · 1 comment

Comments

@nshalman
Copy link

Among other things this should allow stat(1) to report file birth times.

http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=ea916c70a5fc47ee6036a05416bc7462fd8dc1cd

Low priority, but might be nice to have.

@nshalman
Copy link
Author

Noting so that others don't have to hit it first, this appears to be a bit of a morass:

  • Download the 8.25 .tar.xz, uncompress it, recompress with gzip
  • Make the FORCE_UNSAFE_CONFIGURE=1 change so that build systems that build as root can run configure
  • Tweak which targets get built so that it doesn't try to build certain binaries that fail to compile

Makefile changes:

diff --git a/coreutils/Makefile b/coreutils/Makefile
index 5d97613..279995a 100644
--- a/coreutils/Makefile
+++ b/coreutils/Makefile
@@ -21,9 +21,13 @@
 # Copyright (c) 2012, Joyent, Inc.  All rights reserved.
 #

-VER =  coreutils-8.13
+VER =  coreutils-8.25

 include ../Makefile.defs
+
+AUTOCONF_ENV += FORCE_UNSAFE_CONFIGURE=1
+ALL_TGT = src/stat src/seq src/readlink man/readlink.1 man/seq.1 man/stat.1
+
 include ../Makefile.targ

 all: all_autoconf

Still doesn't work because in a full build something is wrong that isn't wrong when building just those binaries invoking Make manually. :(

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

1 participant