thanks for your fast answer. My problem was: I could not find the source. I see now it is on GitHub: https://github.com/snapcore/snapd - right ?
HACKIND.md is the official build documentation for Linux distro maintainers (like me)?
You also refer to “libsecomp”: Does this mean that we must install libsecomp in case we want to use snapcraft? fyi: We cannot use any software from NSA - so any SE parts in our Linux kernel are disabled and we cannot change this (no SE-Linux here for good reason).
And one last question: There is a folder “docker” in the snapcraft tree. Does that mean that snapd/snapcraft relies on docker? (I’m sorry but we cannot use docker and we won’t change this).
If all you are trying to do is use snapcraft, you can build a local package of that without snapd, it will be a less featureful snapcraft, but snapcraft is just python through and through