Source: gr-osmosdr
Version: 0.2.6-5
Severity: serious
Tags: patch

https://ci.debian.net/packages/g/gr-osmosdr/testing/amd64/68770641/

...
 67s Testing python3.14 ...
 67s Traceback (most recent call last):
 67s   File "/usr/lib/python3/dist-packages/gnuradio/gr/__init__.py", line 26, 
in <module>
 67s     from .gr_python import *
 67s ModuleNotFoundError: No module named 'gnuradio.gr.gr_python'
 67s 
 67s During handling of the above exception, another exception occurred:
 67s 
 67s Traceback (most recent call last):
 67s   File "<string>", line 1, in <module>
 67s     import gnuradio, gnuradio.gr, osmosdr; print(osmosdr)
 67s     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 67s   File "/usr/lib/python3/dist-packages/gnuradio/gr/__init__.py", line 30, 
in <module>
 67s     from .gr_python import *
 67s ModuleNotFoundError: No module named 'gnuradio.gr.gr_python'
 67s autopkgtest [10:22:33]: test python: -----------------------]
 68s autopkgtest [10:22:34]: test python:  - - - - - - - - - - results - - - - 
- - - - - -
 68s python               FAIL non-zero exit status 1
...


After fixing this, another failure appears:
  python               FAIL stderr: CPU Features: SSE2+ SSE4.1+ AVX+ FMA+


The following patch fixes both:

diff -Nru gr-osmosdr-0.2.6/debian/tests/control 
gr-osmosdr-0.2.6/debian/tests/control
--- gr-osmosdr-0.2.6/debian/tests/control       2025-10-16 18:34:43.000000000 
+0300
+++ gr-osmosdr-0.2.6/debian/tests/control       2026-02-12 05:28:25.000000000 
+0200
@@ -1,3 +1,3 @@
 Tests: python
-Depends: gnuradio, gr-osmosdr, python3-all
-Restrictions: superficial
+Depends: gnuradio, gr-osmosdr, python3
+Restrictions: superficial, stderr
diff -Nru gr-osmosdr-0.2.6/debian/tests/python 
gr-osmosdr-0.2.6/debian/tests/python
--- gr-osmosdr-0.2.6/debian/tests/python        2025-10-16 18:39:49.000000000 
+0300
+++ gr-osmosdr-0.2.6/debian/tests/python        2026-02-12 05:28:25.000000000 
+0200
@@ -2,7 +2,7 @@
 
 set -eu
 
-for python in $(py3versions -s); do
+for python in $(py3versions -d); do
   echo "Testing $python ..."
   $python -c 'import gnuradio, gnuradio.gr, osmosdr; print(osmosdr)'
 done

Reply via email to