Bug 1162415

Summary: pkgconfig(QtOpenGL) being satisfied by qt4 devel
Product: [Fedora] Fedora Reporter: Nathan Robertson <nathanr>
Component: python-qt5Assignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 21CC: kevin, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-qt5-5.3.2-6.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-18 12:16:34 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:

Description Nathan Robertson 2014-11-11 04:01:05 UTC
Description of problem:
In the spec file, it BuildRequires pkgconfig(QtOpenGL), which is being satisfied by qt-devel (ie. Qt4). I'm assuming this is an old dependency, and should be removed from the python-qt5 spec file.

[root@nathanr-centos7 SPECS]# rpm -q --whatprovides 'pkgconfig(QtOpenGL)'
qt-devel-4.8.5-8.el7.x86_64
[root@nathanr-centos7 SPECS]#

I only discovered this after installing a new machine without Qt4 on it, and with Qt5, then trying to recompile python-qt5.


Version-Release number of selected component (if applicable):
python-qt5-5.3.2-4


Additional info:
Here is the suggested patch:

[nathanr@centos7 SPECS]$ !diff
diff -u python-qt5.spec python-qt5.spec.orig 
--- python-qt5.spec	2014-11-11 14:55:42.992614523 +1100
+++ python-qt5.spec.orig	2014-11-11 14:55:24.215684218 +1100
@@ -38,7 +38,7 @@
 BuildRequires: pkgconfig(Qt5DBus) pkgconfig(Qt5Declarative)
 BuildRequires: pkgconfig(Qt5Designer)
 BuildRequires: pkgconfig(Qt5Gui) pkgconfig(Qt5Multimedia)
-BuildRequires: pkgconfig(Qt5Network)
+BuildRequires: pkgconfig(Qt5Network) pkgconfig(QtOpenGL)
 BuildRequires: pkgconfig(Qt5Positioning)
 BuildRequires: pkgconfig(Qt5Quick) pkgconfig(Qt5QuickWidgets)
 BuildRequires: pkgconfig(Qt5Script)
[nathanr@centos7 SPECS]$

Comment 1 Nathan Robertson 2014-11-11 04:02:06 UTC
I note all the other dependencies are pkgconfig(Qt5*). The pkgconfig(QtOpenGL) seems to stick out as an oversight.

Comment 2 Rex Dieter 2014-11-11 12:43:25 UTC
Yes, that's a typo, should be Qt5OpenGL

Comment 3 Fedora Update System 2014-11-11 14:05:24 UTC
python-qt5-5.3.2-5.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-qt5-5.3.2-5.fc21

Comment 4 Fedora Update System 2014-11-13 18:20:20 UTC
Package python-qt5-5.3.2-6.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-qt5-5.3.2-6.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14962/python-qt5-5.3.2-5.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-11-18 12:16:34 UTC
python-qt5-5.3.2-6.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.