Bug 2377057
| Summary: | urh fails to build with Cython 3.1.2 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Charalampos Stratakis <cstratak> |
| Component: | urh | Assignee: | Jaroslav Škarvada <jskarvad> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jskarvad |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | urh-2.9.8-7.fc43 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-08-07 00:22:27 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2365167 | ||
|
Description
Charalampos Stratakis
2025-07-08 03:14:05 UTC
It seems it now doesn't like this:
cdef chackrf.hackrf_device_list_t* device_list = chackrf.hackrf_device_list()
^
------------------------------------------------------------
src/urh/dev/native/lib/hackrf.pyx:55:83: Cannot assign type 'hackrf_device_list' to 'hackrf_device_list_t *'
It's defined the following way:
ctypedef struct hackrf_device_list:
char ** serial_numbers
hackrf_usb_board_id * usb_board_ids
int *usb_device_index
int devicecount
void ** usb_devices
int usb_devicecount
IMHO it's missing the implicit constructor. I checked the cython-3.1 changelog and I wasn't able to find anything related. How to write this now?
Maybe related? https://github.com/cython/cython/issues/6821 However I think just reporting to upstream should be sufficient for the time being. FEDORA-2025-a51326d153 (urh-2.9.8-7.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-a51326d153 FEDORA-2025-a51326d153 (urh-2.9.8-7.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. |