Activity log for bug #1824560

Date Who What changed Old value New value Message
2019-04-12 16:40:27 enz bug added bug
2019-04-23 16:08:29 Juhani Numminen pentobi (Ubuntu): status New In Progress
2019-04-24 05:19:37 Juhani Numminen description I just installed the pentobi package in Ubuntu 19.04 beta and it fails to start up with the error message QQmlApplicationEngine failed to load component qrc:/qml/Main.qml:-1 File was compiled ahead of time with an incompatible 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_compiler_add_resources" by "qt5_add_resources" in src/pentobi/CMakeLists.txt [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   QQmlApplicationEngine failed to load component   qrc:/qml/Main.qml:-1 File was compiled ahead of time with an incompatible   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_compiler_add_resources" by "qt5_add_resources" in src/pentobi/CMakeLists.txt
2019-04-24 05:26:32 Juhani Numminen attachment added Debdiff for SRU in Disco https://bugs.launchpad.net/ubuntu/+source/pentobi/+bug/1824560/+attachment/5258424/+files/pentobi-disco-sru.diff
2019-04-24 05:26:34 Juhani Numminen attachment added Debdiff for SRU in Disco https://bugs.launchpad.net/ubuntu/+source/pentobi/+bug/1824560/+attachment/5258425/+files/pentobi-disco-sru.diff
2019-04-24 05:27:09 Juhani Numminen bug added subscriber Ubuntu Sponsors Team
2019-04-24 05:34:25 Launchpad Janitor pentobi (Ubuntu): status In Progress Fix Released
2019-04-25 18:55:57 Gunnar Hjalmarsson nominated for series Ubuntu Eoan
2019-04-25 18:55:57 Gunnar Hjalmarsson bug task added pentobi (Ubuntu Eoan)
2019-04-25 18:55:57 Gunnar Hjalmarsson nominated for series Ubuntu Disco
2019-04-25 18:55:57 Gunnar Hjalmarsson bug task added pentobi (Ubuntu Disco)
2019-04-25 18:57:35 Gunnar Hjalmarsson pentobi (Ubuntu Disco): status New Confirmed
2019-04-26 01:05:51 Mathew Hodson pentobi (Ubuntu Disco): importance Undecided High
2019-04-26 01:05:54 Mathew Hodson pentobi (Ubuntu Eoan): importance Undecided High
2019-04-26 04:31:56 Juhani Numminen bug added subscriber Juhani Numminen
2019-04-26 06:50:59 Gianfranco Costamagna pentobi (Ubuntu Disco): status Confirmed In Progress
2019-05-03 13:51:52 Simon Quigley removed subscriber Ubuntu Sponsors Team
2019-05-03 23:24:28 Steve Langasek pentobi (Ubuntu Disco): status In Progress Fix Committed
2019-05-03 23:24:31 Steve Langasek bug added subscriber Ubuntu Stable Release Updates Team
2019-05-03 23:24:32 Steve Langasek bug added subscriber SRU Verification
2019-05-03 23:24:37 Steve Langasek tags verification-needed verification-needed-disco
2019-05-04 21:16:36 Gianfranco Costamagna tags verification-needed verification-needed-disco verification-done verification-done-disco
2019-05-13 08:36:03 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2019-05-13 08:46:06 Launchpad Janitor pentobi (Ubuntu Disco): status Fix Committed Fix Released