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

mullvad-browser: fails to build due to broken symlinks #380942

Closed
3 tasks done
mergemoveagree opened this issue Feb 10, 2025 · 2 comments
Closed
3 tasks done

mullvad-browser: fails to build due to broken symlinks #380942

mergemoveagree opened this issue Feb 10, 2025 · 2 comments
Labels
0.kind: bug Something is broken

Comments

@mergemoveagree
Copy link

mergemoveagree commented Feb 10, 2025

Nixpkgs version

  • Unstable (25.05)

Describe the bug

Building a NixOS config after recently updating the flake.lock (on Feb. 10, 2025) from a previous update (on Feb. 3, 2025) results in the derivation mullvad-browser to fail due to broken symlinks. However, importing the current commit (b7cde80) in nix repl and building it with :b results in no errors and is able to launch successfully.

I put the mullvad-browser package in my home-manager packages rather than my system packages if that is relevant.

Steps to reproduce

  1. Update flake.lock to commit b7cde80
  2. Build NixOS config

Expected behaviour

mullvad-browser successfully builds

Screenshots

No response

Relevant log output

error: builder for '/nix/store/3c91q2n1235zg31h6pwa245f7ilkpsh9-mullvad-browser-14.0.4.drv' failed with exit code 1;
       last 25 log lines:
       >     libglib-2.0.so.0 -> found: /nix/store/havggkqdmg0hab2lmgdpjljni5ms8n9q-glib-2.82.4/lib
       >     libstdc++.so.6 -> found: /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/mullvad-browser/libstdc++
       >     libgcc_s.so.1 -> found: /nix/store/qjg34af79vcz9k2x386wjg6pk905cs42-gcc-14-20241116-libgcc/lib
       > setting RPATH to: /nix/store/9r75y0673s5h26q5ibhavvw0mxpzpz39-libxcb-1.17.0/lib:/nix/store/80r6vnyb23f84b4jx3qdb9spy3f02akk-libX11-1.8.10/lib:/nix/store/n3d6zzfmfy6s36s9hadwrp56gvxpiy8g-libXext-1.3.6/lib:/nix/store/73xrpyf9ngd7ap1gz6mqgpbbi4qgm5ib-libXrandr-1.5.4/lib:/nix/store/y199a7ci45kwi3zlggq6bjis6x7b5rxp-libXcomposite-0.4.6/lib:/nix/store/02glin2yjx2l0xnmiv3i17hryyjqdxbh-libXcursor-1.2.3/lib:/nix/store/vdw444r2xxnvyhljb9ncgsqraqczma65-libXdamage-1.1.6/lib:/nix/store/q8n5x0j3nfz42v992f2ja41mz56h2hwv-libXfixes-6.0.1/lib:/nix/store/8xrgg7vv2nx5amy6mbvkpr8cjqgzknr5-libXi-1.8.2/lib:/nix/store/qbaqmm44k3dlrklaz9bml687jkqwsd6j-gtk+3-3.24.43/lib:/nix/store/x4j5hqyxflyvr323y7zm2syryjzcf0cz-pango-1.56.1/lib:/nix/store/7mqr7v28fgxwfqbdcw91qq9qlqvl63hx-at-spi2-core-2.54.1/lib:/nix/store/an1hxw23bnhfra8a4wn9yf908z1gdj7b-cairo-1.18.2/lib:/nix/store/s9kkzplfph8csgjbaz50i926qhc4x1zp-gdk-pixbuf-2.42.12/lib:/nix/store/havggkqdmg0hab2lmgdpjljni5ms8n9q-glib-2.82.4/lib:/nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/mullvad-browser/libstdc++:/nix/store/qjg34af79vcz9k2x386wjg6pk905cs42-gcc-14-20241116-libgcc/lib
       > setting interpreter of /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/mullvad-browser/mullvadbrowser
       > searching for dependencies of /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/mullvad-browser/mullvadbrowser
       >     libstdc++.so.6 -> found: /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/mullvad-browser/libstdc++
       >     libgcc_s.so.1 -> found: /nix/store/qjg34af79vcz9k2x386wjg6pk905cs42-gcc-14-20241116-libgcc/lib
       > setting RPATH to: /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/mullvad-browser/libstdc++:/nix/store/qjg34af79vcz9k2x386wjg6pk905cs42-gcc-14-20241116-libgcc/lib
       > searching for dependencies of /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/mullvad-browser/libstdc++/libstdc++.so.6
       >     libgcc_s.so.1 -> found: /nix/store/qjg34af79vcz9k2x386wjg6pk905cs42-gcc-14-20241116-libgcc/lib
       > setting RPATH to: /nix/store/qjg34af79vcz9k2x386wjg6pk905cs42-gcc-14-20241116-libgcc/lib
       > searching for dependencies of /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/mullvad-browser/libstdc++/libstdc++.so.6.0.28
       >     libgcc_s.so.1 -> found: /nix/store/qjg34af79vcz9k2x386wjg6pk905cs42-gcc-14-20241116-libgcc/lib
       > setting RPATH to: /nix/store/qjg34af79vcz9k2x386wjg6pk905cs42-gcc-14-20241116-libgcc/lib
       > auto-patchelf: 0 dependencies could not be satisfied
       > the symlink /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/doc/mullvad-browser is broken, it points to /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/mullvad-browser/Data/Docs (which is missing)
       > rewriting symlink /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/doc/mullvad-browser to be relative to /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4
       > rewriting symlink /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/icons/hicolor/16x16/apps/mullvad-browser.png to be relative to /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4
       > rewriting symlink /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/icons/hicolor/32x32/apps/mullvad-browser.png to be relative to /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4
       > rewriting symlink /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/icons/hicolor/48x48/apps/mullvad-browser.png to be relative to /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4
       > rewriting symlink /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/icons/hicolor/64x64/apps/mullvad-browser.png to be relative to /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4
       > rewriting symlink /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/icons/hicolor/128x128/apps/mullvad-browser.png to be relative to /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4
       > ERROR: noBrokenSymlinks: the symlink /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/doc/mullvad-browser points to a missing target /nix/store/ahxm01hpcs3a9aa679xl9pwqd7wcq2z6-mullvad-browser-14.0.4/share/mullvad-browser/Data/Docs
       > ERROR: noBrokenSymlinks: found 1 dangling symlinks and 0 reflexive symlinks
       For full logs, run 'nix log /nix/store/3c91q2n1235zg31h6pwa245f7ilkpsh9-mullvad-browser-14.0.4.drv'.
error: 1 dependencies of derivation '/nix/store/c7ngv4j8098z0i72gkh4p2j4nkskivpf-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/74z3s4qsqkcx9p3z3l6zail661bb3vis-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/jyppwvf84658xbml1pa4gga6322nx2gn-unit-home-manager-user.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ic9daq5al21rship8dsnsm7l9d2229wl-system-units.drv' failed to build
error: 1 dependencies of derivation '/nix/store/g1l71aj6rh5672z2bgkj2lh6bw2knxac-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vz6nqxlbxhd3v9b97ljdq4b555iz39k5-nixos-system-asrock-25.05.20250208.a79cfe0.drv' failed to build
error:
       … while calling the 'head' builtin
         at /nix/store/j33wzkzndh41cyyy7i18bqm1srlv84cq-source/lib/attrsets.nix:1574:11:
         1573|         || pred here (elemAt values 1) (head values) then
         1574|           head values
             |           ^
         1575|         else

       … while evaluating the attribute 'value'
         at /nix/store/j33wzkzndh41cyyy7i18bqm1srlv84cq-source/lib/modules.nix:846:9:
          845|     in warnDeprecation opt //
          846|       { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          847|         inherit (res.defsFinal') highestPrio;

       … while evaluating the option `system.build.toplevel':

       … while evaluating definitions from `/nix/store/j33wzkzndh41cyyy7i18bqm1srlv84cq-source/nixos/modules/system/activation/top-level.nix':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: 1 dependencies of derivation '/nix/store/sr7mw1ysa7fqiwd1pdfxfndrdjqkjilw-references.nix.drv' failed to build

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.11, NixOS, 25.05 (Warbler), 25.05.20250201.3a22805
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.12
  • nixpkgs: /nix/store/hjb1rqv2mfs5ny47amj2gsc8xk05x5g6-source

Notify maintainers

@felschr
@panicgh


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@mergemoveagree mergemoveagree added the 0.kind: bug Something is broken label Feb 10, 2025
@Brisingr05
Copy link

14.0.5 builds successfully, which was recently merged into master. You can track it here.

@donovanglover
Copy link
Member

Closing since 14.0.5 is in nixos-unstable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

3 participants