← Back to issue list

repo: fix_pkg_config removes prefixes from staged snap's .pc files.

View original Github issue

Metadata

Project
snapcraft
Number
#3848
Type
pull request
State
merged
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Merged a fix normalizing pkg-config prefixes in staged snaps by stripping prepended build directories. Squash-merged after review approval and full test coverage, resolving Launchpad #1916281 and CRAFT-1214.

Suggested action:

No scores available.

Issue body

- [X] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [X] Have you successfully run `make lint`? - [X] Have you successfully run `pytest tests/unit`? ----- When normalizing pkg-config (.pc) files from staged snaps, directories previously prepended to the prefix parameter will be removed: - `/build/<snap-name>/stage` from snaps built via launchpad - `/root/stage` from snaps built via a provider LP: #[1916281](https://bugs.launchpad.net/snapcraft/+bug/1916281) (CRAFT-1214)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a fix normalizing pkg-config prefixes in staged snaps by stripping prepended build directories. Squash-merged after review approval and full test coverage, resolving Launchpad #1916281 and CRAFT-1214.
qwen3.6-35b-a3b-mtp-q6 Merged fix normalizing pkg-config prefixes in staged snaps by stripping prepended build directories. Squash-merged with craft-parts dependency updated to 1.10.0 for consistent resolution.
qwen3.6-35b-a3b-mtp-q6 Merged fix normalizing pkg-config prefixes in staged snaps by stripping build paths like /build/<snap-name>/stage and /root/stage. Squash-merged with craft-parts bumped to v1.10.0 for uniform resolution.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.