Skip to content

bind: add CoreServices framework on Darwin#330442

Merged
mweinelt merged 1 commit intoNixOS:staging-nextfrom
reckenrode:bind-fixes
Jul 27, 2024
Merged

bind: add CoreServices framework on Darwin#330442
mweinelt merged 1 commit intoNixOS:staging-nextfrom
reckenrode:bind-fixes

Conversation

@reckenrode
Copy link
Copy Markdown
Contributor

Fixes the following error:

CCLD     dig
ld: file not found: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices for architecture arm64
ld: file not found: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices for architecture arm64
clang-16: clang-16: error: error: linker command failed with exit code 1 (use -v to see invocation)linker command failed with exit code 1 (use -v to see invocation)

Fixes build failure on staging-next #328673.

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

Fixes the following error:

    CCLD     dig
    ld: file not found: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices for architecture arm64
    ld: file not found: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices for architecture arm64
    clang-16: clang-16: error: error: linker command failed with exit code 1 (use -v to see invocation)linker command failed with exit code 1 (use -v to see invocation)
@reckenrode
Copy link
Copy Markdown
Contributor Author

Result of nixpkgs-review pr 330442 run on aarch64-darwin 1

1 package marked as broken and skipped:
  • lbd
1 package failed to build:
  • nmapsi4
12 packages built:
  • acme-sh
  • asn
  • bind
  • bind.dev
  • dig (bind.dnsutils ,dig.dev ,dig.dnsutils ,dig.host ,dig.lib ,dig.man ,dnsutils ,dnsutils.dev ,dnsutils.dnsutils ,dnsutils.host ,dnsutils.lib ,dnsutils.man)
  • host (bind.host ,host.dev ,host.dnsutils ,host.host ,host.lib ,host.man)
  • bind.lib
  • bind.man
  • checkSSLCert
  • inxi
  • testssl
  • twa

@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label Jul 27, 2024
@mweinelt mweinelt merged commit f542658 into NixOS:staging-next Jul 27, 2024
@reckenrode reckenrode deleted the bind-fixes branch July 27, 2024 16:04
@ofborg ofborg bot requested a review from globin July 27, 2024 16:24
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants