You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
core20 snaps should allow the same architecture in multiple build-ons, when a target arch is supplied with snapcraft --target-arch armhf --enable-experimental-target-arch --destructive-mode.
Caevaets:
all 3 cli options in snapcraft --target-arch armhf --enable-experimental-target-arch --destructive-mode must be used everytime
the snap will not be able to be built with snapcraft remote-build
Why it needs to get done
Currently, core20 snaps do not allow the same architecture to be present in multiple build-ons.
Running snapcraft with or without a target arch produces the following error: Issues while validating snapcraft.yaml: The 'architectures' property does not match the required schema: 'amd64' and 'arm64' are present in the 'build-on' of multiple items, which means snapcraft doesn't know which 'run-on' to use when building on those architectures
When a target arch is supplied, snapcraft has enough information to determine which build-on/run-on tuple to use.
What needs to get done
core20
snaps should allow the same architecture in multiple build-ons, when a target arch is supplied withsnapcraft --target-arch armhf --enable-experimental-target-arch --destructive-mode
.Caevaets:
snapcraft --target-arch armhf --enable-experimental-target-arch --destructive-mode
must be used everytimesnapcraft remote-build
Why it needs to get done
Currently, core20 snaps do not allow the same architecture to be present in multiple build-ons.
Consider the following
snapcraft.yaml
:Running snapcraft with or without a target arch produces the following error:
Issues while validating snapcraft.yaml: The 'architectures' property does not match the required schema: 'amd64' and 'arm64' are present in the 'build-on' of multiple items, which means snapcraft doesn't know which 'run-on' to use when building on those architectures
When a target arch is supplied, snapcraft has enough information to determine which
build-on/run-on
tuple to use.source: https://bugs.launchpad.net/snapcraft/+bug/2009520
The text was updated successfully, but these errors were encountered: