Skip to content

Build failure: noti (aarch64-darwin) #540408

Closed

Description

@n8henrie

Nixpkgs version

  • Unstable (26.11)

Steps to reproduce

$ nix build github:nixos/nixpkgs/31220fd4944162ff520c72e25a2e2b897e6bdbb9#noti

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/336951452#tabs-summary

Relevant log output

Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/iblhj50l17s0si3sb0s9h74blwy6kgkh-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Building subPackage ./cmd/noti
# github.com/variadico/noti/service/nsuser
In file included from service/nsuser/nsuser_darwin.go:9:
service/nsuser/nsuser_darwin.h:41:33: warning: 'NSUserNotificationCenter' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
/nix/store/mxzgf8zlr2mbxrqp1ami2ixqsqpskv0w-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here
In file included from service/nsuser/nsuser_darwin.go:9:
service/nsuser/nsuser_darwin.h:41:91: warning: 'NSUserNotification' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
/nix/store/mxzgf8zlr2mbxrqp1ami2ixqsqpskv0w-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here
In file included from service/nsuser/nsuser_darwin.go:9:
service/nsuser/nsuser_darwin.h:46:33: warning: 'NSUserNotificationCenter' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
/nix/store/mxzgf8zlr2mbxrqp1ami2ixqsqpskv0w-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here
In file included from service/nsuser/nsuser_darwin.go:9:
service/nsuser/nsuser_darwin.h:46:94: warning: 'NSUserNotification' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
/nix/store/mxzgf8zlr2mbxrqp1ami2ixqsqpskv0w-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here
In file included from service/nsuser/nsuser_darwin.go:9:
service/nsuser/nsuser_darwin.h:60:9: warning: 'NSUserNotificationCenter' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
/nix/store/mxzgf8zlr2mbxrqp1ami2ixqsqpskv0w-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here
In file included from service/nsuser/nsuser_darwin.go:9:
service/nsuser/nsuser_darwin.h:60:66: warning: 'NSUserNotificationCenter' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
/nix/store/mxzgf8zlr2mbxrqp1ami2ixqsqpskv0w-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here
In file included from service/nsuser/nsuser_darwin.go:9:
service/nsuser/nsuser_darwin.h:65:9: warning: 'NSUserNotification' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
/nix/store/mxzgf8zlr2mbxrqp1ami2ixqsqpskv0w-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here
In file included from service/nsuser/nsuser_darwin.go:9:
service/nsuser/nsuser_darwin.h:65:57: warning: 'NSUserNotification' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
/nix/store/mxzgf8zlr2mbxrqp1ami2ixqsqpskv0w-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here
# github.com/variadico/noti/cmd/noti
/nix/store/38idfbqyw3p8xaslv6bnrig62pj7qy6i-go-1.26.4/share/go/pkg/tool/darwin_arm64/link: running clang failed: exit status 1
/nix/store/yn81qpksaxk576qb807fsck5ch7zmj6c-clang-wrapper-21.1.8/bin/clang -arch arm64 -Wl,-S -Wl,-x -o $WORK/b001/exe/a.out -Qunused-arguments /nix/var/nix/builds/nix-85449-1574688195/go-link-731154921/go.o /nix/var/nix/builds/nix-85449-1574688195/go-link-731154921/000000.o /nix/var/nix/builds/nix-85449-1574688195/go-link-731154921/000001.o /nix/var/nix/builds/nix-85449-1574688195/go-link-731154921/000002.o /nix/var/nix/builds/nix-85449-1574688195/go-link-731154921/000003.o /nix/var/nix/builds/nix-85449-1574688195/go-link-731154921/000004.o /nix/var/nix/builds/nix-85449-1574688195/go-link-731154921/000005.o /nix/var/nix/builds/nix-85449-1574688195/go-link-731154921/000006.o /nix/var/nix/builds/nix-85449-1574688195/go-link-731154921/000007.o /nix/var/nix/builds/nix-85449-1574688195/go-link-731154921/000008.o /nix/var/nix/builds/nix-85449-1574688195/go-link-731154921/000009.o /nix/var/nix/builds/nix-85449-1574688195/go-link-731154921/000010.o /nix/var/nix/builds/nix-85449-1574688195/go-link-731154921/000011.o -lresolv -O2 -g -framework Foundation -framework Cocoa -O2 -g -framework CoreFoundation -framework CoreFoundation -framework Security
/nix/store/pnd38c1w69ajjfmpsajbz7i72jd2i62v-cctools-binutils-darwin-wrapper-1010.6/bin/ld: line 292: 86230 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)

Additional context

No response

System metadata

  • system: "aarch64-darwin"
  • host os: Darwin 25.5.0, macOS 26.5.2
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.34.7
  • channels(root): ""
  • nixpkgs: /nix/store/wlk9a5827bc2pdqisypjkgcv5j72xia8-source

Notify maintainers

@stites


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 Jul 10, 2026
  2. n8henrie commented on Jul 11, 2026

    @n8henrie
    ContributorAuthor

    I don't any see recent commits to the package that seem likely to be the culprit, so likely something else in the ecosystem (similar error at #540426).

  3. n8henrie commented on Jul 11, 2026

    @n8henrie
    ContributorAuthor

    It looks like these are all related -- having come up in the last few days on darwin.

    Searching for clang: error: linker command failed with exit code 133:

    I imagine these will be fixed together, hopefully this helps ensure they are all closed once a fix is available.

  4. n8henrie commented on Jul 11, 2026

    @n8henrie
    ContributorAuthor

    #540450 was fixed by #540463 which includes a possible workaround, but also references #536365 which may be a more general fix (but still a draft at this point).

  5. eclairevoyant commented on Jul 11, 2026

    @eclairevoyant
    Contributor
  6. added
    6.topic: darwin
    on Jul 11, 2026
  7. lalityalamanchili commented on Jul 12, 2026

    @lalityalamanchili

    @eclairevoyant sketchybar also doesn't build on the latest version of macOS Tahoe due to and issue with cctools

  8. ryand56 commented on Jul 12, 2026

    @ryand56
    Member

    These should all go into one tracking issue possibly

  9. eclairevoyant commented on Jul 12, 2026

    @eclairevoyant
    Contributor

    @Lalit64 you're welcome to send PRs for the packages you use 🙂

  10. agarmu commented on Jul 13, 2026

    @agarmu
    Contributor

    I opened a pr to fix this :)

  11. n8henrie commented on Jul 13, 2026

    @n8henrie
    ContributorAuthor

    @agarmu awesome, thanks! I've been pretty busy this week, much appreciated.

  12. agarmu commented on Jul 13, 2026

    @agarmu
    Contributor

    No problem! I'm just glad I had an existing issue/discussions to go off of because I would've been stumped about how to fix it otherwise.

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