Describe the bug
pkgs.xar cannot be built on any system outside of *-darwin (and maybe BSD systems) due to the usage of a BSD/Darwin specific fnctl value F_GETPATH in xar/lib/archive.c.
I believe this is a regression since pkgs.xar has worked before (master works), and the last time it was touched was by @reckenrode in #346043.
Steps To Reproduce
Steps to reproduce the behavior:
nix build github:NixOS/nixpkgs?rev=6968567d601da88ff67834173c9384f7a7be3d3d
- Fails to build
lib/archive.o due to above
Expected behavior
I assume a patch to exclude this behaviour, or if that's not possible (how did older pkgs.xar versions work, is this new?) then marking as darwin-platform only.
Notify maintainers
cc @copumpkin [maintainer]
cc @reckenrode [last commiter]
Metadata
- system: `"x86_64-linux"`
- host os: `Linux 6.6.58, NixOS, 24.11 (Vicuna), 24.11.20241025.18536bf`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Lix, like Nix) 2.91.1
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux, x86_64-v4-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/frontear/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/frontear/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/frontear/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/frontear/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/99w9bip89dil7f2c7ngn2nkzlkld5gc0-lix-2.91.1/share`
- nixpkgs: `/nix/store/bmgbhh46sapjn6c846djxygdvxy9djlj-input-farm/nixpkgs`
Add a 👍 reaction to issues you find important.
Describe the bug
pkgs.xarcannot be built on any system outside of*-darwin(and maybe BSD systems) due to the usage of a BSD/Darwin specificfnctlvalueF_GETPATHinxar/lib/archive.c.I believe this is a regression since
pkgs.xarhas worked before (master works), and the last time it was touched was by @reckenrode in #346043.Steps To Reproduce
Steps to reproduce the behavior:
nix build github:NixOS/nixpkgs?rev=6968567d601da88ff67834173c9384f7a7be3d3dlib/archive.odue to aboveExpected behavior
I assume a patch to exclude this behaviour, or if that's not possible (how did older
pkgs.xarversions work, is this new?) then marking as darwin-platform only.Notify maintainers
cc @copumpkin [maintainer]
cc @reckenrode [last commiter]
Metadata
Add a 👍 reaction to issues you find important.