https://bugs.kde.org/show_bug.cgi?id=521056

            Bug ID: 521056
           Summary: python3-pyqt6 stuck at 6.10.0 while Neon ships
                    Qt6/PySide6 6.11.1 - PyQt6.QtMultimedia fails
                    (undefined symbol)
    Classification: KDE Neon
           Product: neon
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Packages User Edition
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

Created attachment 192878
  --> https://bugs.kde.org/attachment.cgi?id=192878&action=edit
apt policy + repro on Neon User Edition

DESCRIPTION
On KDE Neon User Edition, Qt6 and PySide6 are at 6.11.1 but python3-pyqt6 is
frozen at 6.10.0 (a Neon build, +build3 — not the Ubuntu package, just not
bumped to 6.11.x). PyQt6 therefore lags one minor version behind the shipped
Qt, so importing PyQt6.QtMultimedia fails with an undefined symbol. The PySide6
equivalent works, because it is kept aligned with Qt.


STEPS TO REPRODUCE
1. On a stock KDE Neon User Edition: python3 -c "from PyQt6 import
QtMultimedia"
2. Compare: python3 -c "from PySide6 import QtMultimedia; print('ok')"
3. Check versions: apt policy python3-pyqt6 python3-pyside6.qtmultimedia
qt6-multimedia


OBSERVED RESULT
PyQt6.QtMultimedia fails to import:

  ImportError: /usr/lib/python3/dist-packages/PyQt6/QtMultimedia.abi3.so:
undefined symbol: _Zls6QDebugN17QVideoFrameFormat11PixelFormatE, version Qt_6

(the symbol demangles to: operator<<(QDebug, QVideoFrameFormat::PixelFormat) —
present in libQt6Multimedia.so.6.11.1, but PyQt6 6.10.0 was built against the
6.10 ABI.)

PySide6.QtMultimedia imports fine ("ok").

Installed versions:
  qt6-multimedia                 6.11.1-0zneon+24.04+noble+release+build55
  python3-pyside6.qtmultimedia   6.11.1-0zneon+24.04+noble+release+build87
  python3-pyqt6                  6.10.0-1+24.04+noble+release+build3
`apt full-upgrade` does not help (no 6.11.x build of python3-pyqt6 in
archive.neon.kde.org/user).


EXPECTED RESULT
PyQt6.QtMultimedia imports without error (as PySide6.QtMultimedia does), i.e.
python3-pyqt6 is built at 6.11.x to match the shipped Qt 6.11.1.


SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
Kernel: 6.17.0-35-generic (64-bit)


ADDITIONAL INFORMATION
Any PyQt6 application that uses QtMultimedia is broken on Neon, while the
PySide6 equivalents work. Example: Dictée
(https://github.com/rcspam/dictee/issues/13) had to disable its in-app audio
(player + microphone level meter) on Neon as a workaround.

Request: build python3-pyqt6 6.11.x against Neon's Qt 6.11.1 (as is already
done for PySide6), so PyQt6 stays version-aligned with the shipped Qt — or
document the gap.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to