Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925168 - dev-python/pyside6[network] should depend on dev-qt/qtbase[ssl]
Summary: dev-python/pyside6[network] should depend on dev-qt/qtbase[ssl]
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: 2024-02-21 11:54 UTC by Vic Kerr (wikky)
Modified: 2024-02-27 11:53 UTC (History)
2 users (show)

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


Attachments
dev-python/pyside6: fix deps for USE=network (0001-dev-python-pyside6-fix-deps-for-USE-network.patch,1.55 KB, patch)
2024-02-21 15:28 UTC, Vic Kerr (wikky)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vic Kerr (wikky) 2024-02-21 11:54:31 UTC
Building dev-python/pyside6-6.6.2[network] against dev-qt/qtbase-6.6.2[-ssl,network] fails due to missing qsslellipticcurve_wrapper.cpp.

From PySide6 docs[0]: 
>This class is currently only supported in OpenSSL.

ninja: job failed: /usr/lib/llvm/17/bin/clang++-17 -DPy_LIMITED_API=0x03060000 -DQT_CORE_LIB -DQT_LEAN_HEADERS=1 -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQtNetwork_EXPORTS -I/mnt/scratch/portage/dev-python/pyside6-6.6.2/work/pyside-setup-everywhere-src-6.6.2/sources/pyside6/PySide6/QtNetwork/QtNetwork -I/mnt/scratch/portage/dev-python/pyside6-6.6.2/work/pyside-setup-everywhere-src-6.6.2/sources/pyside6/PySide6/QtNetwork -I/mnt/scratch/portage/dev-python/pyside6-6.6.2/work/pyside-setup-everywhere-src-6.6.2/sources/pyside6_build-python3_11/PySide6/QtNetwork -I/mnt/scratch/portage/dev-python/pyside6-6.6.2/work/pyside-setup-everywhere-src-6.6.2/sources/pyside6/libpyside -I/mnt/scratch/portage/dev-python/pyside6-6.6.2/work/pyside-setup-everywhere-src-6.6.2/sources/pyside6_build-python3_11/PySide6/QtCore/PySide6/QtCore -I/mnt/scratch/portage/dev-python/pyside6-6.6.2/work/pyside-setup-everywhere-src-6.6.2/sources/pyside6/PySide6 -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/include/qt6/QtNetwork -isystem /usr/lib/qt6/mkspecs/linux-clang -isystem /usr/include/shiboken6 -isystem /usr/include/python3.11  -march=native -O3 -flto=thin -g -Wall -Wextra -Wno-strict-aliasing -fvisibility=hidden -std=gnu++17 -fPIC   -fPIC -fPIC -MD -MT PySide6/QtNetwork/CMakeFiles/QtNetwork.dir/PySide6/QtNetwork/qsslellipticcurve_wrapper.cpp.o -MF PySide6/QtNetwork/CMakeFiles/QtNetwork.dir/PySide6/QtNetwork/qsslellipticcurve_wrapper.cpp.o.d -o PySide6/QtNetwork/CMakeFiles/QtNetwork.dir/PySide6/QtNetwork/qsslellipticcurve_wrapper.cpp.o -c /mnt/scratch/portage/dev-python/pyside6-6.6.2/work/pyside-setup-everywhere-src-6.6.2/sources/pyside6_build-python3_11/PySide6/QtNetwork/PySide6/QtNetwork/qsslellipticcurve_wrapper.cpp
clang++-17: error: no such file or directory: '/mnt/scratch/portage/dev-python/pyside6-6.6.2/work/pyside-setup-everywhere-src-6.6.2/sources/pyside6_build-python3_11/PySide6/QtNetwork/PySide6/QtNetwork/qsslellipticcurve_wrapper.cpp'

Indeed the file does not exist, unless dev-qt/qtbase-6.6.2[ssl,network] is installed.

[0] https://doc.qt.io/qtforpython-6.5/PySide6/QtNetwork/QSslEllipticCurve.html#detailed-description
Comment 1 Vic Kerr (wikky) 2024-02-21 15:28:23 UTC
Created attachment 885612 [details, diff]
dev-python/pyside6: fix deps for USE=network

Proposed fixes for both 6.6.1 and 6.6.2.
Comment 2 Larry the Git Cow gentoo-dev 2024-02-27 11:53:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c569f1de39b8eea2dc290396585f98b688741b2

commit 8c569f1de39b8eea2dc290396585f98b688741b2
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2024-02-27 11:52:33 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2024-02-27 11:53:07 +0000

    dev-python/pyside6: network should depend on ssl
    
    Closes: https://bugs.gentoo.org/925168
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-python/pyside6/{pyside6-6.6.2.ebuild => pyside6-6.6.2-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)