NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.96k stars 13.97k forks source link

Build failure: nixos-icons #347780

Closed s0me1newithhand7s closed 1 week ago

s0me1newithhand7s commented 1 week ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. use nixos-unstable
  2. run nix flake update
  3. run nixos-rebuild switch / nh os switch (both got same result)

Build log

┏━ 1 Errors: 
┃ error: builder for '/nix/store/z91ybgfcwfb16z9qjaynw079yasj0vyy-source-patched.drv' failed with exit code 2;
┃        last 5 log lines:
┃        > Running phase: unpackPhase
┃        > unpacking source archive /nix/store/8gzig2c39hd1h1vf0rqvadw11vy3kxas-source
┃        > source root is source
┃        > Running phase: patchPhase
┃        > /nix/store/9ip31vbkgg0lp4rx042svlllv3945nxq-stdenv-linux/setup: eval: line 231: unexpected EOF while looking for matching `''
┃        For full logs, run 'nix log /nix/store/z91ybgfcwfb16z9qjaynw079yasj0vyy-source-patched.drv'.
┣━ Dependency Graph:
┃       ┌─ ⏸ unit-dbus.service waiting for 1 ⚠
┃       │  ┌─ ⏸ X-Restart-Triggers-polkit waiting for 1 ⚠
┃       ├─ ⏸ unit-polkit.service
┃    ┌─ ⏸ system-units
┃    │     ┌─ ⏸ X-Restart-Triggers-dbus waiting for 1 ⚠
┃    │  ┌─ ⏸ unit-dbus.service
┃    ├─ ⏸ user-units
┃    │        ┌─ ⚠ source-patched failed with exit code 2 after ⏱ 0s in patchPhase
┃    │     ┌─ ⏸ nixos-icons-0-unstable-2024-04-10
┃    │  ┌─ ⏸ system-path
┃    ├─ ⏸ dbus-1
┃ ┌─ ⏸ etc
┃ ⏸ nixos-system-s0mePC-nix-24.11.20241009.5633bcf
┣━━━ Builds          
┗━ ∑ ⏵ 0 │ ✔ 0 │ ⏸ 12 │ ⚠ Exited after 1 build failures at 21:22:36 after 13s

Additional context

yes, flakes;

Notify maintainers

i won't ping like ~3k ppls xD

Metadata

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

 ~ 𝑠𝑛𝑜𝑤𝑦 𝑝𝑙𝑎𝑐𝑒, 𝑓𝑢𝑙𝑙 𝑜𝑓 𝑓𝑙𝑎𝑘𝑒𝑠! 

╭──╴ on NixOS 24.11.0 ❄️  
┆ ~ 
╰─> nix-info -m                                                                                                                                                                                ❲✓ ❳ at ❗ 21:25 
 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.1-cachyos, NixOS, 24.11 (Vicuna), 24.11.20241004.bc947f5`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.8`
 - channels(root): `"home-manager, nixos"`
 - nixpkgs: `/nix/store/sdzpqjwx7pdx6lsq6llyfqqf7hspp83c-source`

╭──╴ on NixOS 24.11.0 ❄️  
┆ ~ 
╰─>                                                                                                                                                                                     was 5s ❲✓ ❳ at ❗ 21:25 

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

s0me1newithhand7s commented 1 week ago

i reeeaaally don't know what to do, bc for me - this is extraordinary situation, before this all my rebuild works fine

Gliczy commented 1 week ago

nixos-icons build just fine for me on latest unstable.

Could you share more detailed logs?

s0me1newithhand7s commented 1 week ago

nixos-icons build just fine for me on latest unstable.

Could you share more detailed logs?

all i have:

 ~ 𝑠𝑛𝑜𝑤𝑦 𝑝𝑙𝑎𝑐𝑒, 𝑓𝑢𝑙𝑙 𝑜𝑓 𝑓𝑙𝑎𝑘𝑒𝑠! 

╭──╴ on NixOS 24.11.0 ❄️  
┆ ~ 
╰─> nh os switch flake/                                                                                                                                                                  ❲✓ ❳ at ❗ 22:18 
> Building NixOS configuration
these 13 derivations will be built:
  /nix/store/z91ybgfcwfb16z9qjaynw079yasj0vyy-source-patched.drv
  /nix/store/k6528l1r26mjlfr4dgsaxq1l80p5fnpw-nixos-icons-0-unstable-2024-04-10.drv
  /nix/store/v47mr6w7pfrlv7dkh93q9smck8sdmla2-system-path.drv
  /nix/store/cfg02vqif4crkb62l3995d4a5rc420z4-X-Restart-Triggers-polkit.drv
  /nix/store/3railn9wc59zxda1aakz305r9sg43qgp-unit-polkit.service.drv
  /nix/store/6j00bvmp5qn6wphn6l55qxqg7f3if17q-dbus-1.drv
  /nix/store/nvkkffmlpvhwbryslwrd2k781xa6319q-X-Restart-Triggers-dbus.drv
  /nix/store/m7jd2ifxlsg4jvlh0n01ksvmipdg2jf3-unit-dbus.service.drv
  /nix/store/cjd264d42zs7vxzlybhymiqx5r88is2j-user-units.drv
  /nix/store/xs17ir0wcgka8h14538ic83vfpvdd9ax-unit-dbus.service.drv
  /nix/store/wyyb207bwzakw54az8as8mqnjyqqq7d2-system-units.drv
  /nix/store/lzizw69ckzkvypcbd562lpsz845rspxl-etc.drv
  /nix/store/4f4b6gp5p27nkc9rwkg5hzi6rgdg7ajq-nixos-system-s0mePC-nix-24.11.20241009.5633bcf.drv
source-patched> building '/nix/store/z91ybgfcwfb16z9qjaynw079yasj0vyy-source-patched.drv'
source-patched> Running phase: unpackPhase
source-patched> unpacking source archive /nix/store/8gzig2c39hd1h1vf0rqvadw11vy3kxas-source
source-patched> source root is source
source-patched> Running phase: patchPhase
source-patched> /nix/store/9ip31vbkgg0lp4rx042svlllv3945nxq-stdenv-linux/setup: eval: line 231: unexpected EOF while looking for matching `''
error: builder for '/nix/store/z91ybgfcwfb16z9qjaynw079yasj0vyy-source-patched.drv' failed with exit code 2;
       last 5 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/8gzig2c39hd1h1vf0rqvadw11vy3kxas-source
       > source root is source
       > Running phase: patchPhase
       > /nix/store/9ip31vbkgg0lp4rx042svlllv3945nxq-stdenv-linux/setup: eval: line 231: unexpected EOF while looking for matching `''
       For full logs, run 'nix log /nix/store/z91ybgfcwfb16z9qjaynw079yasj0vyy-source-patched.drv'.
error: 1 dependencies of derivation '/nix/store/k6528l1r26mjlfr4dgsaxq1l80p5fnpw-nixos-icons-0-unstable-2024-04-10.drv' failed to build
error: 1 dependencies of derivation '/nix/store/v47mr6w7pfrlv7dkh93q9smck8sdmla2-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4f4b6gp5p27nkc9rwkg5hzi6rgdg7ajq-nixos-system-s0mePC-nix-24.11.20241009.5633bcf.drv' failed to build
┏━ 1 Errors: 
┃ error: builder for '/nix/store/z91ybgfcwfb16z9qjaynw079yasj0vyy-source-patched.drv' failed with exit code 2;
┃        last 5 log lines:
┃        > Running phase: unpackPhase
┃        > unpacking source archive /nix/store/8gzig2c39hd1h1vf0rqvadw11vy3kxas-source
┃        > source root is source
┃        > Running phase: patchPhase
┃        > /nix/store/9ip31vbkgg0lp4rx042svlllv3945nxq-stdenv-linux/setup: eval: line 231: unexpected EOF while looking for matching `''
┃        For full logs, run 'nix log /nix/store/z91ybgfcwfb16z9qjaynw079yasj0vyy-source-patched.drv'.
┣━ Dependency Graph:
┃       ┌─ ⏸ unit-dbus.service waiting for 1 ⚠
┃       │  ┌─ ⏸ X-Restart-Triggers-polkit waiting for 1 ⚠
┃       ├─ ⏸ unit-polkit.service
┃    ┌─ ⏸ system-units
┃    │     ┌─ ⏸ X-Restart-Triggers-dbus waiting for 1 ⚠
┃    │  ┌─ ⏸ unit-dbus.service
┃    ├─ ⏸ user-units
┃    │        ┌─ ⚠ source-patched failed with exit code 2 after ⏱ 0s in patchPhase
┃    │     ┌─ ⏸ nixos-icons-0-unstable-2024-04-10
┃    │  ┌─ ⏸ system-path
┃    ├─ ⏸ dbus-1
┃ ┌─ ⏸ etc
┃ ⏸ nixos-system-s0mePC-nix-24.11.20241009.5633bcf
┣━━━ Builds          
┗━ ∑ ⏵ 0 │ ✔ 0 │ ⏸ 12 │ ⚠ Exited after 1 build failures at 22:18:09 after 3s
Error: 
   0: Command exited with status Exited(1)

Location:
   src/commands.rs:151

╭──╴ on NixOS 24.11.0 ❄️  
┆ ~ 
╰─>                                                                                                                                                                               was 3s ❲✗ ❳ at ❗ 22:18 

and

╭──╴ on NixOS 24.11.0 ❄️  
┆ ~ 
╰─> nix log "/nix/store/z91ybgfcwfb16z9qjaynw079yasj0vyy-source-patched.drv^*"                                                                                                           ❲✗ ❳ at ❗ 22:21 
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/8gzig2c39hd1h1vf0rqvadw11vy3kxas-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
/nix/store/9ip31vbkgg0lp4rx042svlllv3945nxq-stdenv-linux/setup: eval: line 231: unexpected EOF while looking for matching `''
Gliczy commented 1 week ago

And does it build successfully if you try to rebuild using an older flake.lock?

s0me1newithhand7s commented 1 week ago

And does it build successfully if you try to rebuild using an older flake.lock?

nope, i've tried 6 different (i mean, 6 gens) lock files, and nothing seems to work, idk :D

Gliczy commented 1 week ago

Then the problem should be in your config. Could you share your updated configuration?

s0me1newithhand7s commented 1 week ago

Then the problem should be in your config. Could you share your updated configuration?

i could, but not today, 'k?

s0me1newithhand7s commented 1 week ago

'k, found why this happened: stylix. i'll work more with stylix, ths y'all :D