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: mesa (aarch64) #281439

Closed
minego opened this issue Jan 17, 2024 · 4 comments
Closed

Build failure: mesa (aarch64) #281439

minego opened this issue Jan 17, 2024 · 4 comments

Comments

@minego
Copy link

minego commented Jan 17, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. build mesa on an aarch64 host

Build log

❯ nix log /nix/store/axzm7rxbdz1xvz25hgxlc27rv1wck626-mesa-24.0.0.drv
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/axzm7rxbdz1xvz25hgxlc27rv1wck626-mesa-24.0.0.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/wnn0j555mi9s2aj5dx8f7svz2y4bg5wh-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
applying patch /nix/store/q6a122idzfix30ffb10jfzl9p3h9793z-musl.patch
patching file src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
patching file src/gallium/drivers/freedreno/freedreno_util.h
Hunk #1 succeeded at 114 (offset 6 lines).
patching file src/gallium/frontends/nine/nine_debug.c
Hunk #1 succeeded at 65 with fuzz 2.
patching file src/util/rand_xor.c
applying patch /nix/store/j85q1lxb62khdmjj1kgilib8w7kvpc78-opencl.patch
patching file meson.build
patching file meson_options.txt
patching file src/gallium/targets/opencl/meson.build
patching file src/gallium/targets/rusticl/meson.build
applying patch /nix/store/0f62mdlb7bnrnryhkddy2lxr9il82flp-disk_cache-include-dri-driver-path-in-cache-key.patch
patching file meson_options.txt
Hunk #1 succeeded at 519 (offset 6 lines).
patching file src/util/disk_cache.c
Hunk #1 succeeded at 218 (offset -8 lines).
Hunk #2 succeeded at 242 (offset -8 lines).
patching file src/util/meson.build
Hunk #1 succeeded at 286 (offset 18 lines).
applying patch /nix/store/2y1l3alwq7sgdqjpjf99l579ms9317zn-0001-dri-added-build-dependencies-for-systems-using-non-s.patch
patching file src/gallium/targets/dri/meson.build
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/gallium/targets/dri/meson.build.rej
patching file src/glx/meson.build
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/glx/meson.build.rej
patching file src/loader/meson.build
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/loader/meson.build.rej

Additional context

Add any other context about the problem here.

Notify maintainers

@primeos
@vcunat

Metadata

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

nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-linux"`
 - host os: `Linux 6.6.0-asahi, NixOS, 24.05 (Uakari), 24.05.20240108.317484b`
 - 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.

@vcunat
Copy link
Member

vcunat commented Jan 17, 2024

nix log /nix/store/axzm7rxbdz1xvz25hgxlc27rv1wck626-mesa-24.0.0.drv

We do not have mesa-24.x in nixpkgs anywhere (23.3.3 at newest), so that's surely a change on your side, causing this conflict.

@vcunat vcunat closed this as not planned Won't fix, can't repro, duplicate, stale Jan 17, 2024
@minego
Copy link
Author

minego commented Jan 17, 2024

Ah! Of course. I forgot that the asahi stuff heavily modified mesa. The bug report should go to them instead. Thanks, and sorry for the confusion.

@vcunat
Copy link
Member

vcunat commented Jan 17, 2024

This one, for reference: tpwrules/nixos-apple-silicon#143

@minego
Copy link
Author

minego commented Jan 17, 2024

This one, for reference: tpwrules/nixos-apple-silicon#143

Yes, and using the branch from that PR did resolve the issue.

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

2 participants