Skip to content

fix(libabigail): strip scanner-flagged PR30329 sqlite debuginfo fixtures from upstream tarball#17394

Merged
christopherco merged 1 commit into
4.0from
anphel/signing-fix-libabigail
May 27, 2026
Merged

fix(libabigail): strip scanner-flagged PR30329 sqlite debuginfo fixtures from upstream tarball#17394
christopherco merged 1 commit into
4.0from
anphel/signing-fix-libabigail

Conversation

@anphel31
Copy link
Copy Markdown
Member

@anphel31 anphel31 commented May 22, 2026

Summary

Remove tests/data/test-abidiff-exit/PR30329/ (a libabigail abidiff regression-test fixture set built around a pair of stripped sqlite3 shared libraries plus their separated debuginfo and dwz-multifile components) from the upstream libabigail-2.9.tar.xz (Source0). Our scan tooling flags both libsqlite3.so.0.8.6.debug files inside the fixture as packer_high_entropy:eod and rejects the SRPM.

The fixture is exercised by two hard-coded InOutSpec entries in tests/test-abidiff-exit.cc that run as part of %check (make check check-self-compare). Those two entries are removed via a companion overlay patch (tests-drop-PR30329-fixture-entries.patch, applied as Patch0) -- modify_source.sh itself only does file removal on the tarball, no in-tarball source patching. The rest of the testsuite is untouched and continues to pass in-chroot.

AB#20313

Validation

  • Test build
  • GPG test signing confirmed

@anphel31 anphel31 marked this pull request as ready for review May 22, 2026 03:00
Copilot AI review requested due to automatic review settings May 22, 2026 03:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the libabigail component to avoid SRPM anti-malware scan failures by replacing upstream Source0 with a deterministically repacked tarball that removes the scanner-flagged PR30329 sqlite debuginfo fixtures and adjusts the corresponding test driver so %check continues to pass.

Changes:

  • Introduces a dedicated libabigail component definition that replaces upstream Source0 with a modified tarball hosted in lookaside storage (replace-upstream = true).
  • Adds a deterministic modify_source.sh script to strip tests/data/test-abidiff-exit/PR30329/ and patch tests/test-abidiff-exit.cc accordingly.
  • Updates rendered artifacts and metadata (Fedora sources SHA512, rendered spec Release, and component lock fingerprint) to match the modified source.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
specs/l/libabigail/sources Updates the SHA512 for libabigail-2.9.tar.xz to the repacked tarball.
specs/l/libabigail/libabigail.spec Bumps Release to reflect the source change/rebuild.
locks/libabigail.lock Updates input-fingerprint for the component config change.
base/comps/libabigail/modify_source.sh Adds deterministic strip-and-repack script that removes the PR30329 fixture and patches the test driver.
base/comps/libabigail/libabigail.comp.toml Adds per-component config to replace upstream Source0 with the repacked tarball + rationale.
base/comps/components.toml Removes libabigail from the “unmodified Fedora imports” inline list (now customized via dedicated comp file).

Comment thread base/comps/libabigail/modify_source.sh Outdated
Comment thread base/comps/libabigail/modify_source.sh Outdated
Comment thread base/comps/libabigail/modify_source.sh Outdated
Comment thread base/comps/libabigail/modify_source.sh Outdated
Comment thread base/comps/libabigail/modify_source.sh
@anphel31 anphel31 force-pushed the anphel/signing-fix-libabigail branch from a16ddb3 to fd96e6e Compare May 22, 2026 11:24
@anphel31 anphel31 requested a review from christopherco May 22, 2026 11:44
Comment thread base/comps/libabigail/modify_source.sh Outdated
@anphel31 anphel31 force-pushed the anphel/signing-fix-libabigail branch from fd96e6e to 4f139a6 Compare May 25, 2026 20:24
@anphel31 anphel31 requested a review from reubeno May 25, 2026 22:06
Comment thread base/comps/libabigail/tests-drop-PR30329-fixture-entries.patch Outdated
…res from upstream tarball

Remove tests/data/test-abidiff-exit/PR30329/ (a libabigail abidiff regression-test fixture set built around a pair of stripped sqlite3 shared libraries plus their separated debuginfo and dwz-multifile components) from the upstream libabigail-2.9.tar.xz (Source0). Our scan tooling flags both libsqlite3.so.0.8.6.debug files inside the fixture as packer_high_entropy:eod and rejects the SRPM.

The fixture is exercised by two hard-coded InOutSpec entries in tests/test-abidiff-exit.cc that run as part of %check (make check check-self-compare). Those two entries are removed via a companion overlay patch (tests-drop-PR30329-fixture-entries.patch, applied as Patch0) -- modify_source.sh itself only does file removal on the tarball, no in-tarball source patching. The rest of the testsuite is untouched and continues to pass in-chroot.
@anphel31 anphel31 force-pushed the anphel/signing-fix-libabigail branch from 4f139a6 to 972aa2a Compare May 26, 2026 18:19
@reubeno reubeno dismissed christopherco’s stale review May 26, 2026 21:15

Feedback was addressed.

@christopherco christopherco merged commit b0a925c into 4.0 May 27, 2026
11 checks passed
@christopherco christopherco deleted the anphel/signing-fix-libabigail branch May 27, 2026 03:09
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.

4 participants