snapcraft newly fails on ubuntu-image

Bug #1626236 reported by Barry Warsaw
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

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.

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.

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.