-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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: libiconv-darwin (static) #320448
Comments
That PR enables static builds with a flag and such but it doesn't mention |
That was my guess too. I seem to get that same error whether I'm using a version of nixpkgs with the PR merged or not. I tried just overriding the package on my end to add bintools but it led to infinite recursion errors. |
Meson expects to invoke |
Do you have a link to that branch so I can test it? All good if not. |
I’m pretty sure it’s been pushed publicly to #307880. |
This should be fixed by #322388. |
Also requires #322497. |
i tried staging-next, it seems to fail in
|
It also depends on #322497, which hasn’t hit master yet. |
As #322497 has landed in master (
pkgsStatic.libiconv . It fails while building ld64-951.9 :
@nix { "action": "setPhase", "phase": "installCheckPhase" }
Running phase: installCheckPhase
The Meson build system
Version: 1.4.1
Source dir: /private/tmp/nix-build-ld64-951.9.drv-0/source
Build dir: /private/tmp/nix-build-ld64-951.9.drv-0/source/build-install-check
Build type: native build
Project name: ld64
Project version: 951.9
C compiler for the host machine: clang (clang 16.0.6 "clang version 16.0.6")
C linker for the host machine: clang ld64 951.9
C++ compiler for the host machine: clang++ (clang 16.0.6 "clang version 16.0.6")
C++ linker for the host machine: clang++ ld64 951.9
Host machine cpu family: aarch64
Host machine cpu: aarch64
Program python3 found: YES (/nix/store/1sgajx2r3bkriyxzwsahhva63p08pmac-python3-3.12.4/bin/python3)
Library tapi found: YES
Found pkg-config: YES (/nix/store/hb6wmiz0yrwi0rnhf4xvz6lx616m43xb-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2
Run-time dependency openssl found: YES 3.0.14
Library xar found: YES
Checking if "supports DISPATCH_APPLY_AUTO" compiles: YES
Checking if "supports dispatch_queue_global_t" compiles: YES
Build targets in project: 9
ld64 951.9
User defined options
buildtype: release
b_lto : true
Found ninja-1.12.1 at /nix/store/9vzvg3xc0nwm8dmmn18fnw784d9h8d9v-ninja-1.12.1/bin/ninja
ninja: error: unknown target 'aarch64-apple-darwin-ld' |
Thanks for the report. That ld64 failure should be fixed by #330949. |
@reckenrode I just built |
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Additional context
From what I can tell, #315180 is supposed to fix this issue but it doesn't seem to have changed anything (I have ensured my flake is using the latest version of nixpkgs-unstable, which has this PR merged).
Notify maintainers
@NixOS/darwin-maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result."aarch64-darwin"
Darwin 24.0.0, macOS 15.0
yes
no
nix-env (Nix) 2.18.2
/Users/marshall/.nix-defexpr/channels/nixpkgs
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: