Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704568 - net-wireless/gnuradio-3.7.13.5 USE="-grc uhd" - src_compile(): .../work/gnuradio-3.7.13.5/gr-uhd/grc/gen_uhd_usrp_blocks.py: .../work/gnuradio-3.7.13.5/gr-uhd/grc/gen_uhd_usrp_blocks.py: ImportError: No module named Cheetah
Summary: net-wireless/gnuradio-3.7.13.5 USE="-grc uhd" - src_compile(): .../work/gnura...
Status: RESOLVED OBSOLETE
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:
Depends on:
Blocks:
 
Reported: 2020-01-02 14:25 UTC by Jeroen Roovers (RETIRED)
Modified: 2020-12-17 16:57 UTC (History)
1 user (show)

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


Attachments
net-wireless:gnuradio-3.7.13.5:20200102-115258.log (net-wireless:gnuradio-3.7.13.5:20200102-115258.log.xz,58.42 KB, application/x-xz)
2020-01-02 14:25 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2020-01-02 14:25:49 UTC
Created attachment 602310 [details]
net-wireless:gnuradio-3.7.13.5:20200102-115258.log

[ 96%] Generating uhd_usrp_source.xml
cd /home/portage/net-wireless/gnuradio-3.7.13.5/work/gnuradio-3.7.13.5_build/gr-uhd/grc && /usr/bin/python2.7 /home/portage/net-wireless/gnuradio-3.7.13.5/work
/gnuradio-3.7.13.5/gr-uhd/grc/gen_uhd_usrp_blocks.py /home/portage/net-wireless/gnuradio-3.7.13.5/work/gnuradio-3.7.13.5_build/gr-uhd/grc/uhd_usrp_source.xml
Traceback (most recent call last):
  File "/home/portage/net-wireless/gnuradio-3.7.13.5/work/gnuradio-3.7.13.5/gr-uhd/grc/gen_uhd_usrp_blocks.py", line 696, in <module>
    params = ''.join([parse_tmpl(PARAMS_TMPL, n=n, sourk=sourk) for n in range(max_num_channels)])
  File "/home/portage/net-wireless/gnuradio-3.7.13.5/work/gnuradio-3.7.13.5/gr-uhd/grc/gen_uhd_usrp_blocks.py", line 679, in parse_tmpl
    from Cheetah import Template
ImportError: No module named Cheetah
make[2]: *** [gr-uhd/grc/CMakeFiles/uhd_grc_xml_blocks.dir/build.make:62: gr-uhd/grc/uhd_usrp_source.xml] Error 1
make[2]: Leaving directory '/home/portage/net-wireless/gnuradio-3.7.13.5/work/gnuradio-3.7.13.5_build'
make[1]: *** [CMakeFiles/Makefile2:8858: gr-uhd/grc/CMakeFiles/uhd_grc_xml_blocks.dir/all] Error 2
make[1]: Leaving directory '/home/portage/net-wireless/gnuradio-3.7.13.5/work/gnuradio-3.7.13.5_build'
make: *** [Makefile:163: all] Error 2
 * ERROR: net-wireless/gnuradio-3.7.13.5::gentoo failed (compile phase):
 *   emake failed
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2020-01-28 22:40:51 UTC
Seems that uhd also needs dev-python/cheetah through some grc components that get built even if grc is disabled, but doesn't even check in cmake for it.
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2020-12-17 16:57:36 UTC
this should be obsolete now