Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420747 - net-wireless/gr-osmosdr-9999 requires libosmosdr of branch "hopscotch"
Summary: net-wireless/gr-osmosdr-9999 requires libosmosdr of branch "hopscotch"
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Radio project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-11 22:17 UTC by Sebastian Pipping
Modified: 2023-01-29 03:57 UTC (History)
2 users (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 Sebastian Pipping gentoo-dev 2012-06-11 22:17:38 UTC
Currently libosmosdr is needed to compile but is not a dependency at all, yet.

To compile, a function

  osmosdr_set_fpga_iq_swap

is needed from libosmosdr which does not exist on branch "master" yet.
The introducing commit

  provide accessors for expanded USB API
  http://cgit.osmocom.org/cgit/osmo-sdr/commit/?id=4eed4e78708fe7d3e9ad167de4841a684dfe0538

can be found in the recent history of branch "hopscotch":

  http://cgit.osmocom.org/cgit/osmo-sdr/log/?h=hopscotch


I have add a snapshot-based ebuild to betagarden:

http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commitdiff;h=ff49cb3bb4bf66240f6503a9c170248dbb95beab

I suppose it would be good to start talking to upstream and to move to snapshot ebuilds in Gentoo.  Let me know if you need help with it.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-06-11 22:27:21 UTC
gr-osmosdr builds fine without libosmosdr. Only if that is installed, then gr-osmosdr automagically links against it and fails.
Comment 2 Sebastian Pipping gentoo-dev 2012-06-12 20:03:00 UTC
Without deep analysis it looks like we have to fix four auto-magic dependencies:

==8<================8<================8<================8<==
-- checking for module 'uhd'
--   package 'uhd' not found
-- Could NOT find UHD (missing:  UHD_LIBRARIES UHD_INCLUDE_DIRS) 
-- checking for module 'gnuradio-uhd'
--   package 'gnuradio-uhd' not found
-- gnuradio-uhd not found.
-- Could NOT find GNURADIO_UHD (missing:  GNURADIO_UHD_LIBRARIES GNURADIO_UHD_INCLUDE_DIRS) 
-- checking for module 'gnuradio-fcd'
--   package 'gnuradio-fcd' not found
-- gnuradio-fcd not found.
-- Could NOT find GNURADIO_FCD (missing:  GNURADIO_FCD_LIBRARIES GNURADIO_FCD_INCLUDE_DIRS) 
-- checking for module 'libosmosdr'
--   found libosmosdr, version UNKNOWN
-- Found libosmosdr: /usr/include, /usr/lib64/libosmosdr.so
==8<================8<================8<================8<==


I have just requested a Trac account upstream.
Comment 3 Sebastian Pipping gentoo-dev 2012-06-16 19:05:14 UTC
I have opened two tickets upstream.


gr-osmosdr depends on "hopscotch" version of libosmosdr
https://sdr.osmocom.org/trac/ticket/10

[Patch] gr-osmosdr: Please allow bypassing/forcing detection of optional dependencies
https://sdr.osmocom.org/trac/ticket/11


Let's see how that turns out.
Comment 4 Jonas Stein gentoo-dev 2021-04-04 23:20:08 UTC
Link changed
https://osmocom.org/issues/1475
https://osmocom.org/issues/1476

What should we do now?
Comment 5 Sebastian Pipping gentoo-dev 2021-04-05 00:06:24 UTC
(In reply to Jonas Stein from comment #4)
> Link changed
> https://osmocom.org/issues/1475
> https://osmocom.org/issues/1476
> 
> What should we do now?

I'm CC'ing zerochaos because of his activity on gr-osmosdr-9999.ebuild in 2021.

Given that…

- both bugs were rejected without a comment upstream *shrug*
- live ebuilds are moving targets and do not receive full support in general
- gr-osmosdr-9999 has been updated since this issue was created in 2012;
  these is some chance the issue has been fixed in the meantine
- I have not been using gr-osmosdr in recent years

…I suggest that we close as obsolete/wontfix/fixed, as you see fits best.

@jstein @zerochaos what do you think?
Comment 6 Rick Farina (Zero_Chaos) gentoo-dev 2023-01-29 03:57:03 UTC
sounds good to me