I found some time to take a look at the tree today and there is actually a script not being copied by the snapcraft build while debian/rules has the right cp line … patching snapcraft.yaml like below gets you past the missing script error:
$ git diff snapcraft.yaml
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 9eb3f40..c5294e6 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -17,6 +17,9 @@ parts:
kconfigflavour: generic
kconfigs:
- CONFIG_DEBUG_INFO=n
+ override-pull: |
+ snapcraftctl pull
+ cp debian/scripts/retpoline-extract-one scripts/ubuntu-retpoline-extract-one
firmware:
plugin: nil
stage-packages:
but there seems to be another issue here that will require further inspection …