Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 648320

Summary: net-wireless/gr-osmosdr-9999 - USE=soapy has no effect - cmake: Could NOT find SoapySDR (missing: SoapySDR_DIR)
Product: Gentoo Linux Reporter: Dawid Stawiarski <neeo>
Component: Current packagesAssignee: Gentoo Radio project <radio>
Status: RESOLVED INVALID    
Severity: normal CC: zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dawid Stawiarski 2018-02-20 17:44:02 UTC
soapy USE flag doesn't seem to actually enable SoapySDR support - it looks like cmake can't find SoapySDR_DIR:

parts of build output:
[...]
-- Could NOT find SoapySDR (missing: SoapySDR_DIR)
[...]
-- Configuring SoapySDR support support...
--   Dependency SoapySDR_FOUND = 0
--   Disabling SoapySDR support support.
--   Override with -DENABLE_SOAPY=ON/OFF
[...]
-- ######################################################
-- # Gnuradio disabled components                        
-- ######################################################
--   * SoapySDR support

I have following USE flags:
USE="iqbalance python rtlsdr soapy -bladerf -fcd -hackrf -mirisdr -uhd" PYTHON_TARGETS="python2_7"

but, when I run cmake in the manually cloned gr-osmosdr repo, soapysdr is being found as expected (even tho cmake files of soapy are installed in a non-standard /usr/share/cmake/SoapySDR dir)
Comment 1 Dawid Stawiarski 2018-02-21 14:08:17 UTC
ok, I've found the real cause and it's not gr-osmosdr fault: for some reason dir /usr/share/cmake/SoapySDR had 750 rights - after chmod 755 and reemerge of gr-osmosdr soapy support is enabled.
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2018-08-16 16:18:33 UTC
works here, permissions seem fine as well