Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915587 - dev-python/pyside6-6.6.0, dev-python/pyside6-tools-6.6.0: version bump
Summary: dev-python/pyside6-6.6.0, dev-python/pyside6-tools-6.6.0: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Nowa Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-11 09:59 UTC by Sam James
Modified: 2023-10-18 12:45 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-11 09:59:29 UTC
Thanks.

These pinned deps are really harsh on users, can we loosen them a bit (or bump with the rest of Qt)?
Comment 1 Ionen Wolkens gentoo-dev 2023-10-11 10:16:53 UTC
>or bump with the rest of Qt
That would require waiting to bump Qt, PySide6-6.5.3 was released ~12 days after Qt6.5.3, and PySide6-6.6.0 is not released yet.

Don't really know PySide6, but PyQt6 typically works with newer versions, at worse need to do an *occasional* small fix here and there like it did for 6.6 (albeit more annoying given unlike PySide6 there is no public git repo to backport fixes from, at best may be handed out a dev snapshot at times).

PySide6-6.5.2 could have worked 6.5.3 with a small backport (bug #914919 comment #9), and fixes may not be something that's needed every minor release but I'll defer to Andrew to handle as see fit.

May also be annoying next time get a security point release and PySide6 is blocking updates+cleanup. Thankfully 6.5.2 had its CVE patched and is not more affected than 6.5.3 or 6.6.0 currently.
Comment 2 Andrew Nowa Ammerlaan gentoo-dev 2023-10-11 13:30:37 UTC
(In reply to Sam James from comment #0)
> These pinned deps are really harsh on users, can we loosen them a bit (or
> bump with the rest of Qt)?

The thing is that pyside/shiboken breaks very often when mismatching the versions. Backporting the fixes is rather time consuming, plus pyside is extremely fragile. I'm really struggling with fixing all the problems with this package in a timely manor, and I'd rather not make it more complicated then it has to be.

I agree the impact of the pinning is high, but the number of packages actually depending on pyside is low, freecad and falkon are the major ones but that is only two.
Comment 3 Andrew Nowa Ammerlaan gentoo-dev 2023-10-11 13:35:22 UTC
Actually, there is no 6.6.0 release for pyside/shiboken yet: 
https://download.qt.io/official_releases/QtForPython/pyside6/

Even before the pinning change portage would have prevented this upgrade. Before we depended on ver_cut 1-2, now we depend on ver_cut 1-3.
Comment 4 Ionen Wolkens gentoo-dev 2023-10-18 03:07:59 UTC
ftr 6.6.0 was released today
Comment 5 Larry the Git Cow gentoo-dev 2023-10-18 08:54:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe54a63feb5b680492c25c1d51f27c21aaf6c83

commit 4fe54a63feb5b680492c25c1d51f27c21aaf6c83
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-10-18 08:54:27 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-10-18 08:54:38 +0000

    dev-python/pyside6-tools: add 6.6.0
    
    Bug: https://bugs.gentoo.org/915587
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-python/pyside6-tools/Manifest                  |  1 +
 .../pyside6-tools/pyside6-tools-6.6.0.ebuild       | 64 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5236ba6b346d7a9966c478eecf8725d533d813b6

commit 5236ba6b346d7a9966c478eecf8725d533d813b6
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-10-18 08:54:12 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-10-18 08:54:37 +0000

    dev-python/pyside6: add 6.6.0
    
    Bug: https://bugs.gentoo.org/915587
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-python/pyside6/Manifest                        |   1 +
 .../pyside6-6.6.0-fix-qtasyncio-install-dir.patch  |  10 +
 .../files/pyside6-6.6.0-no-qtexampleicons.patch    |  10 +
 dev-python/pyside6/pyside6-6.6.0.ebuild            | 232 +++++++++++++++++++++
 4 files changed, 253 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66ec6b6dd842ef60a088d2664198f77a391fdc78

commit 66ec6b6dd842ef60a088d2664198f77a391fdc78
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-10-18 08:53:42 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-10-18 08:54:36 +0000

    dev-python/shiboken6: add 6.6.0
    
    Bug: https://bugs.gentoo.org/915587
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-python/shiboken6/Manifest               |   1 +
 dev-python/shiboken6/shiboken6-6.6.0.ebuild | 176 ++++++++++++++++++++++++++++
 2 files changed, 177 insertions(+)
Comment 6 Andrew Nowa Ammerlaan gentoo-dev 2023-10-18 08:55:58 UTC
I'm running into what looks like a problem with dev-qt/qtbase cmake files:

CMake Error at /usr/lib64/cmake/Qt6ExampleIconsPrivate/Qt6ExampleIconsPrivateTargets.cmake:115 (message):
The imported target "Qt6::ExampleIconsPrivate_resources_1" references the
file

"/usr/lib64/objects-RelWithDebInfo/ExampleIconsPrivate_resources_1/.rcc/qrc_example_icons.cpp.o"

but this file does not exist.  Possible reasons include:

* The file was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and contained

"/usr/lib64/cmake/Qt6ExampleIconsPrivate/Qt6ExampleIconsPrivateTargets.cmake"

but not all the files it references.

Call Stack (most recent call first):
/usr/lib64/cmake/Qt6ExampleIconsPrivate/Qt6ExampleIconsPrivateConfig.cmake:62 (include)
/usr/lib64/cmake/Qt6/Qt6Config.cmake:166 (find_package)
qtexampleicons/CMakeLists.txt:15 (find_package)

The referenced file is not present on my system with:

[I] dev-qt/qtbase
Available versions:  (6) 6.5.2-r2(6/6.5)^t{gpkg:2} (~)6.5.3(6/6.5.3)^t{gpkg} (~)6.6.0(6/6.6.0)^t{gpkg} **6.6.9999(6/6.6.9999)*l^t **6.9999(6/6.9999)*l^t
{+X accessibility brotli +concurrent cups +dbus eglfs evdev gles2-only gssapi gtk +gui icu +libinput libproxy mysql +network nls oci8 odbc opengl postgres renderdoc sctp +sql +sqlite +ssl test tslib +udev vulkan wayland +widgets +xml zstd}
Installed versions:  6.6.0(6/6.6.0)^t{gpkg}(16:29:00 11/10/23)(X accessibility concurrent cups dbus gssapi gtk gui icu libinput network nls opengl sql sqlite ssl udev vulkan wayland widgets xml zstd -brotli -eglfs -evdev -gles2-only -libproxy -mysql -oci8 -odbc -postgres -sctp -test -tslib)
Homepage:            https://www.qt.io/
Description:         Cross-platform application development framework


Solved it for now by removing the qtexampleicons module in pyside, this is new so I doubt anything relies on it at the moment.
Comment 7 Ionen Wolkens gentoo-dev 2023-10-18 12:45:36 UTC
"/usr/lib64/objects-RelWithDebInfo/ExampleIconsPrivate_resources_1/.rcc/qrc_example_icons.cpp.o"

Yeah, these been intentionally deleted. If *actually* needed guess will need to find a way to at least move them under qt6/ given it looks just like badly installed build artifacts to me.