Problem compiling snap of Musescore 3.0 with BUILD_WEBENGINE=On
Hi! I'm one of the maintainers of the Musescore snap and I've been trying to create a 3.0 version of it, but I'm hitting a compilation problem (this is the snapcraft.yml that I'm using: https://git.launchpad.net/musescore-snap/tree/snap/snapcraft.yaml?h=cor… )
When I try to create the snap from it in Launchpad, I get an error like this one:
-- Installing: /build/musescore/parts/musescore/install/usr/share/mime/packages/musescore.xml
CMake Error at mscore/cmake_install.cmake:41 (file):
file INSTALL cannot find "//QtWebEngineProcess".
Call Stack (most recent call first):
make: *** [install/strip] Error 1
make: *** [install] Error 2
Makefile:128: recipe for target 'install/strip' failed
make: Leaving directory '/build/musescore/parts/musescore/build/build.release'
Makefile:138: recipe for target 'install' failed
make PREFIX=/usr UPDATE_CACHE=FALSE -j4
make PREFIX=/usr UPDATE_CACHE=FALSE install DESTDIR=/build/musescore/parts/musescore/install
Failed to run 'make PREFIX=/usr UPDATE_CACHE=FALSE install DESTDIR=/build/musescore/parts/musescore/install' for 'musescore': Exited with code 2.
QtWebEngineProcess should be there, as I'm including the libqt5webenginecore5 package: https://packages.ubuntu.com/search?suite=bionic§ion=all&arch=any&ke… , so I guess that the path gets corrupted somehow...Could this be related to this other bug https://musescore.org/en/node/280651 ?
I've also tried to build it with
BUILD_WEBENGINE=off, and then it works OK, so I've uploaded it to the edge channel.