Number: 59348
Category: pkg
Synopsis: ham/gr-osmosdr 2025Q1 does not work
Confidential: no
Severity: serious
Priority: medium
Responsible: pkg-manager
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Wed Apr 23 17:50:00 +0000 2025
Originator: Ramiro Aceves
Release: NetBSD-10.1
Organization:
Environment:
NetBSD netbsd-raspa4 10.1 NetBSD 10.1 (GENERIC64) #0: Mon Dec 16 13:08:11 UTC 2024 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
Description:
when importing osmosdr python module it errors this way:
netbsd-raspa4$ python3.12
Python 3.12.9 (main, Apr 9 2025, 22:07:35) [GCC 10.5.0] on netbsd10
Type "help", "copyright", "credits" or "license" for more information.
import osmosdr
Traceback (most recent call last):
File "/usr/pkg/lib/python3.12/site-packages/osmosdr/__init__.py", line 17, in <module>
from .osmosdr_python import *
ImportError: generic_type: type "sink" referenced unknown base type "gr::hier_block2"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/pkg/lib/python3.12/site-packages/osmosdr/__init__.py", line 21, in <module>
from .osmosdr_python import *
ImportError: generic_type: type "sink" referenced unknown base type "gr::hier_block2"
netbsd-raspa4$
netbsd-raspa4$ pkgin list|grep gr-osmosdr
gr-osmosdr-0.2.6nb5 SDR Hardware support for OsmoSDR and so many more
2024Q4 worked fine.Same issue in amd64 systems.
How-To-Repeat:
import osmosdr under python3.12
Fix: