base core20: wrong arch triplet
Bug #1997752 reported by
Ondrej Kubik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Committed
|
Undecided
|
Callahan Kovacs |
Bug Description
Snapcraft sets the wrong arch triplet when only a single target is supported, but building on a different target
snapcraft: 7.2.8
e.g.
architectures:
- build-on: [amd64, arm64, armhf]
run-on: armhf
test snap
https:/
Actual SNAPCRAFT_
Changed in snapcraft: | |
assignee: | nobody → Callahan Kovacs (mr-cal) |
status: | Confirmed → In Progress |
To post a comment you must log in.
Thanks Ondrej.
I was able to reproduce the same issue with your example.
The resulting `meta/snap.yaml` had the line: /usr/lib/ x86_64- linux-gnu
```
environment:
LD_LIBRARY_PATH: ${SNAP}
```