When I’m building my snap I’m getting the following error dispite my snapcraft having libc6 included:
Priming tomcat 'libc6' is required inside th e snap for this part to work properly. Add it as a `stage-packages` entry for this part.
And my snapcraft.yaml
name: orion-monitor # you probably want to 'snapcraft register <name>' version: '0.1' # just for humans, typically '1.2+git' or '1.3.2' summary: monitoring of orion vms. description: | OrionMonitor is a webapp designed to monitor Orion Vms and stop/start them when they are not required. grade: devel # must be 'stable' to release into candidate/stable channels confinement: devmode # use 'strict' once you have the right plugs and slots apps: pi-gation: command: orion-monitor-launch daemon: simple plugs: [network, network-bind] hooks: install: plugs:  configure: plugs:  parts: # build the web app orion-monitor-webapp: plugin: maven source: firstname.lastname@example.org:sbsutton/orionmonitor.git maven-options: [-DskipTests=true] organize: war/orionmonitor-1.0-SNAPSHOT.war : webapps/orionmonitor.war after: [tomcat] # copies the files in snap/src/scripts/ to # the root of the snap directory - snap/ pi-gation-launch: plugin: dump source: snap/src/scripts after: [tomcat, orion-monitor-webapp] stage-packages: - libc6