Checkbox - building arm64

i am trying to build checkbox for arm64 , but it is failing. please suggest

git+ssh://git.launchpad.net/checkbox-snappy

checkbox-snappy [arm64] $ snapcraft --target-arch arm64
Setting target machine to ‘arm64’
Cannot find the definition for part ‘plainbox-provider-snappy-resource’.
It may be a remote part, run snapcraft update to refresh the remote parts cache.

i am trying to clone , but it is failing

git clone https://git.launchpad.net/plainbox-provider-snappy-resource
Cloning into ‘plainbox-provider-snappy-resource’…
Username for ‘https://git.launchpad.net’: vinaysimha@inforcecomputing.com
Password for ‘https://vinaysimha@inforcecomputing.com@git.launchpad.net’:
remote: Authorisation required.
fatal: Authentication failed for ‘https://git.launchpad.net/plainbox-provider-snappy-resource/

Hi,

I notice two things about the output you have pasted.

  1. The plainbox-provider snapcraft plugin has not yet received any work to enable cross-compilation support. Therefore, I don’t believe “–target-arch” can be relied on yet. If you want to build checkbox snap for arm64 then your best option would be to use either native arm64 hardware or launchpad builders.

  2. Recent versions of checkbox-snappy do not use plainbox-provider-snappy-resource and so I think you must be using an old branch that is no longer valid. Could you try just using master:
    git clone -b master https://git.launchpad.net/checkbox-snappy

Thanks

1 Like