Tried to build this one: https://packaging.neon.kde.org/applications/kate.git/?h=Neon/unstable apol@oliver:~/devel/snaps/kate (Neon/unstable)$ snapcraft cleanbuild Cannot find the definition for part 'kde-frameworks-5-dev'. It may be a remote part, run `snapcraft update` to refresh the remote parts cache. Unsure how to solve it.
https://mail.kde.org/pipermail/neon/2017-September/000464.html ``` export SNAPCRAFT_PARTS_URI=http://metadata.neon.kde.org/snap/parts.yaml snapcraft update snapcraft ``` Basically: we pull the content snap in via what is called a remote part, as the definition for that is currently not part of the standard remote parts yaml (although it probably should be now that it is actually working) you need to use a special one.
Worked for Aleix, no such luck for me. export SNAPCRAFT_PARTS_URI=http://metadata.neon.kde.org/snap/parts.yaml root@snapcraft:/home/ubuntu/neon-work/packaging/kontact# snapcraft update The parts cache is already up to date. root@snapcraft:/home/ubuntu/neon-work/packaging/kontact# snapcraft Cannot find the definition for part 'kde-frameworks-5-dev'. It may be a remote part, run `snapcraft update` to refresh the remote parts cache. root@snapcraft:/home/ubuntu/neon-work/packaging/kontact#
root@snapcraft:/home/ubuntu/neon-work/packaging/kontact# snapcraft update The parts cache is already up to date. snapcraft bug
Here's a bug report and a workaround: https://bugs.launchpad.net/snapcraft/+bug/1719928
This is getting a bit better with new tech that is forthcoming right now, I am not sure it will entirely solve it.