cross compilation broken if part contains 'uname'
Bug #1780825 reported by
Ondrej Kubik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Kyle Fazzari |
Bug Description
Setup:
snapcraft version: snapcraft 2.42.1 1594
running inside lxd container on xenial
cross compiling for armhhf
part using nil plugin, only has stage-packages defined
part has coreutils as stage package
Build:
build fails when snapcraft wrongly executes uname from part instead of uname from host system
output:
Building part-name
/home/ubuntu/
Failed to run 'uname -srvmpio': Exited with code 2.
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
milestone: | none → 2.43 |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
putting absolute path into snapcraft/ internal/ pluginhandler/ __init_ _.py
fixes the problem