snapcraft --target-arch=i386 does not build i386 images, because core20 does not support i386 and yet the build starts and wastes time

Bug #1943603 reported by Colin Ian King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
High
Unassigned

Bug Description

Tried to make a i386 snap, got amd64 instead. Is that an expected undocumented misfeature?

~/repos/stress-ng$ snapcraft --target-arch=i386

.. after a while ..

Staging stress-ng
+ snapcraftctl stage
Priming stress-ng
+ snapcraftctl prime
Snapping |
Snapped stress-ng_V0.13.02_amd64.snap

Changed in snapcraft:
importance: Undecided → High
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Can you share your snapcraft.yaml please?

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Out of band, it was confirmed that the snap is base:core20, imho --target-arch=i386 should be invalid for core20 builds.

summary: - snapcraft --target-arch=i386 does not build i386 images
+ snapcraft --target-arch=i386 does not build i386 images, because core20
+ does not support i386 and yet the build starts and wastes time
Revision history for this message
Colin Ian King (colin-king) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.