Skip to contentSkip to conversation

package/gr-osmosdr: fix dependencies

PATCH Superseded Gwenhael Goavec-Merou 2 participants 2 messages Feb 5, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gr-osmosdr: fix dependencies

From: Gwenhael Goavec-Merou <[email protected]>

gr-osmosdr fails with:
CMake Error at /somewhere/buildroot/output/host/mipsel-buildroot-linux-gnu/sysroot/usr/lib/cmake/gnuradio/GnuradioConfig.cmake:116 (include):
include could not find load file:

/somewhere/buildroot/output/host/mipsel-buildroot-linux-gnu/sysroot/usr/lib/cmake/gnuradio/gnuradio-filterConfig.cmake
Call Stack (most recent call first):
CMakeLists.txt:45 (find_package)

gr-osmosdr depends on BR2_PACKAGE_GNURADIO_BLOCKS, BR2_PACKAGE_GNURADIO_FFT and BR2_PACKAGE_GNURADIO_FILTER.

By replacing BLOCKS by FILTER (FILTER select FFT, and FFT select BLOCKS) every mandatories Gnu Radio modules are selected.

fix:
- http://autobuild.buildroot.net/results/1781db2b8c28641167f7a39a4d799930db13f9bf/

---
 package/gr-osmosdr/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gr-osmosdr/Config.in +1 -1
index f26380371f..8d42964900 100644
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_GR_OSMOSDR
 	bool "gr-osmosdr"
 	depends on BR2_PACKAGE_GNURADIO
-	select BR2_PACKAGE_GNURADIO_BLOCKS
+	select BR2_PACKAGE_GNURADIO_FILTER
 	help
 	  GNU Radio block for interfacing with various radio hardware
 
Signature · 1 line
2.24.1
#1 lore raw

PATCH 1/1 package/gr-osmosdr: fix dependencies

Quoted 6 lines · On Wed, 5 Feb 2020 15:58:02 +0100 Gwenhael Goavec-Merou…

From: Gwenhael Goavec-Merou <[email protected]>

gr-osmosdr fails with:
CMake Error at /somewhere/buildroot/output/host/mipsel-buildroot-linux-gnu/sysroot/usr/lib/cmake/gnuradio/GnuradioConfig.cmake:116 (include):
include could not find load file:

Quoted 6 lines

/somewhere/buildroot/output/host/mipsel-buildroot-linux-gnu/sysroot/usr/lib/cmake/gnuradio/gnuradio-filterConfig.cmake
Call Stack (most recent call first):
CMakeLists.txt:45 (find_package)

gr-osmosdr depends on BR2_PACKAGE_GNURADIO_BLOCKS, BR2_PACKAGE_GNURADIO_FFT and BR2_PACKAGE_GNURADIO_FILTER.

If it really needs these three features directly, we want gr-osmodr to select all three options, not just one that happens to internally imply the two others.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com