We have been having trouble today with builds from build.snapcraft.io failing automated review because of unknown keys in the manifest.yaml file. I think a new version of snapcraft was promoted to stable, and that might be related.
Here is the error message from review:
unknown keys in snap/manifest.yaml: snapcraft-os-release-id,snapcraft-os-release-version-id,snapcraft-version lint-snap-v2_snap_manifest
I was going to post something but you beat me to it.
The issue has to do with an incompatibility between snapcraft 2.43 and the review-tools . This has been fixed in the review-tools, but that fix is not in production yet. To unblock uploads, we’re in the process of downgrading snapcraft to 2.42.1 on the builders to workaround the issue. This workaround should be available shortly and there is nothing you need to do. I’ve also discussed how to detect this sort of problem in the future with the snapcraft team. We apologize for the inconvenience.
That’s exactly the combination I mentioned, “Ubuntu Core 16” is still the only version out there. When building on 18.04 (“Ubuntu Bionic”), you want base: core18 in your snap/snapcraft.yaml so that the snap sees a 18.04 root filesystem.
i understood he is building a 4.15 (bionic) kernel targeting core16 (and UbuntuCore16) …
@klebers did you try using a xenial chroot/builder instead of an 18.04 one (or does your kernel build require the 18.04 gcc) ? i think snapcraft was rolled back in the 16.04 builders but not in the 18.04 ones, so if your kernel can build in 16.04 you should get it through by picking a 16.04 build env on launchpad…