Snapcraft build says Sorry, an error occurred in Snapcraft

Bug #1821955 reported by Lauri Ojansivu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Opinion
Undecided
Unassigned

Bug Description

Hi,
I received this error "Sorry, an error occurred in Snapcraft":
https://launchpadlibrarian.net/416709803/buildlog_snap_ubuntu_xenial_amd64_wekan-meteor-1.8_BUILDING.txt.gz

I was building Wekan repo meteor-1.8 branch:
https://github.com/wekan/wekan/tree/meteor-1.8
and there is also snapcraft.yaml file used.

With this being newest change:
https://github.com/wekan/wekan/commit/5e7e9e8c0dc0318916c6584d93164247a1788733

Because I'm trying to get Wekan https://wekan.github.io working
with MongoDB 4.0.7, and I used legacy version of MongoDB 4.0.7 that would not produce error about libcurl:
https://askubuntu.com/questions/1058517/mongod-error-while-loading-shared-libraries-libcurl-so-4-cannot-open-shared

I would prefer building Ubuntu 18.04 based snap, that would work with Ubuntu 14.04 and newer. I have been trying different options to get that working.

Wekan does work with Meteor 1.8 and MongoDB, but problem is how to correctly get newest MongoDB working.

One previous attempt is here:
https://forum.snapcraft.io/t/how-to-connect-to-localhost-mongodb-in-snap-apparmor-prevents/7793/7

The problem there was that MongoDB 4.0.7 unix file socket does not work, like it works with MongoDB 3.2.21.

I could also try to use MongoDB 3.6 if it's not possible to get MongoDB 4.0.7 working, but I would really like to use features of MongoDB 4.0.7, and use Ubuntu 18.04 as base.

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Hi, sorry for getting back to you so late int the game.

I do not fully understand this question. Is this a feature request for something specific? If the request involves more about how to design and make your specific snap work I would suggest the forum to be the better place to engage in that venture.

Changed in snapcraft:
status: New → Confirmed
status: Confirmed → Incomplete
Revision history for this message
Lauri Ojansivu (xet7) wrote :

I will discuss in forum. You can close this.

Changed in snapcraft:
status: Incomplete → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.