found binaries for architecture 'all'

John Lenton john.lenton at canonical.com
Sun Nov 1 17:44:35 UTC 2015


On 1 November 2015 at 17:34, John Lenton <john.lenton at canonical.com> wrote:
> On 1 November 2015 at 17:26, Gábor Paller <gaborpaller at gmail.com> wrote:
>> I have a snap file that contains one ARM binary. When I run click-review on
>> it as Jamie Strandboge proposed, click-review talks back:
>>
>> paller at paller:~/beaglebone/flir/leptoncapture$ click-review
>> leptoncapture_1.0.0_all.snap
>> Errors
>> ------
>>  - lint_control_architecture_valid_contents
>>     found binaries for architecture 'all': bin/leptoncapture
>> leptoncapture_1.0.0_all.snap: FAIL
>>
>> The snap installs and runs without problems.
>>
>> What is this failure?
>
> either you're explicitly setting the “architecture” field in your
> package.yaml to “all”, or, more likely, you're not specifying the
> architecture at all; it defaults to “all”. More info here:
> https://github.com/ubuntu-core/snappy/blob/master/docs/meta.md

oh, I forgot to add: you can't have compiled binaries in an
“all”-architecture snap, that is what the message of the error means.
I skipped that bit and went straight for the (probable) cause.



More information about the snappy-devel mailing list