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
attr: fix issues with 2.4.48 #53946
attr: fix issues with 2.4.48 #53946
Conversation
Hmm, not sure why ofborg complains about this, works locally, though perhaps there is a more portable way to refer to
|
I'd prefer a shim that complains, like what gentoo uses: I don't know much about the change but either it's wrong and should be reverted or it's "right" and non-compliant programs should have their usage flagged or rejected, depending on the reasons for the change. Yes there are grays between but that's why I suggest the gentler shim/warning approach :). This also avoids propagating the libc dep, although I'm not sure that is ever useful here O:). |
Right, that's cleaner. I added shim inline. |
Duh, it's part of the stdenv, that explains why |
Upstream's reasoning (which sounds sane to me, at least since we haven't really seen tons of failures)
http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38 The syscall wrappers have been partially reverted, which I included as a patch. |
Thanks for info and updates, generally LGTM! Just a thought: is the list over on #53716 complete? Maybe it's not worth plumbing the shim/symlink over, and we should instead patch/update the packages in question? Said a different way: How do we avoid this becoming a permanent workaround? The patch will presumably be noticed when it doesn't apply on next version bump, but not sure how to handle the compatibility header. I suppose it doesn't really hurt anyone/anything ..... |
No, just random stuff I found while I was looking for something else, though it shouldn't be a huge amount. Full build log search on hydra would be awesome... ... a while later Scrambled together some shell scripts and got a full list of x86_64-linux packages who's build log contains
(edit: removed duplicates) That's not really a lot, so I agree, it's probably better to fix those instead. |
Add upstream patch to fix issues with fakechroot.
Removed the shim entirely, better to just fix the few packages which fails (close to complete list at #53716, I count 7 remaining failures). Not sure if the patch is important (though it's upstream, so probably won't hurt). The main motivation from upstream:
|
Motivation for this change
Shim to sys/xattr.h and add upstream patch to fix issues with fakechroot.
resolves #53716
Similar to fedora and gentoo:
cc @pbogdan hopefully just symlinking like this should work?
Things done
Built bcachefs-tools (without #53919 which fixes it independently) and things seemed to work.
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)