Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648320 - net-wireless/gr-osmosdr-9999 - USE=soapy has no effect - cmake: Could NOT find SoapySDR (missing: SoapySDR_DIR)
Summary: net-wireless/gr-osmosdr-9999 - USE=soapy has no effect - cmake: Could NOT fin...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Radio project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-20 17:44 UTC by Dawid Stawiarski
Modified: 2018-08-16 16:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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