ProjectOptions() having wrong values
Bug #1973030 reported by
Ondrej Kubik
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Incomplete
|
Undecided
|
Callahan Kovacs |
Bug Description
ProjectOptions() reports host machine value, ignoring --target-arch value.
This is inconsistent with values passed later the plugins in the build script
For example for --target-arch armhf
ProjectOptions(
ProjectOptions(
ProjectOptions(
ProjectOptions(
ProjectOptions(
ProjectOptions(
yet in the build.sh values are:
export SNAPCRAFT_
export SNAPCRAFT_
Changed in snapcraft: | |
assignee: | nobody → Callahan Kovacs (mr-cal) |
status: | New → In Progress |
Changed in snapcraft: | |
status: | In Progress → Incomplete |
To post a comment you must log in.
@ondrak, a few questions:
1. This is when building a snap on base core22, correct?
2. Can you try again on snapcraft `latest/edge`? (or post a reproducer snapcraft.yaml and/or command line arguments) There's been many updates to snapcraft 7 this month and I'm having trouble reproducing.
3. `--target-arch` isn't supported for core22, I need to check with Sergio to figure out the expected behavior.