Bug 1162415 - pkgconfig(QtOpenGL) being satisfied by qt4 devel
Summary: pkgconfig(QtOpenGL) being satisfied by qt4 devel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-qt5
Version: 21
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-11 04:01 UTC by Nathan Robertson
Modified: 2014-11-18 12:16 UTC (History)
3 users (show)

Fixed In Version: python-qt5-5.3.2-6.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-18 12:16:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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