kernel plugin: remove MAKEFLAGS from the environment
Metadata
Current evaluation
Fixed by merged PR canonical/snapcraft#1150 (commit 1409ed25c), removing MAKEFLAGS from the kernel plugin build environment to prevent nested Linux Makefile conflicts.
Resolution: closed resolved
Reason: Commit 1409ed25c records the merged resolution from PR canonical/snapcraft#1150, which reworked MAKEFLAGS handling in the kernel plugin.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Linux's kernel Makefile gets confused if it is invoked with the
environment already setup by another Linux's Makefile:
linux/package/Makefile -> snapcraft -> linux/Makefile
fix the problem removing the offending make variable (MAKEFLAGS)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR canonical/snapcraft#1150 (commit 1409ed25c), removing MAKEFLAGS from the kernel plugin build environment to prevent nested Linux Makefile conflicts. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR canonical/snapcraft#1150 (commit 1409ed25c), which removed MAKEFLAGS from the kernel plugin build environment to prevent nested Linux Makefile conflicts. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or merge. The proposed fix to remove MAKEFLAGS from the environment was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Resolved by removing MAKEFLAGS from the environment to prevent kernel build failures in nested Makefile invocations. Closed as fixed. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and resolved. The proposed fix to remove MAKEFLAGS from the environment was implemented to prevent kernel Makefile conflicts during nested builds. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Proposed removal of MAKEFLAGS from the kernel plugin environment to prevent nested Makefile conflicts was closed without implementation. No pull request or fix was merged, indicating the change was abandoned. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#1150
(confidence 99%)
Merged commit 1409ed25c removes MAKEFLAGS from the kernel plugin build environment.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1150 kernel plugin: rework MAKEFLAGS from the environment | snapcraft | merged | Merged PR #1150 as commit 1409ed25c, removing MAKEFLAGS from the kernel plugin build environment to prevent conflicts in nested Linux Makefile builds. | |
| #1606903 kernel plugin: can't snap a kernel using launchpad | snapcraft (launchpad) | closed | Fixed by merged PR canonical/snapcraft#903 (commit 603948e1d), allowing Store part downloads without snapcraft login and resolving Launchpad kernel builds. | |
| #1242 kernel_plugin: use CROSS_COMPILE to override the default toolchain | snapcraft | merged | Merged snapcore/snapcraft#1242, letting kernel_plugin honor CROSS_COMPILE to override the default toolchain; commit c096cb92f. |