snapcraft does not respect filesets of remote parts

Bug #1622435 reported by Simon Fels
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Medium
Sergio Schvezov

Bug Description

Running snapcraft 2.16 on my xenial system and getting the following error while using the networkmanager remote part

[Errno 2] No such file or directory: '/root/stage/$rdepends'
Stopping snapcraft-partly-tough-sawfly
Command '['lxc', 'exec', 'snapcraft-partly-tough-sawfly', '--', 'snapcraft', 'snap', '--output', 'canonical-se-parts_1_amd64.snap']' returned non-zero exit status 1

The part networkmanager has the strucutre

 parts:
   networkmanager:
     ...
     filesets:
       rdepends:
          ..
     snap:
       - $rdepends

See https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager/tree/snapcraft.yaml for details.

Somehow it looks like the local part can't reuse the filesets or does not carry them from the original project the part links to.

Tags: wiki
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

I thought joc had logged a bug for this, cannot find it but yes, this is a problem!

Changed in snapcraft:
status: New → Triaged
importance: Undecided → Medium
Leo Arias (elopio)
tags: added: wiki
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
status: Triaged → In Progress
assignee: nobody → Sergio Schvezov (sergiusens)
milestone: none → 2.18
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.