Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932122 - net-wireless/gnuradio-3.10.9.2-r2 fails tests: ImportError: cannot import name 'channels' from 'gnuradio'
Summary: net-wireless/gnuradio-3.10.9.2-r2 fails tests: ImportError: cannot import nam...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Radio project
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-05-17 23:07 UTC by matoro
Modified: 2024-05-30 06:23 UTC (History)
4 users (show)

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


Attachments
build.log and emerge --info (build.log.gz,76.53 KB, application/gzip)
2024-05-17 23:08 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-05-17 23:07:34 UTC
All failures are the same issue:

198/219 Test #203: qa_ofdm_txrx .................................***Failed    0.21 sec
Traceback (most recent call last):
  File "/var/tmp/portage/net-wireless/gnuradio-3.10.9.2-r2/work/gnuradio-3.10.9.2/gr-digital/python/digital/qa_ofdm_txrx.py", line 19, in <module>
    from gnuradio import channels
ImportError: cannot import name 'channels' from 'gnuradio' (/var/tmp/portage/net-wireless/gnuradio-3.10.9.2-r2/work/gnuradio-3.10.9.2_build/gnuradio-runtime/python/gnuradio/__init__.pyc)

Reproducible: Always
Comment 1 matoro archtester 2024-05-17 23:08:25 UTC
Created attachment 893192 [details]
build.log and emerge --info
Comment 2 Thomas Beierlein gentoo-dev 2024-05-29 12:56:09 UTC
Can you please retest with USE=channels set? I assume that the according components are missing.

Thanks.
Comment 3 matoro archtester 2024-05-29 16:07:10 UTC
(In reply to Thomas Beierlein from comment #2)
> Can you please retest with USE=channels set? I assume that the according
> components are missing.
> 
> Thanks.

Yes, passes with USE=channels.  Please add REQUIRED_USE="test? ( channels )"
Comment 4 Larry the Git Cow gentoo-dev 2024-05-30 06:23:10 UTC
The bug has been closed via the following commit(s):

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

commit e8fec89cedf7a3176f4d31f53ba76c780eea93e4
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2024-05-30 06:21:54 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2024-05-30 06:21:54 +0000

    net-wireless/gnuradio: Extend REQUIRED_USE for USE=test
    
    Closes: https://bugs.gentoo.org/932122
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 net-wireless/gnuradio/gnuradio-3.10.9.2-r3.ebuild | 1 +
 1 file changed, 1 insertion(+)