Skip to content

Build failure: gtk4 on aarch64-darwin (ld64 SIGTRAP linking libgtk-4.1.dylib) #541734

Closed

Description

@karstx

Nixpkgs version

  • Unstable (26.11)

Steps to reproduce

  1. On aarch64-darwin, build gtk4: nix build nixpkgs#gtk4
  2. The link step for libgtk-4.1.dylib aborts with exit code 133.

Can Hydra reproduce this build failure?

Yes

Link to Hydra build job

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

Relevant log output

[995/1860] Linking target gtk/libgtk-4.1.dylib
FAILED: [code=1] gtk/libgtk-4.1.dylib
clang  -o gtk/libgtk-4.1.dylib  -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -shared -install_name @rpath/libgtk-4.1.dylib -compatibility_version 2201 -current_version 2201.4 -Wl,-force_load gtk/libgtk.a -Wl,-force_load gtk/css/libgtk_css.a -Wl,-force_load gdk/libgdk.a -Wl,-force_load gsk/libgsk.a [... library list trimmed ...]
/nix/store/pnd38c1w69ajjfmpsajbz7i72jd2i62v-cctools-binutils-darwin-wrapper-1010.6/bin/ld: line 292:  8992 Trace/BPT trap: 5          /nix/store/zhb8xrwn0mp0xk3argfbh8w73c4cipqs-cctools-binutils-darwin-1010.6/bin/ld "@$responseFile"
clang: error: linker command failed with exit code 133 (use -v to see invocation)

System metadata

 - system: `"aarch64-darwin"`
 - host os: `Darwin 25.5.0, macOS 26.5.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Lix, like Nix) 2.94.2`
 - nixpkgs: `/nix/store/2asb2k5l0m01hnyb6qak6rmfhxlksqqq-yzpbrhbmaxbrpvn1wfx06zbm1chykk8b-source`

I assert that this issue is relevant for Nixpkgs

Activity

  1. added
    6.topic: darwin
    0.kind: build failure
    on Jul 14, 2026
  2. samiser commented on Jul 14, 2026

    @samiser
    Member

    same as the other build failures tracked in #536365

    i'll open a PR to fix

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 failure6.topic: darwin

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions