← Back to issue list

spread tests: fix classic patchelf linker regex to match all arches

View original Github issue

Metadata

Project
snapcraft
Number
#3247
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Merged in #3247 (commit 9a9eb18f6), broadening the classic Patchelf spread-test linker match from ld-linux to ld.* to detect loaders such as ppc64el's ld64.so.2.

Resolution: closed resolved

Reason: PR #3247 was approved and merged as commit 9a9eb18f6, fixing linker detection across architectures.

Evaluated by: mr-cal-bot

No scores available.

Issue body

ppc64el and others may not follow the `ld-linux` convention, e.g.: /snap/core18/current/lib64/ld64.so.2 Fix by broadening the match to ld.*. Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in #3247 (commit 9a9eb18f6), broadening the classic Patchelf spread-test linker match from ld-linux to ld.* to detect loaders such as ppc64el's ld64.so.2.
stealth/space-bunny-alpha — closed resolved Merged as commit 9a9eb18f6: broadened the classic patchelf spread-test linker regex from ld-linux to ld.*, so non-x86 loaders like ppc64el's ld64.so.2 match.
stealth/space-bunny-alpha — closed resolved Merged PR #3247 broadened the classic Patchelf spread-test linker regex from ld-linux to ld.*, supporting alternate loader names such as ld64.so.2 on ppc64el.
qwen/qwen3.6-35b-a3b — — Merged a fix to spread tests that broadened the patchelf linker regex from ld-linux to ld.*. This ensures compatibility with architectures like ppc64el using alternative linker names. Approved by reviewer and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix for the classic patchelf linker regex in spread tests. The pattern was broadened to ld.* to support architectures like ppc64el that use non-standard linker naming conventions instead of ld-linux.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3242 tests: migrate legacy classic patchelf tests to spread snapcraft merged Merged PR #3242 as e76a07747, migrating legacy classic patchelf tests to Spread and removing 186 net lines across 13 files.
76%
#6350 test: fix spread tests snapcraft merged Merged PR #6350 as a18c7f485, fixing all non-store Spread tests and OSV scanning, including pinning Black 26.3.1 to avoid patchelf failures.
72%
#3985 elf: patch elf files for classic mode snapcraft merged Merged PR #3985 as commit a723254b9, adding classic-mode ELF patching so enable-patchelf parts use base-snap libraries or staged libc components.
70%