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
Created attachment 534040 [details] emerge--info.txt
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.
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)" ... )
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 ***