Skip to content

Conversation

savil
Copy link
Collaborator

@savil savil commented Oct 8, 2025

Summary

Getting this error:

% devbox run build
Info: Running script "build" on /Users/savil/code/jetify/devbox
go: downloading github.com/Masterminds/semver v1.5.0
go: downloading github.com/hashicorp/go-immutable-radix v1.3.1
# github.com/golangci/golangci-lint/cmd/golangci-lint
/Users/savil/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.darwin-arm64/pkg/tool/darwin_arm64/link: running clang failed: exit status 1
/nix/store/yr2068d9m3nsc3g5gbjgj1n3fbr9rb89-clang-wrapper-19.1.7/bin/clang -arch arm64 -Wl,-headerpad,1144 -Wl,-flat_namespace -Wl,-bind_at_load -o $WORK/b001/exe/a.out -Qunused-arguments /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/go.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000000.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000001.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000002.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000003.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000004.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000005.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000006.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000007.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000008.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000009.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000010.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000011.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000012.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000013.o /var/folders/9d/5l7cbnw53999fk9bynzcvhl40000gn/T/go-link-3646555948/000014.o -lresolv -O2 -g -O2 -g -framework CoreFoundation -framework CoreFoundation -framework Security -O2 -g
Undefined symbols for architecture arm64:
  "_SecTrustCopyCertificateChain", referenced from:
      _crypto/x509/internal/macos.x509_SecTrustCopyCertificateChain_trampoline.abi0 in go.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

related issues:

How was it tested?

Community Contribution License

All community contributions in this pull request are licensed to the project
maintainers under the terms of the
Apache 2 License.

By creating this pull request, I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 License as stated in
the
Community Contribution License.

@savil savil requested a review from gcurtis October 8, 2025 22:31
@savil savil marked this pull request as ready for review October 8, 2025 22:31
@savil savil removed the request for review from gcurtis October 8, 2025 23:13
@savil savil marked this pull request as draft October 8, 2025 23:13
@savil savil force-pushed the savil/fix-mac-compile branch from bb40b98 to b8749a7 Compare October 8, 2025 23:14
@savil savil closed this Oct 8, 2025
@savil savil reopened this Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant