← Back to issue list

pluginhandler: export SNAPCRAFT_BUILD_BASE to build environment

View original Github issue

Metadata

Project
snapcraft
Number
#3096
Type
pull request
State
closed
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

The SNAPCRAFT_BUILD_BASE export and snap-meta refresh were proposed in #3096, but the PR was closed without a recorded merge or replacement.

Resolution: closed stale

Reason: PR #3096 remained unreviewed with zero reviewers for roughly six years and was closed without a merge commit or superseding reference. No evidence shows that its proposed export or package-repositories fix landed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Add refresh to snap_meta before expand_env() - it will fail because build-base has not yet been populated. Future work should consolidate instantiation. 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 stale The SNAPCRAFT_BUILD_BASE export and snap-meta refresh were proposed in #3096, but the PR was closed without a recorded merge or replacement.
stealth/space-bunny-alpha — closed stale snapcraft#3096 was closed with no recorded merge or superseding reference, abandoning its proposed SNAPCRAFT_BUILD_BASE export and related package-repositories fix.
qwen/qwen3.6-35b-a3b — — Closed. The change refreshes snap_meta before expand_env() to export SNAPCRAFT_BUILD_BASE to the build environment, fixing a population failure and improving package-repositories handling with extensions.
qwen3.6-35b-a3b-mtp-q6 — — Merged to export SNAPCRAFT_BUILD_BASE by refreshing snap_meta prior to environment expansion. This prevents build failures and fixes package-repositories handling when configured with extensions.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3014 meta: migrate get_build_base to Snap snapcraft merged Merged in snapcraft#3014 via commit 09be6bb53, moving get_build_base from Projectinfo to Snap and simplifying tests to use Snap metadata instead of self.project.info.
72%
#3414 project loader: export SNAPCRAFT_TARGET_ARCH in build environment snapcraft merged Merged PR #3414 (commit ff2cd96bb) added SNAPCRAFT_TARGET_ARCH to the global build environment in set_global_environment() for core22, alongside SNAPCRAFT_ARCH_TRIPLET.
70%