Problem trying to create a snap for version 3.0

• Jan 2, 2019 - 23:39
Reported version
3.0
Type
Development
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

I'm one of the mantainers of the Musescore snap and I'm trying to update it to 3.0, but I'm hitting a problem when compiling it. I'm using this snapcraft.yaml file: https://git.launchpad.net/musescore-snap/tree/snap/snapcraft.yaml?h=cor…

And when I try to create a snap with it (using launchpad like I do for version 2.3.2) I get this error:

CMake Error at mscore/cmake_install.cmake:41 (file):
file INSTALL cannot find "//QtWebEngineProcess".
Call Stack (most recent call first):
cmake_install.cmake:63 (include)

make[1]: *** [install/strip] Error 1
make: *** [install] Error 2
Makefile:128: recipe for target 'install/strip' failed
make[1]: 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.

Here is the full log for one of the attempts: https://launchpadlibrarian.net/403984383/buildlog_snap_ubuntu_bionic_am…

I guess that I could use BUILD_WEBENGINE=OFF, but it sounds like an important component to have.
The Ubuntu package that includes it is libqt5webenginecore5: https://packages.ubuntu.com/search?suite=bionic&section=all&arch=any&ke… Any ideas why it's not getting the path right?

Thanks!


Comments