Bug 26012 - Ktouch and Minuet don't run due to compile problem
Summary: Ktouch and Minuet don't run due to compile problem
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-01-04 12:54 CET by Rob Teng
Modified: 2020-01-07 22:21 CET (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Rob Teng 2020-01-04 12:54:10 CET
Description of problem:
On starting Ktouch, there is just a message box with the following message when opting to 'Show Details':
"qrc:/qml/main.qml: File was compiled ahead of time with an incompatible version of Qt and the original file cannot be found. Please recompile"
Starting Minuet from the menu yields no visible response, starting from the command line ends with essentially the same error:
"qrc:/Main.qml:-1 File was compiled ahead of time with an incompatible version of Qt and the original file cannot be found. Please recompile"

Version-Release number of selected component (if applicable):
Ktouch and Minuet both Version: 19.04.0 and Release: 1.mga7

My system is up to date at this moment.
The problem first occurred about two weeks ago (last year/decade).
An older system that is not fully up to date still runs Ktouch (no Minuet installed).

How reproducible:
Every time the progam is started.

Steps to Reproduce:
1. Update system
2. start Ktouch or Minuet
3. observe it fails to run


A web search on the error shows a multitude of systems with this problem, for some the fix has been implemented.

See here (with more links to affected distributions plus analysis and fix):
https://bugzilla.redhat.com/show_bug.cgi?id=1698243
https://bugs.launchpad.net/ubuntu/+source/ktouch/+bug/1827767

The fix seems to be (from the ubuntu link):
Pass DQt5QuickCompiler_FOUND=OFF to configure, so we
    do not pre-compile qml. This ensures the application will continue
    to run when used with a newer version of Qt, and not require a
    rebuild on each Qt upgrade.
Comment 1 David GEIGER 2020-01-04 15:26:39 CET
Should be fixed with ktouch-19.04.0-1.1.mga7 and minuet-19.04.0-1.1.mga7 in Core/Updates_testing repo!

Please test.

CC: (none) => geiger.david68210

Comment 2 Lewis Smith 2020-01-04 21:35:01 CET
Yes, Rob, please do test these. It will help.
Looks like the result of a recent Qt update.

@DavidG: you have done it again! Fixes as soon as reported.
Assigning to QA as it is already in updates_testing. Use Rob's feedback if +ve.
Will need an advisory.

Assignee: bugsquad => qa-bugs

Comment 3 Rob Teng 2020-01-05 19:20:13 CET
Both programs work again!!
Thanks a lot, and a belated Happy New Year!
Comment 4 David GEIGER 2020-01-06 07:17:00 CET
Advisory:
========================

QML precompilation is supposed to improve application load time but as there’s no guaranteed ABI stability, it breaks the application when upgrading to a newer version of Qt.
See https://doc.qt.io/QtQuickCompiler/qquickcompiler-known-issues.html
This patches disables pre-compilation of QML files during package build to
avoid having to recompile ktouch and/or minuet for every new version of Qt. Compilation will be done automatically at runtime instead.

For reference:
https://phabricator.kde.org/D25774

========================

Packages in 7/core/updates_testing:
========================
ktouch-19.04.0-1.1.mga7.i586.rpm
ktouch-19.04.0-1.1.mga7.x86_64.rpm
ktouch-handbook-19.04.0-1.1.mga7.noarch.rpm

minuet-19.04.0-1.1.mga7.x86_64.rpm
lib64minuetinterfaces0-19.04.0-1.1.mga7.x86_64.rpm
lib64minuetinterfaces-devel-19.04.0-1.1.mga7.x86_64.rpm
minuet-19.04.0-1.1.mga7.i586.rpm
libminuetinterfaces0-19.04.0-1.1.mga7.i586.rpm
libminuetinterfaces-devel-19.04.0-1.1.mga7.i586.rpm

Source RPM: 
========================
ktouch-19.04.0-1.1.mga7.src.rpm
minuet-19.04.0-1.1.mga7.src.rpm
Comment 5 Thomas Andrews 2020-01-07 00:43:45 CET
Confirming problem and solution. OK for 64-bit.

Validating. Advisory in Comment 4.

CC: (none) => andrewsfarm, sysadmin-bugs
Whiteboard: (none) => MGA7-64-OK
Keywords: (none) => validated_update

Thomas Backlund 2020-01-07 21:34:25 CET

Keywords: (none) => advisory
CC: (none) => tmb

Comment 6 Mageia Robot 2020-01-07 22:21:16 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2020-0012.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.