Whin I emerge net-wireless/gnuradio using these flags, I got a compile error. USE="alsa analog audio digital filter qt5 sdl utils -channels -doc -dtv -examples -fec -grc -jack -modtool -oss -performance-counters -portaudio -test -trellis -uhd -vocoder -wavelet -zeromq" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8" The error is: /var/tmp/portage/net-wireless/gnuradio-3.8.2.0/work/gnuradio-3.8.2.0/gr-uhd/lib/usrp_block_impl.cc: In member function ‘bool gr::uhd::usrp_block_impl::_check_mboard_sensors_locked()’: /var/tmp/portage/net-wireless/gnuradio-3.8.2.0/work/gnuradio-3.8.2.0/gr-uhd/lib/usrp_block_impl.cc:266:64: error: ‘_1’ was not declared in this scope 266 | &usrp_block_impl::get_mboard_sensor, this, _1, mboard_index))) { | Reproducible: Always Steps to Reproduce: 1. use alsa analog audio digital filter qt5 sdl utils 2. set gcc 10.2.0 as default compiler 3. install dev-libs/boost-1.74.0-r1 Actual Results: emerge failed with error: ‘_1’ was not declared in this scope Expected Results: emerge success A patch may needed in the ebuild to fix this issue.
Created attachment 668564 [details] build.log The build log
Created attachment 668567 [details] emerge --info =net-wireless/gnuradio-3.8.2.0
It may related to boost >= 1.73: `_1` placeholders not globally defined
Created attachment 668573 [details, diff] the patch which could fix this issue I've tested this patch and it works and this issue will fixed after applied this patch.
Patch have PR to upstream https://github.com/gnuradio/gnuradio/pull/3887
Apprently fixed upstream? https://github.com/gnuradio/gnuradio/pull/3887#issuecomment-718867290
(In reply to Sam James from comment #6) > Apprently fixed upstream? > https://github.com/gnuradio/gnuradio/pull/3887#issuecomment-718867290 No, need more fix. This a new issue.
I dropped the accepted upstream fix in the tree. I wish they would make a release for this, but they didn't. Fixed inline as it's a build time fix.
(In reply to Rick Farina (Zero_Chaos) from comment #8) > I dropped the accepted upstream fix in the tree. I wish they would make a > release for this, but they didn't. Fixed inline as it's a build time fix. Thank you. https://github.com/gnuradio/gnuradio/pull/3887 The PR is changed and finally merged, will in 3.9 release. Backport to 3.8 PR: https://github.com/gnuradio/gnuradio/pull/4005