pentobi fails to startup in Ubuntu 19.04 beta
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pentobi (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Disco |
Fix Released
|
High
|
Unassigned | ||
Eoan |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
The application fails to start up.
This is because the executable contains precompiled QML code that will only work with a certain version of Qt. As a package maintainer, I was unaware of the dependency and did not know a rebuild after any Qt update would be necessary.
The fix is to disable QML precompilation.
[Test Case]
1. Open a console window.
2. Start the application by giving the command `pentobi`.
3. The game window should open.
[Regression Potential]
The patch changes how QML files are embedded in the executable: precompiled code to source form. If something were wrong with e.g. qrc paths (Qt Resource Compiler) in the patch, the game window would still not be displayed. However, that is not any worse that the current state of the package.
[Original Report by Upstream Maintainer enz]
I just installed the pentobi package in Ubuntu 19.04 beta and it fails to start up with the error message
QQmlApplicati
qrc:/
version of Qt and the original file cannot be found. Please recompile
I'm not sure if this is a temporary problem or if something needs to be fixed in the packaging. Pentobi 16.2 uses the QtQuickCompiler, which requires that the QML files are precompiled with the exact same version of Qt as is used at runtime, so pentobi needs to be recompiled whenever the Qt libraries are changed.
If using the QtQuickCompiler is inconvenient for packaging, it can be disabled by replacing "qtquick_
Changed in pentobi (Ubuntu): | |
status: | New → In Progress |
description: | updated |
Changed in pentobi (Ubuntu Disco): | |
status: | New → Confirmed |
Changed in pentobi (Ubuntu Disco): | |
importance: | Undecided → High |
Changed in pentobi (Ubuntu Eoan): | |
importance: | Undecided → High |
tags: |
added: verification-done verification-done-disco removed: verification-needed verification-needed-disco |
Thank you for the report Markus.
I see that you decided to not use QtQuickCompiler in the upstream project.
Since 19.04 is released already, I plan to fix this in two stages:
* upload version 16.3-1 to Debian Experimental and request its sync to Ubuntu 19.10
* apply patch to disable the QtQuickCompiler and upload 16.2-1ubuntu0.1 for Ubuntu 19.04 as an SRU
SRU: https:/ /wiki.ubuntu. com/StableRelea seUpdates