NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.51k stars 12.99k forks source link

Build failure: kernel linux-config-6.6.28-6.6.31 #320372

Open adminy opened 3 weeks ago

adminy commented 3 weeks ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build kernel for pi.

Build log


linux-config> building '/nix/store/qgcs6bqq1a3kydm6z71rgn53zzwnc6mv-linux-config-6.6.28.drv'
linux-config> Running phase: unpackPhase
linux-config> unpacking source archive /nix/store/hdh0igwg2rj6zk6xmf8kdn7kzrv9i91h-source
linux-config> source root is source
linux-config> Running phase: patchPhase
linux-config> applying patch /nix/store/mnlqwys9dxznjcvq4w3s0435s9ql8qv8-bridge-stp-helper.patch
linux-config> patching file net/bridge/br_private.h
linux-config> Hunk #1 succeeded at 51 with fuzz 2 (offset 12 lines).
linux-config> applying patch /nix/store/mbz5gln1q4swlzmqs2399br98qjif9kn-request-key-helper.patch
linux-config> patching file security/keys/request_key.c
linux-config> Hunk #1 succeeded at 117 (offset 3 lines).
linux-config> applying patch /nix/store/831w9jjwfspn3wc2h3mlks980v3zm2qz-6de0bb51929cd3ad4fa27b2a421a2af12e6468f5.patch
linux-config> patching file drivers/gpu/drm/rp1/rp1-dpi/Kconfig
linux-config> Reversed (or previously applied) patch detected!  Assume -R? [n] 
linux-config> Apply anyway? [n] 
linux-config> Skipping patch.
linux-config> 1 out of 1 hunk ignored -- saving rejects to file drivers/gpu/drm/rp1/rp1-dpi/Kconfig.rej
linux-config> patching file drivers/gpu/drm/rp1/rp1-dsi/Kconfig
linux-config> Reversed (or previously applied) patch detected!  Assume -R? [n] 
linux-config> Apply anyway? [n] 
linux-config> Skipping patch.
linux-config> 1 out of 1 hunk ignored -- saving rejects to file drivers/gpu/drm/rp1/rp1-dsi/Kconfig.rej
linux-config> patching file drivers/gpu/drm/rp1/rp1-vec/Kconfig
linux-config> Reversed (or previously applied) patch detected!  Assume -R? [n] 
linux-config> Apply anyway? [n] 
linux-config> Skipping patch.
linux-config> 1 out of 1 hunk ignored -- saving rejects to file drivers/gpu/drm/rp1/rp1-vec/Kconfig.rej
error: builder for '/nix/store/qgcs6bqq1a3kydm6z71rgn53zzwnc6mv-linux-config-6.6.28.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/whrm83nl3jdn56fgkphid8ksds39vph0-linux-rpi-6.6.28.drv' failed to build
error: 1 dependencies of derivation '/nix/store/53ph05cdjcj4yzyq646a425xsy0flm2x-nixos-sd-image-24.11-aarch64-linux.img.drv' failed to build

Additional context

This was working fine on 9a9960b98418f8c385f52de3b09a63f9c561427a commit.

Notify maintainers

Metadata

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

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/bzr44s15sabnhp5wa9fl42mrb75m2zn5-nix-info
copying path '/nix/store/bzr44s15sabnhp5wa9fl42mrb75m2zn5-nix-info' from 'https://cache.nixos.org'...
 - system: `"aarch64-linux"`
 - host os: `Linux 6.6.22-linuxkit`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.21.2`
 - channels(root): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

adminy commented 3 weeks ago

Looking more into this, https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/linux-rpi.nix#L36-L42

This patch is no longer necessary.