Skip to content

Build failure: electron_44 #576736

Closed
Closed

Description

@StarryReverie

Nixpkgs version

  • Unstable (26.11)

Steps to reproduce

nix build github:NixOS/nixpkgs/46b97d70141600cc6829de9b047babf2a425017b#legacyPackages.x86_64-linux.electron_44

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/350187791

Relevant log output

tail of derivation /nix/store/780chy4ln4mv85c7qn9is8dl8wys0n3i-electron-unwrapped-44.9.1.drv. (Copied from hydra)

npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
rebuilt dependencies successfully
patching script interpreter paths in node_modules
~/src
Finished npmConfigHook
patchPhase completed in 3 minutes 0 seconds
Running phase: updateAutotoolsGnuConfigScriptsPhase
Updating Autotools / GNU config script to a newer upstream version: ./third_party/icu/source/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./third_party/electron_node/deps/cares/config/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./third_party/electron_node/deps/ngtcp2/ngtcp2/third-party/libev/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./third_party/farmhash/src/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./third_party/nasm/autoconf/helpers/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./third_party/breakpad/breakpad/autotools/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./third_party/icu/source/config.guess
Updating Autotools / GNU config script to a newer upstream version: ./third_party/dawn/third_party/directx-shader-compiler/src/autoconf/config.guess
Updating Autotools / GNU config script to a newer upstream version: ./third_party/electron_node/deps/cares/config/config.guess
Updating Autotools / GNU config script to a newer upstream version: ./third_party/electron_node/deps/ngtcp2/ngtcp2/third-party/libev/config.guess
Updating Autotools / GNU config script to a newer upstream version: ./third_party/farmhash/src/config.guess
Updating Autotools / GNU config script to a newer upstream version: ./third_party/nasm/autoconf/helpers/config.guess
Updating Autotools / GNU config script to a newer upstream version: ./third_party/breakpad/breakpad/autotools/config.guess
Running phase: configurePhase
Step 3: Applying local patches...
patching file index.d.ts
patching file node_modules/lit-html/lit-html.js
patching file node_modules/@lit/reactive-element/reactive-element.d.ts
patching file node_modules/@types/trusted-types/index.d.ts
patching file node_modules/typescript/lib/lib.dom.d.ts
patching file node_modules/ts-poet/build/Code.js
ERROR at //third_party/electron_node/deps/v8/gni/snapshot_toolchain.gni:34:27: Duplicate build argument declaration.
  v8_snapshot_toolchain = ""
                          ^-
Here you're declaring an argument that was already declared elsewhere.
You can only declare each argument once in the entire build so there is one
canonical place for documentation and the default value. Either move this
argument to the build config file (for visibility everywhere) or to a .gni file
that you "import" from the files where you need it (preferred).
See //v8/gni/snapshot_toolchain.gni:34:27: Previous declaration.
  v8_snapshot_toolchain = ""
                          ^-
See also "gn help buildargs" for more on how build arguments work.
See //third_party/electron_node/node.gni:34:1: whence it was imported.
import("$node_v8_path/gni/snapshot_toolchain.gni")
^------------------------------------------------
See //electron/BUILD.gn:12:1: whence it was imported.
import("//third_party/electron_node/node.gni")
^--------------------------------------------
See the command-line "--args":1:1393: which caused the file to be included.
allow_runtime_configurable_key_storage=true angle_enable_vulkan_validation_layers=false blink_symbol_level=0 chrome_pgo_phase=0 clang_base_path="/nix/store/d6mj1gs6gamqkdc6qp2lm1vzixn4m8y7-llvmCcAndBintools" clang_use_chrome_plugins=false clang_warning_suppression_file="" custom_toolchain="//build/toolchain/linux/unbundle:default" dawn_enable_vulkan_validation_layers=false disable_fieldtrial_testing_config=true enable_cdm_host_verification=false enable_cet_shadow_stack=false enable_dangling_raw_ptr_checks=false enable_dangling_raw_ptr_feature_flag=false enable_hangout_services_extension=true enable_linux_installer=false enable_pdf_save_to_drive=false enable_printing=true enable_pseudolocales=false enable_rust=true enable_widevine=false ffmpeg_branding="Chrome" google_api_key="AIzaSyDGi15Zwl11UNe6Y-5XW_upsfyw31qwZPI" host_cpu="x64" host_os="linux" host_pkg_config="/nix/store/s70gz6bvz74c36xigh5m2ab2cqli08cv-pkg-config-wrapper-0.29.2/bin/pkg-config" host_toolchain="//build/toolchain/linux/unbundle:default" is_cfi=false is_component_build=false is_component_ffmpeg=true is_electron_build=true is_official_build=true link_pulseaudio=true node_module_version=149 node_openssl_path="//third_party/boringssl" override_electron_version="44.9.1" pkg_config="/nix/store/s70gz6bvz74c36xigh5m2ab2cqli08cv-pkg-config-wrapper-0.29.2/bin/pkg-config" proprietary_codecs=true root_extra_deps=["//electron"] rtc_use_h264=true rtc_use_pipewire=true rust_bindgen_root="/nix/store/v28lpb5fjcgbgyln2yi99ck3wjqcrbri-rustTools" rust_sysroot_absolute="/nix/store/6l9kbzxwq9ij2lcmwl2qb1jdpqisjr8l-rustc-wrapper-1.99.0" rustc_version="1.99.0" symbol_level=0 target_cpu="x64" target_os="linux" treat_warnings_as_errors=false use_clang_modules=false use_cups=true use_gio=true use_pulseaudio=true use_qt5=false use_qt6=false use_sysroot=false use_system_libffi=true use_unified_system_module=false v8_embedder_string="-electron.0" v8_enable_javascript_promise_hooks=true v8_enable_private_mapping_fork_optimization=true v8_enable_snapshot_native_code_counters=false v8_expose_public_symbols=true v8_promise_internal_field_count=1 v8_target_cpu="x64"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ^-----------

Additional context

Also reproduced in #576659 and #576701

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.18.57, NixOS, 26.11 (Zokor), 26.11.20261020.02c087f
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.35.3
  • nixpkgs: /nix/store/87lfqfz7mc5dm4w75qikxhd6lkr9jisr-source

Notify maintainers

@TomaSajt @yayayayaka @teutat3s


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.

Activity

  1. depeo commented on Oct 21, 2026

    @depeo
    Contributor

    Same with electron_43

  2. self-assigned this
    on Oct 21, 2026
  3. teutat3s commented on Oct 21, 2026

    @teutat3s
    Member

    I guess that's what the next minor release was about... anyway, I'm taking a look.

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

Metadata

Metadata

Assignees

Labels

0.kind: build failure

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions