-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
wayland: fix cross #105103
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
wayland: fix cross #105103
Conversation
Please target staging. |
@@ -42,20 +57,32 @@ in stdenv.mkDerivation rec { | |||
|
|||
depsBuildBuild = [ | |||
pkgconfig | |||
binutils |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the diff is anyone is searching for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before:
$ nix build -f . pkgsCross.aarch64-multiplatform.wayland
error: build of '/nix/store/69j04pdvzrjxkf34wfkvc1bhdqkcdssg-wayland-1.18.0-aarch64-unknown-linux-gnu.drv' on 'ssh://whitby' failed: builder for '/nix/store/69j04pdvzrjxkf34wfkvc1bhdqkcdssg-wayland-1.18.0-aarch64-unknown-linux-gnu.drv' failed with exit code 1
builder for '/nix/store/69j04pdvzrjxkf34wfkvc1bhdqkcdssg-wayland-1.18.0-aarch64-unknown-linux-gnu.drv' failed with exit code 1; last 10 log lines:
Build-time dependency wayland-scanner found: YES 1.18.0
Program /nix/store/xmkd03p5i7pzjxqvsngyflmlhjl7dmxj-wayland-1.18.0/bin/wayland-scanner found: YES (/nix/store/xmkd03p5i7pzjxqvsngyflmlhjl7dmxj-wayland-1.18.0/bin/wayland-scanner)
Library m found: YES
Run-time dependency threads found: YES
Program nm found: NO
egl/meson.build:14:0: ERROR: Program 'nm' not found
A full log can be found at /build/wayland-1.18.0/build/meson-logs/meson-log.txt
builder for '/nix/store/69j04pdvzrjxkf34wfkvc1bhdqkcdssg-wayland-1.18.0-aarch64-unknown-linux-gnu.drv' failed with exit code 1
[3 built (1 failed), 58 copied (977.7 MiB), 194.5 MiB DL]
error: build of '/nix/store/69j04pdvzrjxkf34wfkvc1bhdqkcdssg-wayland-1.18.0-aarch64-unknown-linux-gnu.drv' failed
After:
$ nix build -f . pkgsCross.aarch64-multiplatform.wayland
[4 built, 34 copied (837.4 MiB), 163.2 MiB DL]
See |
substituteInPlace stopped working, let's replace this with a patch which is more reliable.
c7b0793
to
f9e945e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the fix!
meson needs to invoke nm from binutils during build
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)