Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building a snapcraft package with web-view as dependencies #30

Open
ivanceras opened this issue Aug 23, 2018 · 0 comments
Open

Building a snapcraft package with web-view as dependencies #30

ivanceras opened this issue Aug 23, 2018 · 0 comments

Comments

@ivanceras
Copy link

Full detail

TL;DR:

I had no problem and building and running the rust app in my workstation.
Publishing and installing the snap package and running it however, will have this error.

Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"

** (svgbob-desktop:20418): ERROR **: Unable to fork a new child process: Failed to execute child process "/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess" (No such file or directory)
Trace/breakpoint trap

However, trying to launch the binary snap package created in the $SNAP directory

/snap/svgbob-editor2/current/bin/svgbob-desktop

would launch the app with no problem, since I have the webkit gtk installed in my workstation anyway.
It wouldn't be the same thing when other users want to use my snap package.

I think this has to do with how rust links the dependencies and is not the same way as snacraft expected it to be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant