Repository navigation
Closed
Labels
Description
Nixpkgs version
- Unstable (26.11)
Steps to reproduce
$ nix build github:nixos/nixpkgs/31220fd4944162ff520c72e25a2e2b897e6bdbb9#notiCan Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
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
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
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reacted by Raghavendra Bhuvan, Oscar Vargas Torres, MacDefender and Changsheng Wu
Activity
n8henrie commentedon Jul 11, 2026
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).
n8henrie commentedon Jul 11, 2026
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.
n8henrie commentedon Jul 11, 2026
#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).
eclairevoyant commentedon Jul 11, 2026
Created a few fix PRs but this is definitely not a longterm fix:
lalityalamanchili commentedon Jul 12, 2026
@eclairevoyant sketchybar also doesn't build on the latest version of macOS Tahoe due to and issue with cctools
ryand56 commentedon Jul 12, 2026
These should all go into one tracking issue possibly
eclairevoyant commentedon Jul 12, 2026
@Lalit64 you're welcome to send PRs for the packages you use 🙂
blueutil: fix build on Darwin
terminal-notifier: fix build on Darwin
agarmu commentedon Jul 13, 2026
I opened a pr to fix this :)
n8henrie commentedon Jul 13, 2026
@agarmu awesome, thanks! I've been pretty busy this week, much appreciated.
agarmu commentedon Jul 13, 2026
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.