Skip to content

Build failure: signal-desktop #418971

Closed

Description

@dyfrgi

Nixpkgs version

  • Stable (25.05)

Steps to reproduce

cd nixpkgs
git checkout 225cf45
nix-shell -I nixpkgs=. -p signal-desktop

Can Hydra reproduce this build failure?

Hydra is currently rebuilding this package.

Link to Hydra build job

No response

Relevant log output

these 3 derivations will be built:
  /nix/store/qyyjckvpivsi5zv8rlchbcpw9cwjl7sj-signal-webrtc-refs-tags-7103d.drv
  /nix/store/rw921f08vfarrxnzdi9bimgfd2qg1i57-ringrtc-2.53.0.drv
  /nix/store/v3qvv9q1p9qi3j7ipsxdk6qw23pvgb89-signal-desktop-7.58.0.drv
building '/nix/store/qyyjckvpivsi5zv8rlchbcpw9cwjl7sj-signal-webrtc-refs-tags-7103d.drv'...
Running phase: unpackPhase
Executing gclientUnpackHook
copying src...
copying src/base...
copying src/build...
copying src/buildtools...
copying src/ringrtc/opus/src...
copying src/testing...
copying src/third_party...
copying src/third_party/boringssl/src...
copying src/third_party/breakpad/breakpad...
copying src/third_party/catapult...
copying src/third_party/ced/src...
copying src/third_party/clang-format/script...
copying src/third_party/colorama/src...
copying src/third_party/crc32c/src...
copying src/third_party/dav1d/libdav1d...
copying src/third_party/depot_tools...
copying src/third_party/ffmpeg...
copying src/third_party/flatbuffers/src...
copying src/third_party/fontconfig/src...
copying src/third_party/freetype/src...
copying src/third_party/fuzztest/src...
copying src/third_party/google_benchmark/src...
copying src/third_party/googletest/src...
copying src/third_party/grpc/src...
copying src/third_party/gtest-parallel...
copying src/third_party/harfbuzz-ng/src...
copying src/third_party/icu...
copying src/third_party/instrumented_libs...
copying src/third_party/jsoncpp/source...
copying src/third_party/libFuzzer/src...
copying src/third_party/libaom/source/libaom...
copying src/third_party/libc++/src...
copying src/third_party/libc++abi/src...
copying src/third_party/libjpeg_turbo...
copying src/third_party/libsrtp...
copying src/third_party/libunwind/src...
copying src/third_party/libvpx/source/libvpx...
copying src/third_party/libyuv...
copying src/third_party/llvm-libc/src...
copying src/third_party/lss...
copying src/third_party/nasm...
copying src/third_party/openh264/src...
copying src/third_party/perfetto...
copying src/third_party/protobuf-javascript/src...
copying src/third_party/re2/src...
copying src/tools...
Running phase: patchPhase
patching script interpreter paths in build/mac/should_use_hermetic_xcode.py
build/mac/should_use_hermetic_xcode.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/8w718rm43x7z73xhw9d6vh8s4snrq67h-python3-3.12.10/bin/python3"
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/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/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
gn flags: target_os=\"linux\" use_sysroot=false is_clang=false treat_warnings_as_errors=false rtc_build_examples=false rtc_build_tools=false rtc_use_x11=false rtc_enable_sctp=false rtc_libvpx_build_vp9=true rtc_disable_metrics=true rtc_disable_trace_events=true is_debug=false symbol_level=1 rtc_include_tests=false rtc_enable_protobuf=false rust_sysroot_absolute=\"/nix/store/9bc93rjal0wmb7cc5j0c94k5dfl2axiz-rustc-wrapper-1.86.0\"
ERROR at //build/toolchain/siso.gni:10:5: Unknown function.
if (path_exists("/usr/bin/gcert") ||  # linux
    ^----------
See //build/toolchain/rbe.gni:8:1: whence it was imported.
import("//build/toolchain/siso.gni")
^----------------------------------
See //build/config/linux/pkg_config.gni:6:1: whence it was imported.
import("//build/toolchain/rbe.gni")
^---------------------------------
See //BUILD.gn:24:1: whence it was imported.
import("//build/config/linux/pkg_config.gni")
^-------------------------------------------

error: builder for '/nix/store/qyyjckvpivsi5zv8rlchbcpw9cwjl7sj-signal-webrtc-refs-tags-7103d.drv' failed with exit code 1;
       last 25 log lines:
       > Running phase: patchPhase
       > patching script interpreter paths in build/mac/should_use_hermetic_xcode.py
       > build/mac/should_use_hermetic_xcode.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/8w718rm43x7z73xhw9d6vh8s4snrq67h-python3-3.12.10/bin/python3"
       > 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/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/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
       > gn flags: target_os=\"linux\" use_sysroot=false is_clang=false treat_warnings_as_errors=false rtc_build_examples=false rtc_build_tools=false rtc_use_x11=false rtc_enable_sctp=false rtc_libvpx_build_vp9=true rtc_disable_metrics=true rtc_disable_trace_events=true is_debug=false symbol_level=1 rtc_include_tests=false rtc_enable_protobuf=false rust_sysroot_absolute=\"/nix/store/9bc93rjal0wmb7cc5j0c94k5dfl2axiz-rustc-wrapper-1.86.0\"
       > ERROR at //build/toolchain/siso.gni:10:5: Unknown function.
       > if (path_exists("/usr/bin/gcert") ||  # linux
       >     ^----------
       > See //build/toolchain/rbe.gni:8:1: whence it was imported.
       > import("//build/toolchain/siso.gni")
       > ^----------------------------------
       > See //build/config/linux/pkg_config.gni:6:1: whence it was imported.
       > import("//build/toolchain/rbe.gni")
       > ^---------------------------------
       > See //BUILD.gn:24:1: whence it was imported.
       > import("//build/config/linux/pkg_config.gni")
       > ^-------------------------------------------
       >
       For full logs, run:
         nix log /nix/store/qyyjckvpivsi5zv8rlchbcpw9cwjl7sj-signal-webrtc-refs-tags-7103d.drv
error: 1 dependencies of derivation '/nix/store/rw921f08vfarrxnzdi9bimgfd2qg1i57-ringrtc-2.53.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/v3qvv9q1p9qi3j7ipsxdk6qw23pvgb89-signal-desktop-7.58.0.drv' failed to build

Additional context

Looks like maybe Hydra hasn't ever built this on the release-25.05 branch? I can't find it, anyway, but I'm not that familiar with Hydra.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.13.12, NixOS, 25.05 (Warbler), 25.05.20250621.8d4c66d
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.3
  • nixpkgs: /nix/store/0daskfandx8n3cqrcdwww2l16qdn6c22-source

Notify maintainers

@marcin-serwin @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. added
    0.kind: build failure
    on Jun 22, 2025
  2. marcin-serwin commented on Jun 22, 2025

    @marcin-serwin
    Contributor

    This seems to be caused by release-25.05 having an older version of gn. @emilylange could we backport #403859 or should I add a signal-desktop specific override similar to gnChromium?

  3. emilylange commented on Jun 22, 2025

    @emilylange
    Member

    @marcin-serwin I would be hesitant to backport #403859 as is right now.

    How about we could introduce that version as gn_2168 (edit: gn_2233) as a stop-gap solution (see #403859 (comment))?
    That would also allow this to not go through staging for this.

  4. teutat3s commented on Jun 22, 2025

    @teutat3s
    Member

    I wonder why ofborg didn't catch this build failure earlier 🤔

  5. mweinelt commented on Jun 22, 2025

    @mweinelt
    Member

    Because there was less than a minute before the change was merged.

  6. emilylange commented on Jun 22, 2025

    @emilylange
    Member

    Closing now that #419048 has been merged.

  7. dyfrgi commented on Jun 23, 2025

    @dyfrgi
    ContributorAuthor

    Confirmed that this is now building for me, including in my system config. Not cached yet, but I assume that Hydra will get there in a day or two - the most recent build is still too far back in the commit history. Thanks for the quick fix!

  8. emilylange commented on Jun 23, 2025

    @emilylange
    Member

    @dyfrgi are you using release-25.05 for your system?
    You should probably be using nixos-25.05 instead.

    release-25.05 is what Hydra consumes, builds and tests and then decides whether the nixos-25.05 (channel and branch) should advance. release-25.05 is more or less what master is for nixos-unstable.
    See https://github.com/NixOS/nixpkgs/blob/cb6adfec42c3ff3c172be7777d9988d49e4b41c7/CONTRIBUTING.md#flow-of-merged-pull-requests

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions