I am on a x86_64-linux-gnu machine and trying to build a snap from source for arm-linux-gnueabihf (Raspberry Pi3) using autotools.
I manage to build the snap but after I upload to the store it always says that the supported architecture is:
Supported architectures amd64
My snapcraft.yaml looks like this:
name: hellocsnap
version: '1.17'
summary: Hello World snap written in C
description: This snap says hello and adds 2 numbers.
grade: stable
confinement: strict
apps:
hello:
command: hellocsnap
parts:
test-hellocsnap:
plugin: autotools
configflags:
- --build=x86_64-linux-gnu
- --host=arm-linux-gnueabihf
source: source/
When running snapcraft I get the following error:
Priming test-hellocsnap
Unable to determine library dependencies for b' /home/..../prime/bin/hellocsnap'
Does any one know how to pack a snap from source on a amd64 for Raspberry Pi?