My build of Bookworm on Snapcraft is failing due to packages for granite(>=0.5) and webkit2gtk-4.0(>=2.18.6) not being met. Is there a way I can pull in these packages into the snapcraft.yaml to get the build to succeed. On my local system where I have the libraries the build succeeds with the same snapcraft.yaml.
-- Checking for modules 'gtk+-3.0;gee-0.8;granite>=0.5;webkit2gtk-4.0>=2.18.6;sqlite3>=3.5.9;poppler-glib;libxml-2.0'
--
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
CMakeLists.txt:62 (pkg_check_modules)
On my local where I have the correct versions of granite and webkit, the snap is build correctly, but on installing the snap locally and running the application I get the following error:
[ERROR 10:40:52.902555] Unable to fork a new child process: Failed to execute child process “/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess” (No such file or directory)
My understanding is that the master branch version granite compilation needs a later version of valac to compile correctly.
Maybe an earlier version of granite may compile more successfully - or you may need to investigate methods to uplift the version of valac.
No idea about webkit.
Can I ask - have you actually managed to compile this app under 16.04? Usually compiling locally first will give you valuable pointers on the best way to compile the snap.