Skip to content

llvmPackages_23.libllvm: disable dsymutil codesign test - #552246

Merged
reckenrode merged 1 commit into
NixOS:masterfrom
reckenrode:push-lkxqvxouotwo
Sep 20, 2026
Merged

reckenrode merged 1 commit into
NixOS:masterfrom
reckenrode:push-lkxqvxouotwo

Conversation

@reckenrode

Copy link
Copy Markdown
Contributor

This test depends on being able to sign a bundle, which sigtool is not able to do. Once we have a compatible wrapper for rcodesign, which can sign bundles, it should be possible to enable it again.

Things done

@nixpkgs-ci
nixpkgs-ci Bot requested review from a team and leona-ya and removed request for a team August 13, 2026 11:03
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related labels Aug 13, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested a review from a team August 13, 2026 11:07
nixpkgs-branch-check[bot]

This comment was marked as outdated.

@nixpkgs-branch-check
nixpkgs-branch-check Bot dismissed their stale review August 16, 2026 22:49

Review dismissed automatically

@reckenrode

Copy link
Copy Markdown
Contributor Author

I fixed the formatting and the base branch. I’d accidentally rebased on staging when I updated my local branches this morning. This one should be safe to go directly to master.

@leona-ya leona-ya moved this from Needs Review to Reviewed in Nixpkgs security review Aug 17, 2026
@balsoft balsoft moved this from Reviewed to Needs Re-review in Nixpkgs security review Aug 30, 2026
This test depends on being able to sign a bundle, which sigtool is not
able to do. Once we have a compatible wrapper for rcodesign, which can
sign bundles, it should be possible to enable it again.
@tim-hoffman

Copy link
Copy Markdown

Is there any update on this? The test is still failing in Hydra https://hydra.nixos.org/build/344126987

tim-hoffman added a commit to project-llzk/llzk-nix-pkgs that referenced this pull request Sep 14, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Sep 15, 2026
@timothyklim

Copy link
Copy Markdown
Contributor

/cc @RossComputerGuy

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Sep 20, 2026
@reckenrode

Copy link
Copy Markdown
Contributor Author

I’m going to go ahead and merge this. It’ll be needed if we’re going to bump the default LLVM to LLVM 23, and it’s a problem regardless for those who need it for other reasons.

@reckenrode
reckenrode added this pull request to the merge queue Sep 20, 2026
Merged via the queue into NixOS:master with commit 6cda1cd Sep 20, 2026
30 checks passed
@reckenrode
reckenrode deleted the push-lkxqvxouotwo branch September 20, 2026 23:43
jmmaloney4 added a commit to jmmaloney4/jackpkgs that referenced this pull request Sep 21, 2026
Raised in review on #407, and the reasoning is stronger than the suggestion's
score implies.

When NixOS/nixpkgs#552246 lands, upstream deletes `test/tools/dsymutil/
codesign.test` in its own postPatch. With `rm -f` ours would then silently do
nothing, and the overlay would linger indefinitely -- present, inert, and
invisible -- until someone happened to re-read it. Plain `rm` fails the build
the moment the overlay is obsolete (or LLVM moves the test), which is exactly
the signal to delete it.

That turns the removal condition from a comment someone must notice into a
mechanical failure, which is the posture ADR 050 argues for everywhere else.

Re-verified rather than assumed: changing postPatch changes the derivation, so
the previously recorded evidence described a build that is no longer what
ships. Rebuilt on real aarch64-darwin hardware:

  RM_VARIANT_BUILD_EXIT=0, 41 minutes
  codesign.test occurrences: 0
  Total Discovered Tests: 77247   (baseline 77248, one failing)

Drv identity updated in the ADR to match what ships:

  aarch64-darwin libllvm  c64rvn1m... -> k3jaypfg...
  aarch64-darwin lld      032gfx5a... -> h91z97kl...
  x86_64-linux   libllvm  l2ky695v... unchanged

The overlay invariant check, treefmt and the adr-* checks all pass against this
tree.
@mdaniels5757 mdaniels5757 added the backport release-26.05 Backport PR automatically label Nov 26, 2026
@nixpkgs-ci

nixpkgs-ci Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-26.05:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. backport release-26.05 Backport PR automatically

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants