I am trying to create a single snap where the mosuqitto broker and pub/sub clients are all in the same snap. I have created two separate snaps from the github code base (see link) but when I try to create one monolithic snap I hit an error. I am running snapcraft from the ./snap folder snapcraft.yaml file.
Here is a link to the github
Here is a link to the error
If someone can help me figure out what I am doing wrong that would great.