Skip to content

abicheck: modernize for scarthgap/whinlatter compatibility#11

Open
adarshjagadishkamini wants to merge 4 commits intoclio-project:mainfrom
Nordix:main
Open

abicheck: modernize for scarthgap/whinlatter compatibility#11
adarshjagadishkamini wants to merge 4 commits intoclio-project:mainfrom
Nordix:main

Conversation

@adarshjagadishkamini
Copy link
Copy Markdown

  • Update DEPENDS/RDEPENDS syntax to use ':' override separator
  • Add ABI_CHECK_SKIP variable to conditionally skip libabigail-native dep and abixml gathering
  • Replace binaryaudit util.note/util.add_message with bb.debug/bb.note/oe.qa.handle_error
  • Fix QARECIPETEST registration via __anonymous() for proper QA function visibility
  • Add WARN_QA append for abi-changed to make ABI failures warnings
  • Track ref_found flag and log when package has no reference ABI
  • Add guard for empty/invalid XML before parsing in get_soname_from_xml
  • Add optional debug_info_dir param to serialize() and serialize_artifacts()
  • Upgrade libabigail recipe 1.8.2 to 2.8 with updated checksums and xxhash dep
  • Update LICENSE to SPDX format (LGPL-3.0-or-later)
  • Handle UNPACKDIR vs WORKDIR for S variable across Yocto versions
  • Remove zip-archive PACKAGECONFIG; strip rpm/deb from native/nativesdk builds
  • Update LAYERSERIES_COMPAT to kirkstone and later; drop pre-kirkstone support

adarshjagadishkamini and others added 4 commits March 12, 2026 16:41
- Update DEPENDS/RDEPENDS syntax to use ':' override separator
- Add ABI_CHECK_SKIP variable to conditionally skip libabigail-native dep and abixml gathering
- Replace binaryaudit util.note/util.add_message with bb.debug/bb.note/oe.qa.handle_error
- Fix QARECIPETEST registration via __anonymous() for proper QA function visibility
- Add WARN_QA append for abi-changed to make ABI failures warnings
- Track ref_found flag and log when package has no reference ABI
- Add guard for empty/invalid XML before parsing in get_soname_from_xml
- Add optional debug_info_dir param to serialize() and serialize_artifacts()
- Upgrade libabigail recipe 1.8.2 to 2.8 with updated checksums and xxhash dep
- Update LICENSE to SPDX format (LGPL-3.0-or-later)
- Handle UNPACKDIR vs WORKDIR for S variable across Yocto versions
- Remove zip-archive PACKAGECONFIG; strip rpm/deb from native/nativesdk builds
- Update LAYERSERIES_COMPAT to kirkstone and later; drop pre-kirkstone support

Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
The glob pattern used to find the reference ABI was using a wildcard
for the architecture component, which could match references built for
a different architecture than the current build.

Since dest_basedir already contains the arch (buildhistory/packages/
<TUNE_PKGARCH>/<pn>), extract it and use it directly in the reference
lookup instead of a wildcard.

Reported-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
- abicheck.bbclass: arch-subdirectory abixml layout, reference snapshot,
  headers capture/compare, zstd archive handler, wrynose compat
- binaryaudit.bbclass: default BINARY_AUDIT_REFERENCE_BASEDIR to BUILDHISTORY_DIR
- abicheck.py: add is_shared_library(), headers_dir support in serialize/compare,
  skip non-library ELFs, warn-and-continue on abidw failure
- poky.py: support .tar.zst baselines alongside legacy .tar.gz
- conf/abicheck-enable.conf, abicheck-errors.conf: new conf fragments
- conf/layer.conf: add wrynose to LAYERSERIES_COMPAT
- recipes-devtools: bump libabigail to 2.9
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