using lxd provider on s390 fails

Bug #1878513 reported by Wouter van Bommel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Expired
Undecided
Unassigned

Bug Description

When using the lxd provider to build on s390, it fails with the following message:

SNAPCRAFT_BUILD_ENVIRONMENT=lxd snapcraft
The LXD provider is offered as a technology preview for early adopters.
The command line interface, container names or lifecycle handling may change in upcoming releases.
Launching a container.
An error occurred with the instance when trying to launch with 'LXD': Create instance: Requested architecture isn't supported by this host.
Ensure that 'LXD' is setup correctly and try again.

The snap / project I am trying to build is: https://github.com/matrix-org/synapse, with some tweaks as I am attempting to debug an issue in the build.

I can successfully build using the host provider, remote-build option of snapcraft also fails, but with different messages.

Revision history for this message
Sergio Schvezov (sergiusens) wrote : Re: [Bug 1878513] [NEW] using lxd provider on s390 fails

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Wed, 2020-05-13 at 22:40:40 -0300, Wouter van Bommel wrote:

> Public bug reported:
>
> When using the lxd provider to build on s390, it fails with the
> following message:
>
> SNAPCRAFT_BUILD_ENVIRONMENT=lxd snapcraft
> The LXD provider is offered as a technology preview for early adopters.
> The command line interface, container names or lifecycle handling may change in upcoming releases.
> Launching a container.
> An error occurred with the instance when trying to launch with 'LXD': Create instance: Requested architecture isn't supported by this host.
> Ensure that 'LXD' is setup correctly and try again.

You need Snapcraft 4.0 to use --use-lxd on anything that is not x86_64,
you can find Snapcraft 4.0 on the candidate channel.

>
> The snap / project I am trying to build is: https://github.com/matrix-
> org/synapse, with some tweaks as I am attempting to debug an issue in
> the build.
>
> I can successfully build using the host provider, remote-build option of
> snapcraft also fails, but with different messages.

remote-build would indeed fail differently. If this turns out to not be
an issue with the code being built, then please log a different bug for this.

 status incomplete
-----BEGIN PGP SIGNATURE-----

iQJSBAEBCgA8FiEEHG3MKdmE8/EePzj+cTHJMgEufSUFAl69LH0eHHNlcmdpby5z
Y2h2ZXpvdkBjYW5vbmljYWwuY29tAAoJEHExyTIBLn0lECAP/0S2cBND+TFproyL
CVFig7dCQzrUq5Q30yO6KDlSCCz1lh5Z0ygfnnIV/p4/E26Kwy1rVMfMor/qQJBh
egONjM0hajbAr48LVyTBG4P06UAsKXU3YAFuldgLZbPqeM12pUGQFHiFeDdGZgjL
+edya8dmFgtFdJSGKTPUaix0isz7lIcE2+6ygEOlUBeO6ztG7axpNxRS3lJQd003
fY7J20XNZYa7ImqrP6KoHwlEF0Upmp515Bq5WrMeEBVrtMLcdN0AF5phsoLrbv82
k4YID6sf7QYFVQcWWyqi0cVCBGSOYY065buCUy2S2BWkrSojxSmfUpFmhJIZwvVB
DUnRyz2wD7+N2oH36r9uJks3g5bKngtZ3CtlUdr00WSQm2U8zX3ErVfTn3uf+Uej
pAxxMkWWubsYukqSBrl/MvLu5ohRPvbXSejIfGyMCfSoG3WsAyGTXRWfn7Dp1sZd
a8nhFBaeB4RHNMowiYGquduqDHzSSaRvXB+SEEvk9MKd2ns/z26hYXqMh6FjaRqT
UYDAjh1sNKyiPWa8uFkDAfz9vUuNM+/JrALoVU+9hwB4KqQ+99+mCjaJ4raVIF2Q
/0+ndtONap/mhnOaN9N3PZyWJuFggMQxDJU/9GFbY3hgAOnv8mfZb/bFAuGHoSPR
cXGax0pLefXxrKmn/OisWEbbut1D
=FG61
-----END PGP SIGNATURE-----

Changed in snapcraft:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Snapcraft because there has been no activity for 60 days.]

Changed in snapcraft:
status: Incomplete → Expired
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.