Bug 2158666 - Please branch and build python-pyqt6 in epel9
Summary: Please branch and build python-pyqt6 in epel9
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-pyqt6
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Onuralp SEZER
QA Contact:
URL:
Whiteboard:
Depends On: 2231773
Blocks: 2092182 2169513
TreeView+ depends on / blocked
 
Reported: 2023-01-06 02:44 UTC by Jonathan Wright
Modified: 2024-05-08 01:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHEL-4159 0 None None None 2023-10-04 02:51:30 UTC

Description Jonathan Wright 2023-01-06 02:44:14 UTC
Please branch and build python-pyqt6 in epel9.

If you do not wish to maintain python-pyqt6 in epel9,
or do not think you will be able to do this in a timely manner,
the EPEL Packagers SIG would be happy to be a co-maintainer of the package;
please add the epel-packagers-sig group through
https://src.fedoraproject.org/rpms/python-pyqt6/addgroup
and grant it commit access, or collaborator access on epel* branches.

I would also be happy to be a co-maintainer (FAS: jonathanspw).

I can be the primary contact for EPEL (FAS: jonathanspw).

Comment 2 Onuralp Sezer 2023-01-06 09:06:22 UTC
I added both username and group for commit and thank you for offering help as well :) 

jonathanspw (commit)
epel-packagers-sig (commit)

Welcome aboard :)

Comment 3 Fedora Admin user for bugzilla script actions 2023-01-10 13:36:47 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 4 Ben Cotton 2023-02-07 15:04:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 5 Orion Poplawski 2023-12-02 15:33:04 UTC
We're waiting for dbus-python-devel to land in EL9.  It's in CS9 now so I've submitted https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-NEXT-2023-2630d1c469

Comment 6 Aoife Moloney 2024-05-07 15:54:58 UTC
This message is a reminder that Fedora Linux 38 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '38'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 38 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 7 Orion Poplawski 2024-05-07 23:34:01 UTC
Well, I had managed to build this earlier I think, but now I'm getting:

sip-build: '13.6' is not a supported ABI version

Not sure where to start with that.

Comment 8 Orion Poplawski 2024-05-07 23:55:02 UTC
Well, that's with 6.6.0, which I think is too new.  If I stick with 6.5.2 (ABI 13.4), then I'm getting:

g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection `pkg-config --cflags dbus-python` -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC -DPy_LIMITED_API=0x03070000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/python3.9 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSql -I/usr/include/qt6/QtCore -I. -I/usr/lib64/qt6/mkspecs/linux-g++ -o sipQtSqlQSqlResult.o sipQtSqlQSqlResult.cpp
make[1]: Leaving directory '/builddir/build/BUILD/PyQt6-6.5.2/build/QtSql'
/builddir/build/BUILD/PyQt6-6.5.2/build/QtSql/sipQtSqlQSqlResult.cpp: In function 'PyObject* meth_QSqlResult_boundValues(PyObject*, PyObject*)':
/builddir/build/BUILD/PyQt6-6.5.2/build/QtSql/sipQtSqlQSqlResult.cpp:1201:42: error: taking address of rvalue [-fpermissive]
 1201 |             sipRes = &sipCpp->boundValues();
      |                       ~~~~~~~~~~~~~~~~~~~^~

Comment 9 Orion Poplawski 2024-05-08 01:25:31 UTC
Tried building with -fpermissive but then:

g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection `pkg-config --cflags dbus-python` -fpermissive -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC -DPy_LIMITED_API=0x03070000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/python3.9 -I/usr/include/qt6 -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtBluetooth -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtDBus -I/usr/include/qt6/QtCore -I. -I/usr/lib64/qt6/mkspecs/linux-g++ -o sipQtBluetoothquint128.o sipQtBluetoothquint128.cpp
make[1]: Leaving directory '/builddir/build/BUILD/PyQt6-6.5.2/build/QtBluetooth'
/builddir/build/BUILD/PyQt6-6.5.2/sip/QtBluetooth/qpybluetooth_quint128.sip: In function 'int convertTo_quint128(PyObject*, void**, int*, PyObject*, void**)':
/builddir/build/BUILD/PyQt6-6.5.2/sip/QtBluetooth/qpybluetooth_quint128.sip:104:13: error: request for member 'data' in '* qv', which is of non-class type 'quint128' {aka '__int128 unsigned'}
  104 |         qv->data[i] = val;
      |             ^~~~
/builddir/build/BUILD/PyQt6-6.5.2/sip/QtBluetooth/qpybluetooth_quint128.sip: In function 'PyObject* convertFrom_quint128(void*, PyObject*)':
/builddir/build/BUILD/PyQt6-6.5.2/sip/QtBluetooth/qpybluetooth_quint128.sip:39:58: error: request for member 'data' in '* sipCpp', which is of non-class type 'quint128' {aka '__int128 unsigned'}
   39 |         PyObject *pobj = PyLong_FromUnsignedLong(sipCpp->data[i]);
      |                                                          ^~~~


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