Bug 13719 - Error in python-qt5 libraries
Summary: Error in python-qt5 libraries
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure advisory MGA4-32-OK MGA...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2014-07-10 20:37 CEST by papoteur
Modified: 2014-08-06 11:17 CEST (History)
2 users (show)

See Also:
Source RPM: python-qt5
CVE:
Status comment:


Attachments

Description papoteur 2014-07-10 20:37:52 CEST
First line of my application:
from PyQt5 import QtCore, QtGui, QtWidgets

pyuic5 gives the error:

ImportError: /usr/lib/python2.7/site-packages/PyQt5/QtWidgets.so: undefined symbol: _ZN12QColorDialog17mouseReleaseEventEP11QMouseEvent

After rebuilding the python-qt5 apckages and installing, all is OK.


Reproducible: 

Steps to Reproduce:
Comment 1 David Walser 2014-07-10 21:58:13 CEST
I submitted a rebuild to updates_testing.  Please test it when it's available.
Comment 2 papoteur 2014-07-12 09:06:55 CEST
After de-installing my own rpm the installing rpm from testing, all seems OK.
Arch:i586
Comment 3 David Walser 2014-07-12 16:00:27 CEST
Thanks for the report and the confirmation!

Advisory:
----------------------------------------

The python-qt5 package, which had been built against an older version of Qt5
during Mageia 4 development, was no longer working due to a binary
incompatibility.  This has been fixed by rebuilding it against the current
version of Qt5 in Mageia 4.

----------------------------------------
Updated packages in core/updates_testing:
----------------------------------------
python-qt5-5.1.1-1.1.mga4
python-qt5-core-5.1.1-1.1.mga4
python-qt5-dbus-5.1.1-1.1.mga4
python-qt5-gui-5.1.1-1.1.mga4
python-qt5-network-5.1.1-1.1.mga4
python-qt5-help-5.1.1-1.1.mga4
python-qt5-opengl-5.1.1-1.1.mga4
python-qt5-printsupport-5.1.1-1.1.mga4
python-qt5-qml-5.1.1-1.1.mga4
python-qt5-quick-5.1.1-1.1.mga4
python-qt5-multimedia-5.1.1-1.1.mga4
python-qt5-multimediawidgets-5.1.1-1.1.mga4
python-qt5-sql-5.1.1-1.1.mga4
python-qt5-svg-5.1.1-1.1.mga4
python-qt5-test-5.1.1-1.1.mga4
python-qt5-webkit-5.1.1-1.1.mga4
python-qt5-webkitwidgets-5.1.1-1.1.mga4
python-qt5-widgets-5.1.1-1.1.mga4
python-qt5-xmlpatterns-5.1.1-1.1.mga4
python-qt5-designer-5.1.1-1.1.mga4
python-qt5-devel-5.1.1-1.1.mga4
python-qt5-doc-5.1.1-1.1.mga4
python-qt5-examples-5.1.1-1.1.mga4

from python-qt5-5.1.1-1.1.mga4.src.rpm

Assignee: bugsquad => qa-bugs
Whiteboard: (none) => MGA4-32-OK

Comment 4 David GEIGER 2014-07-13 07:56:32 CEST
Tested mga4_64,

Testing complete for new rebuild of python-qt5-5.1.1-1.1.mga4, I confirm that the issue is fixed now.
 

Before:
$ python test_python-magic.py
Traceback (most recent call last):
  File "test_python-magic.py", line 3, in <module>
    from PyQt5 import QtCore, QtGui, QtWidgets
ImportError: /usr/lib64/python2.7/site-packages/PyQt5/QtWidgets.so: undefined symbol: _ZN12QColorDialog17mouseReleaseEventEP11QMouseEvent
$

-------------------------------------------------------------------
After:
$ python test_python-magic.py
$

-------------------------------------------------------------------
Test with a simple test scrypt called test_python-magic.py:

import os
import magic
from PyQt5 import QtCore, QtGui, QtWidgets
 
path = os.path.expanduser('~')
listing = os.listdir(path)
for infile in listing:
    ms = magic.open(magic.NONE)
    ms.load()
    tp = ms.file(os.path.join(path, infile))
    print (infile + " " + tp)

CC: (none) => geiger.david68210

David GEIGER 2014-07-13 07:56:48 CEST

Whiteboard: MGA4-32-OK => MGA4-32-OK MGA4-64-OK

Comment 5 claire robinson 2014-07-14 19:08:47 CEST
Validating. Advisory uploaded.

Could sysadmin please push to 4 updates

Thanks

Keywords: (none) => validated_update
Whiteboard: MGA4-32-OK MGA4-64-OK => has_procedure advisory MGA4-32-OK MGA4-64-OK
CC: (none) => sysadmin-bugs

Comment 6 Mageia Robot 2014-08-06 11:17:57 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2014-0152.html

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


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