NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.44k stars 13.64k forks source link

nixos-rebuild switch failing with assertion check failure #287729

Open sss123next opened 7 months ago

sss123next commented 7 months ago

Describe the bug

nixos-rebuild switch --show-trace failing with:

nix-build: src/libstore/build/derivation-goal.cc:326: void nix::DerivationGoal::outputsSubstitutionTried(): Assertion `false' failed.

Steps To Reproduce

Steps to reproduce the behavior:

  1. nixos-rebuild switch --show-trace

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

nixos-rebuild  switch --show-trace
building Nix...
building the system configuration...
these 37 derivations will be built:
  /nix/store/2imsmnwgl1jm8g102gs0b34hjcdgj33l-nixos-tmpfiles.d.drv
  /nix/store/hywy9n4yspr6r18cnwc2zr90ihyqjm32-python3-3.11.6-env.drv
  /nix/store/gx1rd88jmviwp0a4iz7irc40v6yq9fj5-ffado-2.4.7.drv
  /nix/store/g1917n9d30if6qxcchqbv212f4a84fb6-pipewire-git.drv
  /nix/store/ibz0yi2mndvck4il738i3g8g302hh3jf-all-plugins.drv
  /nix/store/601qdij6n81aplvnxpgj6hxbcjqs80ki-alsa-utils-1.2.10.drv
  /nix/store/7rvl5jaw5r9qw8y7q51xrmj1kq5xnp6q-intel-gpu-tools-git.drv
  /nix/store/h7nhinzdi24f051mpazxkf3cjk1g4hsp-python3-3.11.6-env.drv
  /nix/store/a8xlr7i9arpaswm0zfqphafqn1dh8skn-wireplumber-git.drv
  /nix/store/rmb0midvc1pvnsk1k84hycwimm8s8xv4-system-path.drv
  /nix/store/pmxj3kkhzpmhsqq5q85rab82s6mib6wq-system-crontab.drv
  /nix/store/319dpxr6wcr91z9jsq4kg39zb47h7jj8-crontabs.drv
  /nix/store/3wnn8qqaslqldfsrv3yxwgj2gnbpfy21-unit-alsa-store.service.drv
  /nix/store/9732gakhd3nwk7gigk53bxf94w3rck6w-system-generators.drv
  /nix/store/a32krfincmq6xd94w9l52zn7rcw37gii-system-shutdown.drv
  /nix/store/nw69637412xhah454jz7y0qjqibdiwld-dbus-1.drv
  /nix/store/pc5j9g7d5xxf005mzbjflggy7yi91jrc-X-Restart-Triggers-dbus.drv
  /nix/store/aibhx345bchb6dnfjkjz8sa9x5q1fs5r-unit-dbus.service.drv
  /nix/store/a6jhx991hlzizzi7jcjf9vn07190vsgh-user-units.drv
  /nix/store/khsp1vsfglv7sp7xpa9cd7j3gbc4fs15-man-paths.drv
  /nix/store/rbi13pix8drk4gd6xv4lfnz3bkg2lalc-man-cache.drv
  /nix/store/j2gayycf1yigsn7iq5jy92s5s93afqa3-etc-man_db.conf.drv
  /nix/store/jrqvngx4778dvfcmwmjgb47r688mfrr7-hwdb.bin.drv
  /nix/store/p0ap0snmqbh7aa83sg86y2zs883w86z0-unit-dbus.service.drv
  /nix/store/cvddc9r4dbjbmjizy169h89jx59gwk7v-X-Restart-Triggers-systemd-udevd.drv
  /nix/store/yn8m5hmxh2ng1dbc1mckizzk8n5s8p05-unit-systemd-udevd.service.drv
  /nix/store/m6s7h0amdlwlmpph9jswgpz5p5civlcj-system-units.drv
  /nix/store/n199qh71p18kzwjky5bna6prm7c6s856-tmpfiles.d.drv
  /nix/store/w8ywzr97qi4m3kk0hknlps62mirvg7sq-udev-rules.drv
  /nix/store/5bv75la9jmv69a89jp44ayknp5087746-etc.drv
  /nix/store/ac5hn8xzbjvxkp126bylwfng4diilf1f-linux-6.7.4-modules.drv
  /nix/store/vgb7s89w5hhmcsqqigqr5a4k8mdc2cfg-stage-1-init.sh.drv
  /nix/store/zlq2m1s7in26zg8i6dgqnv8fddkvhm3b-linux-6.7.4-modules-shrunk.drv
  /nix/store/dv7dy63ylbvjx5kfh17jxrg3vgkymfg0-initrd-linux-6.7.4.drv
  /nix/store/kazwyk90c4frljnkj689f0iww3lwdhzg-boot.json.drv
  /nix/store/qagvi7xswkzw5d8z02fj6l3l627l0pn9-kernel-modules.drv
  /nix/store/ys8xif0wwa9xzp2yjr5q0g9msms9xiih-nixos-system-sss-desktop3-23.11.4142.9d7a44754fae.drv
these 28 paths will be fetched (114.86 MiB download, 328.61 MiB unpacked):
  /nix/store/x8qia78i25m043nhi4qynnx8kc3zr3lp-gdb-13.2
  /nix/store/f9sbi73w56hyxccjsdyq8wlyajs00xvm-gobject-introspection-1.78.1-dev
  /nix/store/flc9rs7yyqc92qjhqrh566f6ayd1f44l-gobject-introspection-wrapped-1.78.1-dev
  /nix/store/gqd9dd8gbg0y94zq2q2bxs7zlj1mfjrd-graphviz-9.0.0
  /nix/store/4xzyf3ivdzlqgfbjq85d58bs84g16vf9-gtk+3-3.24.39-dev
  /nix/store/4nfvpvi5jw6b8h437xgdmqikl7d710j5-linux-6.7.4
  /nix/store/aczs9jrp0q4h65l373bvgjpi44gykgv7-python3.11-PyQt5-5.15.9
  /nix/store/9m51hnj8yc1pddbxd8722r5zm09c197f-python3.11-PyQt5-5.15.9-dev
  /nix/store/igaw0g10vbns821vfssq4ykac3hx37pc-python3.11-breathe-4.35.0
  /nix/store/n8ranh5z7qmi8lac6i15swz2sfhpfxkx-python3.11-requests-2.31.0
  /nix/store/lq36976i36swa8p79bcqxyhbz29lqnbk-python3.11-sphinx-7.2.6
  /nix/store/k1gxy1l1jf605n688cc1vjkxx7air65p-python3.11-sphinx-rtd-theme-1.3.0
  /nix/store/l7xw54qgkqsg7ln422aahvblcvrss5av-qtbase-5.15.12-dev
  /nix/store/yiy50j3fxc385aircf5y4w0c0yir2xbp-qtdeclarative-5.15.12-dev
  /nix/store/a8vsch3m9955ndn5shihb35ji4qgk499-qtquickcontrols-5.15.12-dev
  /nix/store/zhgxz9knji2cnlnj1bpxxdbbnkxbdlaf-qtsvg-5.15.12-dev
  /nix/store/c85388v6ckdmdgkkricf26hg6lydcdv7-qtwayland-5.15.12-dev
  /nix/store/z3x586ad4brvlw6cja2vgqjh0ahxs6sh-qtwebchannel-5.15.12
  /nix/store/99lpk2ghmsrnv4cfnsxmvxkh5s15dn1l-roc-toolkit-0.3.0-dev
  /nix/store/d4rv1gvvfn2l5m1xc7xrl83kfxhn0842-sox-unstable-2021-05-09
  /nix/store/2l81bk959wq1fvrbvbjy4426akffpisg-sox-unstable-2021-05-09-dev
  /nix/store/rz3sqzpfngg8s74ikimph36c4dmhz394-valgrind-3.22.0
  /nix/store/nyv19d5ipl4v58n0xqclc4k7dha0rqgi-valgrind-3.22.0-dev
  /nix/store/9b4d8mvh03fywaj4yaklxxafmym5kd3a-vulkan-loader-1.3.268.0-dev
  /nix/store/q058j7mgqpf386d1y9a8zsaglyaggazd-wayland-1.22.0-bin
  /nix/store/abnq2kkay657cq779xg0g4x6xar06pjc-wayland-1.22.0-dev
  /nix/store/9jc3qndswhlkgr3cxhlp66rmqvnvgxw1-wayland-protocols-1.32
  /nix/store/d390n888ri67nbqd7fc4xjz7g403m67i-wrap-qt5-apps-hook
copying path '/nix/store/4nfvpvi5jw6b8h437xgdmqikl7d710j5-linux-6.7.4' from 'https://cache.nixos.org'...
building '/nix/store/2imsmnwgl1jm8g102gs0b34hjcdgj33l-nixos-tmpfiles.d.drv'...
building '/nix/store/vgb7s89w5hhmcsqqigqr5a4k8mdc2cfg-stage-1-init.sh.drv'...
copying path '/nix/store/gqd9dd8gbg0y94zq2q2bxs7zlj1mfjrd-graphviz-9.0.0' from 'http://nixos-cache-desktop.dark-alexandr.net'...
copying path '/nix/store/9b4d8mvh03fywaj4yaklxxafmym5kd3a-vulkan-loader-1.3.268.0-dev' from 'http://nixos-cache-serv.dark-alexandr.net'...
copying path '/nix/store/x8qia78i25m043nhi4qynnx8kc3zr3lp-gdb-13.2' from 'http://nixos-cache-serv.dark-alexandr.net'...
copying path '/nix/store/f9sbi73w56hyxccjsdyq8wlyajs00xvm-gobject-introspection-1.78.1-dev' from 'http://nixos-cache-serv.dark-alexandr.net'...
copying path '/nix/store/n8ranh5z7qmi8lac6i15swz2sfhpfxkx-python3.11-requests-2.31.0' from 'http://nixos-cache-serv.dark-alexandr.net'...
copying path '/nix/store/rz3sqzpfngg8s74ikimph36c4dmhz394-valgrind-3.22.0' from 'http://nixos-cache-serv.dark-alexandr.net'...
copying path '/nix/store/d4rv1gvvfn2l5m1xc7xrl83kfxhn0842-sox-unstable-2021-05-09' from 'http://nixos-cache-desktop.dark-alexandr.net'...
copying path '/nix/store/z3x586ad4brvlw6cja2vgqjh0ahxs6sh-qtwebchannel-5.15.12' from 'http://nixos-cache-serv.dark-alexandr.net'...
copying path '/nix/store/9jc3qndswhlkgr3cxhlp66rmqvnvgxw1-wayland-protocols-1.32' from 'http://nixos-cache-serv.dark-alexandr.net'...
copying path '/nix/store/q058j7mgqpf386d1y9a8zsaglyaggazd-wayland-1.22.0-bin' from 'http://nixos-cache-serv.dark-alexandr.net'...
error: file 'nar/x8qia78i25m043nhi4qynnx8kc3zr3lp.nar' does not exist in binary cache 'http://nixos-cache-serv.dark-alexandr.net'
error: file 'nar/f9sbi73w56hyxccjsdyq8wlyajs00xvm.nar' does not exist in binary cache 'http://nixos-cache-serv.dark-alexandr.net'
error: file 'nar/gqd9dd8gbg0y94zq2q2bxs7zlj1mfjrd.nar' does not exist in binary cache 'http://nixos-cache-desktop.dark-alexandr.net'
error: file 'nar/n8ranh5z7qmi8lac6i15swz2sfhpfxkx.nar' does not exist in binary cache 'http://nixos-cache-serv.dark-alexandr.net'
error: file 'nar/d4rv1gvvfn2l5m1xc7xrl83kfxhn0842.nar' does not exist in binary cache 'http://nixos-cache-desktop.dark-alexandr.net'
error: file 'nar/rz3sqzpfngg8s74ikimph36c4dmhz394.nar' does not exist in binary cache 'http://nixos-cache-serv.dark-alexandr.net'
error: file 'nar/9b4d8mvh03fywaj4yaklxxafmym5kd3a.nar' does not exist in binary cache 'http://nixos-cache-serv.dark-alexandr.net'
building '/nix/store/n199qh71p18kzwjky5bna6prm7c6s856-tmpfiles.d.drv'...
copying path '/nix/store/f9sbi73w56hyxccjsdyq8wlyajs00xvm-gobject-introspection-1.78.1-dev' from 'http://nixos-cache-desktop2.dark-alexandr.net'...
copying path '/nix/store/gqd9dd8gbg0y94zq2q2bxs7zlj1mfjrd-graphviz-9.0.0' from 'https://cache.nixos.org'...
copying path '/nix/store/x8qia78i25m043nhi4qynnx8kc3zr3lp-gdb-13.2' from 'http://nixos-cache-desktop.dark-alexandr.net'...
copying path '/nix/store/n8ranh5z7qmi8lac6i15swz2sfhpfxkx-python3.11-requests-2.31.0' from 'http://nixos-cache-desktop.dark-alexandr.net'...
copying path '/nix/store/d4rv1gvvfn2l5m1xc7xrl83kfxhn0842-sox-unstable-2021-05-09' from 'https://cache.nixos.org'...
copying path '/nix/store/rz3sqzpfngg8s74ikimph36c4dmhz394-valgrind-3.22.0' from 'http://nixos-cache-desktop.dark-alexandr.net'...
copying path '/nix/store/9b4d8mvh03fywaj4yaklxxafmym5kd3a-vulkan-loader-1.3.268.0-dev' from 'http://nixos-cache-desktop.dark-alexandr.net'...
checking syntax
error: file 'nar/z3x586ad4brvlw6cja2vgqjh0ahxs6sh.nar' does not exist in binary cache 'http://nixos-cache-serv.dark-alexandr.net'
error: file 'nar/q058j7mgqpf386d1y9a8zsaglyaggazd.nar' does not exist in binary cache 'http://nixos-cache-serv.dark-alexandr.net'
error: file 'nar/9jc3qndswhlkgr3cxhlp66rmqvnvgxw1.nar' does not exist in binary cache 'http://nixos-cache-serv.dark-alexandr.net'
copying path '/nix/store/9jc3qndswhlkgr3cxhlp66rmqvnvgxw1-wayland-protocols-1.32' from 'http://nixos-cache-desktop2.dark-alexandr.net'...
copying path '/nix/store/q058j7mgqpf386d1y9a8zsaglyaggazd-wayland-1.22.0-bin' from 'http://nixos-cache-desktop2.dark-alexandr.net'...
copying path '/nix/store/z3x586ad4brvlw6cja2vgqjh0ahxs6sh-qtwebchannel-5.15.12' from 'http://nixos-cache-serv.dark-alexandr.net'...
error: file 'nar/f9sbi73w56hyxccjsdyq8wlyajs00xvm.nar' does not exist in binary cache 'http://nixos-cache-desktop2.dark-alexandr.net'
error: file 'nar/n8ranh5z7qmi8lac6i15swz2sfhpfxkx.nar' does not exist in binary cache 'http://nixos-cache-desktop.dark-alexandr.net'
error: file 'nar/z3x586ad4brvlw6cja2vgqjh0ahxs6sh.nar' does not exist in binary cache 'http://nixos-cache-serv.dark-alexandr.net'
error: file 'nar/9b4d8mvh03fywaj4yaklxxafmym5kd3a.nar' does not exist in binary cache 'http://nixos-cache-desktop.dark-alexandr.net'
error: file 'nar/q058j7mgqpf386d1y9a8zsaglyaggazd.nar' does not exist in binary cache 'http://nixos-cache-desktop2.dark-alexandr.net'
error: file 'nar/9jc3qndswhlkgr3cxhlp66rmqvnvgxw1.nar' does not exist in binary cache 'http://nixos-cache-desktop2.dark-alexandr.net'
copying path '/nix/store/9jc3qndswhlkgr3cxhlp66rmqvnvgxw1-wayland-protocols-1.32' from 'http://nixos-cache-desktop.dark-alexandr.net'...
copying path '/nix/store/f9sbi73w56hyxccjsdyq8wlyajs00xvm-gobject-introspection-1.78.1-dev' from 'http://nixos-cache-desktop.dark-alexandr.net'...
copying path '/nix/store/n8ranh5z7qmi8lac6i15swz2sfhpfxkx-python3.11-requests-2.31.0' from 'https://cache.nixos.org'...
copying path '/nix/store/9b4d8mvh03fywaj4yaklxxafmym5kd3a-vulkan-loader-1.3.268.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/q058j7mgqpf386d1y9a8zsaglyaggazd-wayland-1.22.0-bin' from 'http://nixos-cache-desktop.dark-alexandr.net'...
nix-build: src/libstore/build/derivation-goal.cc:326: void nix::DerivationGoal::outputsSubstitutionTried(): Assertion `false' failed.

Notify maintainers

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: `"x86_64-linux"`
 - host os: `Linux 6.7.3, NixOS, 23.11 (Tapir), 23.11.4128.620b309240d7`
 - multi-user?: `yes`
 - sandbox: `relaxed`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"alien, android-nixpkgs, nixgl, nixos-23.11-small, nixpkgs1809-18.09-small, nixpkgs2003-20.03-small, nixpkgs2009-20.09-small, nixpkgs2105-21.05-small, nixpkgs2111-21.11-small, nixpkgs2205-22.05-small, nixpkgs2211-22.11-small, nixpkgs2305-23.05-small, nixpkgs2311-23.11-small, nixpkgsmaster, nixpkgsunstable, nur"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

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

samueldr commented 4 months ago

(Triaging)

Given the error, this would point toward a Nix bug. Though I have nothing more to add other than this observation.

Cryolitia commented 4 months ago

same with https://github.com/NixOS/nix/issues/10092