Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656870 - net-wireless/gnuradio-3.8.9999: grc is missing
Summary: net-wireless/gnuradio-3.8.9999: grc is missing
Status: RESOLVED DUPLICATE of bug 668440
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: 2018-05-29 20:01 UTC by Philipp Psurek
Modified: 2018-10-24 16:12 UTC (History)
1 user (show)

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


Attachments
net-wireless_gnuradio-3.8.9999.log.xz (net-wireless_gnuradio-3.8.9999.log.xz,102.82 KB, application/x-xz)
2018-05-29 20:01 UTC, Philipp Psurek
Details
emerge--info.txt (emerge--info.txt,9.06 KB, text/plain)
2018-05-29 20:02 UTC, Philipp Psurek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Psurek 2018-05-29 20:01:48 UTC
Created attachment 534038 [details]
net-wireless_gnuradio-3.8.9999.log.xz

I’m missing the Gnuradio Companion in this ebuild. There is /usr/share/applications/gnuradio-grc.desktop with “Exec=gnuradio-companion %F” but there is no grc installed.

# emerge -qpv net-wireless/gnuradio
[ebuild   R   ] net-wireless/gnuradio-3.8.9999  USE="alsa analog atsc audio channels digital dtv examples fcd fec filter grc log noaa pager performance-counters portaudio qt5 trellis utils vocoder wavelet wxwidgets zeromq -doc -jack -oss -sdl {-test} -uhd" PYTHON_TARGETS="python2_7" 

# equery f gnuradio | grep gnuradio-companion

# which gnuradio-companion
which: no gnuradio-companion in (/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin)

# gnuradio-config-info -v
d78f7fcd

# gnuradio-config-info --enabled-components
python-support;volk;gnuradio-runtime;gr-blocks;gr-fec;gr-fft;gr-filter;gr-analog;gr-digital;gr-dtv;gr-audio;* alsa;* oss;* portaudio;gr-channels;gr-qtgui;gr-trellis;gr-utils;gr-vocoder;* gsm;gr-wavelet;gr-zeromq


# eselect blas list
Installed BLAS for library directory lib64
  [1]   reference *

# eselect cblas list
Installed CBLAS for library directory lib64
  [1]   gsl *

# eselect lapack list
Installed LAPACK for library directory lib64
  [1]   reference *


___expected result:___
(smiler like in 3.7.11)

$ emerge -qvp gnuradio
[ebuild     R ] net-wireless/gnuradio-3.7.11 USE="alsa analog atsc audio channels digital dtv examples fcd fec filter grc noaa pager performance-counters qt4 sdl trellis utils vocoder wavelet wxwidgets zeromq -doc -jack -log -oss -portaudio {-test} -uhd" PYTHON_TARGETS="python2_7" 

$ gnuradio-config-info -v
3.7.11

$ gnuradio-config-info --enabled-components
python-support;volk;gnuradio-runtime;gr-blocks;gnuradio-companion;gr-fec;gr-fft;gr-filter;gr-analog;gr-digital;gr-dtv;gr-atsc;gr-audio;* alsa;* oss;gr-channels;gr-noaa;gr-pager;gr-qtgui;gr-trellis;gr-utils;gr-video-sdl;gr-vocoder;gr-fcd;gr-wavelet;gr-wxgui;gr-zeromq

$ which gnuradio-companion
/usr/bin/gnuradio-companion

$ equery f gnuradio | grep gnuradio-companion
/usr/bin/gnuradio-companion
Comment 1 Philipp Psurek 2018-05-29 20:02:34 UTC
Created attachment 534040 [details]
emerge--info.txt
Comment 2 Philipp Psurek 2018-07-03 14:06:01 UTC
because this bug has found no interest, I’ve downgraded back to 3.7.11-r3 and after applying the patch in #659946 to 3.7.13.3. I do not know if Gnuradio Companion is still missing so I close this bug and reopen it should I came back to 3.8.9999.
Comment 3 Serg Mir 2018-09-03 18:20:45 UTC
I've found the root cause: gnuradio build system expects the -DENABLE_* options to be set to ON/OFF, while currently used $(usex ...) returns yes/no by default.

Verified by forging a local gnuradio-3.7.13.4.ebuild fixed as follows (for every yes/no usex):
	mycmakeargs=(
	...
-		-DENABLE_GR_AUDIO_ALSA="$(usex alsa)"
-		-DENABLE_GR_ANALOG="$(usex analog)"
	...
+		-DENABLE_GR_AUDIO_ALSA="$(usex alsa ON OFF)"
+		-DENABLE_GR_ANALOG="$(usex analog ON OFF)"
	...
	)
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2018-10-24 16:12:43 UTC
I don't believe this is actually the issue as the current flags do work.  the main problem is that the upstream cmake file isn't fatal when it disables things the user specifically requests.

I've fix https://bugs.gentoo.org/show_bug.cgi?id=668440 so hopefully that will help.

Also 3.8.9999 is 9999 now, just fyi :-)

*** This bug has been marked as a duplicate of bug 668440 ***