Comment 1 for bug 1626236

Revision history for this message
Sergio Schvezov (sergiusens) wrote : Re: [Bug 1626236] [NEW] snapcraft newly fails on ubuntu-image

El 21/09/16 a las 16:20, Barry Warsaw escribió:
> Public bug reported:
>
> This used to work, but we're getting a recent failure on Yakkety with
> snapcraft 2.17+16.10.1ubuntu3
>
> You can reproduce this by:
>
> $ git clone https://github.com/CanonicalLtd/ubuntu-image.git
> $ snapcraft
>
> The new failure is:
>
> [Errno 2] No such file or directory:
> '/home/barry/projects/ubuntu/allsnappy/ubuntu-image/prime/usr/bin
> /ubuntu-image'
>
> and indeed, ubuntu-image doesn't appear in .../prime/usr/bin
>
> % find . -name ubuntu-image
> ./parts/ubuntu-image
> ./parts/ubuntu-image/install/bin/ubuntu-image
> ./parts/ubuntu-image/src/ubuntu-image
> ./parts/ubuntu-image/build/ubuntu-image
> ./stage/bin/ubuntu-image
> ./ubuntu-image
>
> The latter is the in-tree version. All the others are checksum
> identical, but it seems like the cli script isn't getting copied to the
> right place.

This was the warning I sent out a while back about the drawbacks of the
new plugin, the script should be in bin/ as can be seen in your find result.