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

Build failure: coreutils #290777

Closed
RossComputerGuy opened this issue Feb 23, 2024 · 3 comments
Closed

Build failure: coreutils #290777

RossComputerGuy opened this issue Feb 23, 2024 · 3 comments

Comments

@RossComputerGuy
Copy link
Contributor

Steps To Reproduce

Steps to reproduce the behavior:

  1. Attempt to fetch coreutils on aarch64-linux

Nix will build coreutils instead of fetching it

Build log

https://termbin.com/ggm7

Additional context

Add any other context about the problem here.

Notify maintainers

@dasJ

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-linux"`
 - host os: `Linux 6.6.0-asahi, NixOS, 23.11 (Tapir), 23.11pre-git`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a 👍 reaction to issues you find important.

@adamjedrzejewski
Copy link
Contributor

adamjedrzejewski commented Feb 23, 2024

@RossComputerGuy: I suspect this might be caused by changes introduced by asahi in fcntl, see this commit

Build log says:

FAIL: test-fcntl
================

test-fcntl.c:269: assertion 'fcntl (fd, F_DUPFD_CLOEXEC, -1) == -1' failed
FAIL test-fcntl (exit status: 134)

@tpwrules
Copy link
Contributor

Reverting that does fix this issue. I'm raising it with the Asahi folks.

@tpwrules
Copy link
Contributor

tpwrules commented Feb 27, 2024

I have patched the patch to address this problem for NixOS on Apple Silicon users at least. Not sure if Asahi will take it but I don't think there's anything further for us the NixOS folks to do here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants