Handle known ARM64 libc6 usr-merge diversion warnings - #433
Merged
serhat andic (serhatandic) merged 1 commit intoSep 9, 2026
Merged
Conversation
Recognize complete, exact libc6 ARM64 usr-merge diagnostic blocks before warning context is discarded. Preserve unknown warnings, raw logs, lintian handling, RPM behavior, and existing ignore policies. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 52d4e780-cd8c-405c-8944-5e3167ae4e59
ibrahim halatci (ihalatci)
force-pushed
the
ihalatci-arm64-diversion-warning-fix
branch
from
September 9, 2026 16:54
7ac8983 to
12b738e
Compare
ibrahim halatci (ihalatci)
marked this pull request as ready for review
September 9, 2026 16:58
serhat andic (serhatandic)
approved these changes
Sep 9, 2026
This was referenced Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Recognize the known protective libc6 ARM64 usr-merge diversion before Debian warning filtering discards its context. This is limited to complete, contiguous diagnostic blocks containing only these exact lines:
An accepted block must have equal from/to counts, one warning per detail, and no prefix with more details than preceding warnings. This accommodates parallel
dh_shlibdepsinterleaving, including the actual topn/Noblewarning / warning / to / fromsequence captured in the new 26-line fixture.Unknown owners, paths, architectures, local diversions, malformed or extra diagnostic records, missing context, imbalanced blocks, and detail overruns are not exempted. Unrelated output and blank lines end a block; context is never borrowed across boundaries. Only matching base-warning indexes are skipped, preserving raw build diagnostics and existing lintian state transitions. RPM handling, ignore-file semantics,
--output_validation, system diversions, and thevalidate_outputinterface used by both callers are unchanged.Local/offline evidence
--no-autodetect(zero findings).build.stdout.loginputs for Citus, hll, and topn on Noble and Trixie were replayed through the unchanged standalonepackaging_automation.validate_build_outputCLI with their exact originalinputs/packaging_ignore.ymlfiles. Each returned 1 before the fix and 0 afterward, with no remaining unignored base or package-specific warnings. SHA256 comparisons confirmed all source logs and policies remained unchanged.The original logs come from packaging diagnostic run 34258995794, attempt 1. That diagnostic run was red: its original warning gates failed, and collection also encountered a separate source-identity assertion. It is evidence for the original diagnostics and offline comparison, not a new green native run for this change.
Rollout scope
This draft changes only the warning handler, focused tests, and the small real-output fixture. A tools release/tag and packaging-pin updates require separate approval and rollout; this PR does not claim that currently pinned packaging builds are already unblocked.