Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Nix Mac issues building chainlink missing newer apple sdk libs #12746

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

tateexon
Copy link
Contributor

@tateexon tateexon commented Apr 8, 2024

Fixes this error when running make chainlink on mac:

/nix/store/dm4s4dfrah5zhl6larnrbh07v76j4pgy-go-1.21.6/share/go/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
Undefined symbols for architecture x86_64:
  "_SecTrustEvaluateWithError", referenced from:
      _crypto/x509/internal/macos.x509_SecTrustEvaluateWithError_trampoline.abi0 in go.o
ld: symbol(s) not found for architecture x86_64
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)

_SecTrustEvaluateWithError was added in 10.13 of the apple sdk and above but for some reason nix defaults to 10.12.

@tateexon tateexon requested a review from a team as a code owner April 8, 2024 21:10
@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@tateexon tateexon added this pull request to the merge queue Apr 9, 2024
Merged via the queue into develop with commit b3aab74 Apr 9, 2024
105 checks passed
@tateexon tateexon deleted the e2e_nix branch April 9, 2024 13:59
momentmaker added a commit that referenced this pull request Apr 9, 2024
* develop:
  Update Nix apple sdk usage (#12758)
  [KS-136] Update staging (#12703)
  update changelog path (#12757)
  Add support for dynamic pipeline runs with persistence (#12367)
  Fix nix mac issues building core missing newer apple sdk libs (#12746)
  Fix issues in package.json (#12748)
  [fix] Install jq when building plugins image (#12750)
  Automatic gas in load tests (#12416)
  remove VERSION file to use version from package.json (#12663)
  update package.json version (#12745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants