Skip to content

Build failure: packages.aarch64-linux.rpi4-kernel #2026

Description

@linnnus

When running nix build github:NixOS/nixos-hardware#packages.aarch64-linux.rpi4-kernel the build fails. I've tried building the kernel a few times and it fails with the same error every time.

Build logs

Running nix-store -l /nix/store/gy1894s0rkfpqz2hcqir8nhn9ml3xq96-linux-rpi-6.18.39-stable_20260724.drv gives the following output:

...
  CC [M]  drivers/gpu/drm/nouveau/gv100_fence.o
  LD [M]  drivers/media/dvb-frontends/cxd2880/cxd2880.o
  LD [M]  drivers/gpu/drm/nouveau/ch7006.o
  LD [M]  drivers/gpu/drm/nouveau/sil164.o
  LD [M]  drivers/media/dvb-frontends/drx39xyj/drx39xyj.o
  LD [M]  drivers/gpu/drm/nouveau/nouveau.o
  AR      drivers/gpu/built-in.a
make[2]: *** [../scripts/Makefile.build:544: drivers] Error 2
make[1]: *** [/build/source/Makefile:2045: .] Error 2
make: *** [/build/source/Makefile:248: __sub-make] Error 2

I have uploaded the full logs to this gist.

System metadata

nix-shell -p nix-info --run "nix-info -m"

  • system: "aarch64-darwin"
  • host os: Darwin 25.5.0, macOS 26.5.1
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.29.0
  • channels(root): "nixpkgs"
  • nixpkgs: /nix/store/p2zzpis4b9gr029pffclrgc4b696h4rc-source

I am using linux-builder from nix-darwin for the build.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions