How to set arch for stage-packages?
Sergio Schvezov
sergio.schvezov at canonical.com
Wed Jan 4 17:41:04 UTC 2017
El 04/01/17 a las 13:57, Andrey Rogovsky escribió:
> Hi!
> I need add few i386 packages to support my 32bit binary for amd64 systems:
> ...
> parts:
> packages:
> plugin: nil
> stage-packages:
> - libstdc++6:i386
> ...
> But when I try pull - I get error:
> # snapcraft pull
> Skipping pull bluequest (already ran)
> Preparing to pull packages
> Hit http://ppa.launchpad.net/snappy-dev/tools/ubuntu xenial InRelease
> Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102
> kB]
> Hit http://ua.archive.ubuntu.com/ubuntu xenial InRelease
> Hit http://ua.archive.ubuntu.com/ubuntu xenial-updates InRelease
> Hit http://ua.archive.ubuntu.com/ubuntu xenial-backports InRelease
> Fetched 102 kB in 0s (0 B/s)
> Error downloading stage packages for part 'packages': no such package
> 'libstdc++6:i386'
>
> Please advice.
>
> P.S. I dont need build i386 package.
I think we are lacking a split in our python apt code to support this, a
matter of a .split(':') and passing the arch to our cache instance, mind
logging a bug?
More information about the Snapcraft
mailing list