Bug 1761130

Summary: calibre needs rebuild/update against Qt 5.12.5
Product: [Fedora] Fedora Reporter: Donald O'Dona <thomas.paulsen>
Component: calibreAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 30CC: andrew.kavalov, chkr, danielsun3164, helio, jgrulich, jreznik, kde-sig, kevin, lantw44, mstuff, nushio, rdieter, than, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: calibre-3.36.0-9.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-16 16:43:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dnf log none

Description Donald O'Dona 2019-10-12 18:18:58 UTC
Created attachment 1625084 [details]
dnf log

Description of problem:
qt5 packages with conflicts

Version-Release number of selected component (if applicable):
qt5-qtbase-5.12.5-1.fc30.x86_64

How reproducible:
dnf upgrade

Steps to Reproduce:
1.
dnf upgrade
2.
see attachment
3.

Actual results:
dosn't install

Expected results:
installs

Additional info:
see attachment

Comment 1 Rex Dieter 2019-10-12 18:40:45 UTC
Looks like we missed including a rebuilt calibre

Comment 2 Donald O'Dona 2019-10-12 19:02:20 UTC
some more problem:
dnf install qt5ct > /tmp/xxx :

 Problem: problem with installed package calibre-3.36.0-8.fc30.x86_64
  - package calibre-3.36.0-8.fc30.x86_64 requires libQt5Core.so.5(Qt_5.12.4_PRIVATE_API)(64bit), but none of the providers can be installed
  - package calibre-3.36.0-8.fc30.x86_64 requires qt5-qtbase(x86-64) = 5.12.4, but none of the providers can be installed
  - package calibre-3.36.0-4.fc30.x86_64 requires qt5-qtbase(x86-64) = 5.12.1, but none of the providers can be installed
  - package calibre-3.36.0-4.fc30.x86_64 requires libQt5Core.so.5(Qt_5.12.1_PRIVATE_API)(64bit), but none of the providers can be installed
  - cannot install both qt5-qtbase-5.12.5-1.fc30.x86_64 and qt5-qtbase-5.12.4-4.fc30.x86_64
  - cannot install both qt5-qtbase-5.12.1-2.fc30.x86_64 and qt5-qtbase-5.12.5-1.fc30.x86_64
  - package qt5ct-0.38-5.fc30.x86_64 requires qt5-qtbase(x86-64) = 5.12.5, but none of the providers can be installed
  - cannot install the best candidate for the job
Operation aborted.

Comment 3 Donald O'Dona 2019-10-12 19:05:05 UTC
certainly unrelated to calibre:

dnf install qt5-qtbase-private-devel

Last metadata expiration check: 0:04:14 ago on Sat 12 Oct 2019 08:59:41 PM CEST.
Error: 
 Problem: package qt5-qtbase-private-devel-5.12.5-1.fc30.i686 requires qt5-qtbase-devel(x86-32) = 5.12.5-1.fc30, but none of the providers can be installed
  - conflicting requests
  - qt5-qtbase-devel-5.12.5-1.fc30.i686 has inferior architecture
  - package qt5-qtbase-private-devel-5.12.5-1.fc30.x86_64 requires qt5-qtbase-devel(x86-64) = 5.12.5-1.fc30, but none of the providers can be installed
  - package qt5-qtbase-devel-5.12.5-1.fc30.x86_64 requires libQt5DBus.so.5(Qt_5.12.5_PRIVATE_API)(64bit), but none of the providers can be installed
  - package qt5-qtbase-devel-5.12.5-1.fc30.x86_64 requires qt5-qtbase(x86-64) = 5.12.5-1.fc30, but none of the providers can be installed
  - problem with installed package calibre-3.36.0-8.fc30.x86_64
  - package calibre-3.36.0-8.fc30.x86_64 requires libQt5Core.so.5(Qt_5.12.4_PRIVATE_API)(64bit), but none of the providers can be installed
  - package calibre-3.36.0-8.fc30.x86_64 requires qt5-qtbase(x86-64) = 5.12.4, but none of the providers can be installed
  - package calibre-3.36.0-4.fc30.x86_64 requires qt5-qtbase(x86-64) = 5.12.1, but none of the providers can be installed
  - package calibre-3.36.0-4.fc30.x86_64 requires libQt5Core.so.5(Qt_5.12.1_PRIVATE_API)(64bit), but none of the providers can be installed
  - cannot install both qt5-qtbase-5.12.5-1.fc30.x86_64 and qt5-qtbase-5.12.4-4.fc30.x86_64
  - cannot install both qt5-qtbase-5.12.1-2.fc30.x86_64 and qt5-qtbase-5.12.5-1.fc30.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

Comment 4 Donald O'Dona 2019-10-12 19:08:09 UTC
try 'make' qt5ct:

In file included from qt5ctplatformtheme.cpp:54:
/usr/include/qt5/QtThemeSupport/5.12.4/QtThemeSupport/private/qdbustrayicon_p.h:55:10: fatal error: QtGui/private/qtguiglobal_p.h: No such file or directory
   55 | #include <QtGui/private/qtguiglobal_p.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Comment 5 Fedora Update System 2019-10-13 17:34:47 UTC
FEDORA-2019-a4aa28b798 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-a4aa28b798

Comment 6 Fedora Update System 2019-10-13 17:34:47 UTC
FEDORA-2019-a4aa28b798 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-a4aa28b798

Comment 7 Rex Dieter 2019-10-13 17:37:24 UTC
OK, multiple issues, I'll look at qt5ct too

Comment 8 Rex Dieter 2019-10-13 17:39:28 UTC
qt5ct-0.38-5.fc30 installs ok for me as part of the Qt 5.12.5 mega update (your core problem was that calibre was holding things back).

Comment 9 Fedora Update System 2019-10-13 18:21:10 UTC
FEDORA-2019-a4aa28b798 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-a4aa28b798

Comment 10 Donald O'Dona 2019-10-13 19:54:16 UTC
meanwhile I removed all the qt*-devel packages, and and the error rep of an dnf update making clear that calibre (certainly more apps) running with qt5-qtbase-5.12.4 whereas we are already at qt5-qtbase-5.12.5.


Dependencies resolved.

 Problem 1: cannot install both qt5-qtbase-5.12.5-1.fc30.x86_64 and qt5-qtbase-5.12.4-4.fc30.x86_64
  - package calibre-3.36.0-8.fc30.x86_64 requires libQt5Core.so.5(Qt_5.12.4_PRIVATE_API)(64bit), but none of the providers can be installed
  - package calibre-3.36.0-8.fc30.x86_64 requires qt5-qtbase(x86-64) = 5.12.4, but none of the providers can be installed
  - cannot install the best update candidate for package qt5-qtbase-5.12.4-4.fc30.x86_64
  - cannot install the best update candidate for package calibre-3.36.0-8.fc30.x86_64
 Problem 2: problem with installed package calibre-3.36.0-8.fc30.x86_64
  - package calibre-3.36.0-8.fc30.x86_64 requires libQt5Gui.so.5(Qt_5.12.4_PRIVATE_API)(64bit), but none of the providers can be installed
  - cannot install both qt5-qtbase-gui-5.12.5-1.fc30.x86_64 and qt5-qtbase-gui-5.12.4-4.fc30.x86_64
  - cannot install the best update candidate for package qt5-qtbase-gui-5.12.4-4.fc30.x86_64
================================================================================================================================================================================================================================================ Package                                                       Architecture                                          Version                                                       Repository                                              Size
================================================================================================================================================================================================================================================Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 qt5-qtbase                                                    x86_64                                                5.12.5-1.fc30                                                 updates                                                3.5 M
 qt5-qtbase-gui                                                x86_64                                                5.12.5-1.fc30                                                 updates                                                6.0 M

Comment 11 Zbigniew Jędrzejewski-Szmek 2019-10-14 05:53:06 UTC
@Donald: you need calibre-3.36.0-9.fc30. It is in the update linked above, that that hasn't been pushed out yet.

Comment 12 Fedora Update System 2019-10-14 17:04:38 UTC
calibre-3.36.0-9.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-a4aa28b798

Comment 13 Kevin Fenzi 2019-10-14 19:24:27 UTC
*** Bug 1761551 has been marked as a duplicate of this bug. ***

Comment 14 Donald O'Dona 2019-10-14 19:54:57 UTC
it 'works' that way:

dnf config-manager --set-enabled updates-testing
dnf upgrade calibre
dnf config-manager --set-disabled updates-testing

anyhow, upgrading from updates-testing can't be the solution. calibre-3.36.0-9.fc30 must become available via regular dnf updates.

Comment 15 Kevin Fenzi 2019-10-14 20:14:36 UTC
(In reply to Donald O'Dona from comment #14)
> it 'works' that way:
> 
> dnf config-manager --set-enabled updates-testing
> dnf upgrade calibre
> dnf config-manager --set-disabled updates-testing
> 
> anyhow, upgrading from updates-testing can't be the solution.
> calibre-3.36.0-9.fc30 must become available via regular dnf updates.

And it will, once it's gotten enough testing... :)

Comment 16 Donald O'Dona 2019-10-14 20:48:30 UTC
I tested it for good ;-)

Comment 17 Donald O'Dona 2019-10-15 08:32:08 UTC
I tested the qt*-devel packages too, and built qt5ct version 0.42  successful(invocation performs much faster than official release). 

Thus no known conflict between qt5-qtbase-5.12.5-1.fc30.x86_64 and the qt*-devel packages. 

Thanks a lot RH people!

Comment 18 Kevin Fenzi 2019-10-15 19:36:53 UTC
*** Bug 1761265 has been marked as a duplicate of this bug. ***

Comment 19 Fedora Update System 2019-10-16 16:43:31 UTC
calibre-3.36.0-9.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.