Unable to build microk8s from source

I’m trying to build my custom variant of microk8s, but are so far not succeeded. I’ve changed a couple of start parameters to the kube-controller-manager, but are unable to launch the solution due to that docker complain about iptables. Iptables again are complaining about undefined symbol nfct_labels_get_path. I’ve tried building the master branch of microk8s and 1.12 branch, both end up with the same result. Are there any special requirements of my environment to be able to build this?

I had the exact same issue - I ended up trying to build it the same way their CI script does (inside a Docker container). I was able to install the resulting snap with no issues.

https://github.com/ubuntu/microk8s/blob/master/.travis.yml