Project

General

Profile

Actions

Bug #3855

open

Cannot build gr-osmosdr with Gnuradio 3.8

Added by martymac almost 5 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
03/22/2019
Due date:
% Done:

0%

Spec Reference:

Description

Hi,

Gnuradio has updated their CMake build files for the upcoming version 3.8 :

https://github.com/gnuradio/gnuradio/commit/ab2fb35677e38a384df3f9503d1f45f64bbc0374

Unfortunately, gr-osmosdr does not build anymore with those changes. Can you update build files to fix build against Gnuradio 3.8 ?

An example seems to be provided in the following commit :

https://github.com/gnuradio/gnuradio/commit/c04188d7f4e7c7673e6ecc839a6455a6f6b20453

Thanks,

Ganael.


Files

gqrx_segfault.png View gqrx_segfault.png 21.5 KB st1905, 07/28/2019 01:47 PM
gqrx_backtrace.png View gqrx_backtrace.png 150 KB st1905, 07/28/2019 01:47 PM
osmosdr.png View osmosdr.png 174 KB st1905, 07/28/2019 01:47 PM
gqrx_freebsd12_soapy.png View gqrx_freebsd12_soapy.png 145 KB st1905, 08/11/2019 11:06 AM
gqrx-2.11.5_9,1.txz gqrx-2.11.5_9,1.txz 541 KB For FreeBSD 12 st1905, 08/12/2019 09:43 PM
gr-osmosdr-0.1.4.99_8,1.txz gr-osmosdr-0.1.4.99_8,1.txz 315 KB For FreeBSD 12 st1905, 08/12/2019 09:43 PM
Actions #1

Updated by laforge almost 5 years ago

  • Assignee set to horiz0n

assigning to horiz0n

Actions #2

Updated by ckoval7 almost 5 years ago

Any movement on this? I'm also having trouble compiling for GR3.8

Actions #3

Updated by st1905 almost 5 years ago

ckoval7 wrote:

Any movement on this? I'm also having trouble compiling for GR3.8

Have a look at this, it should compile for gnuradio 3.8.

https://github.com/igorauad/gr-osmosdr/tree/gr3.8

To convert the xml to yaml, you can use this script

https://gist.github.com/haakov/4228ff6a14486641add538483093e86b

Actions #4

Updated by martymac almost 5 years ago

st1905 wrote:

Have a look at this, it should compile for gnuradio 3.8.

https://github.com/igorauad/gr-osmosdr/tree/gr3.8

Thanks! Do you know if/when the branch will be merged back to the official repository ?

Actions #5

Updated by st1905 almost 5 years ago

martymac wrote:

st1905 wrote:

Have a look at this, it should compile for gnuradio 3.8.

https://github.com/igorauad/gr-osmosdr/tree/gr3.8

Thanks! Do you know if/when the branch will be merged back to the official repository ?

I don`t know if it is going to be merged to the official repo but you can ask Mickey Vänskä >> https://github.com/mvaenskae

Actions #6

Updated by martymac almost 5 years ago

st1905 wrote:

I don`t know if it is going to be merged to the official repo but you can ask Mickey Vänskä >> https://github.com/mvaenskae

I've asked him, thanks!

Actions #7

Updated by st1905 over 4 years ago

st1905 wrote:

ckoval7 wrote:

Any movement on this? I'm also having trouble compiling for GR3.8

Have a look at this, it should compile for gnuradio 3.8.

https://github.com/igorauad/gr-osmosdr/tree/gr3.8

To convert the xml to yaml, you can use this script

https://gist.github.com/haakov/4228ff6a14486641add538483093e86b

I can confirm that gr-osmosdr is working on FreeBSD 12(Gnuradio 3.8) but i cant make gqrx work, it always segfaults.

Actions #8

Updated by st1905 over 4 years ago

Today i got GQRX working fine too, i had to use "built-in source types: soapy" only soapy is compiled otherwise gqrx segfaults or aborts. All working fine now.

Actions #9

Updated by st1905 over 4 years ago

Only UHD causes segfault, all other builtin sources work fine.

Actions #10

Updated by st1905 over 4 years ago

Added packages for FreeBSD 12 in case someone would like to use them.

Actions #11

Updated by martymac over 4 years ago

st1905 wrote:

Added packages for FreeBSD 12 in case someone would like to use them.

Thanks!

I will update the port ASAP. Stay tuned...

Actions #12

Updated by martymac over 4 years ago

martymac wrote:

I will update the port ASAP. Stay tuned...

Hello,

Well, I've just committed updates to comms/gr-osmosdr and comms/gqrx FreeBSD ports.

For gr-osmosdr, I've used the branch from : https://github.com/igorauad/gr-osmosdr/tree/gr3.8 (as well as a small fix for gnuradio-blocks detection : FILE and RTL_TCP were always disabled).

For gqrx, I've used the patch from that pull request : https://github.com/csete/gqrx/pull/696

To all people involved: thanks a lot for your hard work, comments and links, it helped me a lot!

Cheers,

Ganael.

Actions #13

Updated by martymac over 4 years ago

EDIT: anyway, it would be nice if the gr3.8 branch could be merged upstream :p

Actions #14

Updated by ferrellsl over 4 years ago

martymac wrote:

st1905 wrote:

Have a look at this, it should compile for gnuradio 3.8.

https://github.com/igorauad/gr-osmosdr/tree/gr3.8

Thanks! Do you know if/when the branch will be merged back to the official repository ?

Thanks so much. I've been struggling for the better part of a week with this and now it works great due to your efforts. I was even able to do a successful build using gr3.9 by a simple edit to the cmakelists.txt file to have it look for 3.9 instead of 3.8.

Actions #15

Updated by laforge over 4 years ago

FYI: We're actively looking for a new gr-osmosdr maintainer (or team of maintainers), who would then take care (among other things) of integrating gr3.8 support, see http://lists.osmocom.org/pipermail/osmocom-sdr/2019-September/001983.html

Feel free to step up! Thanks.

Actions #16

Updated by tnt over 4 years ago

I had a quick look yesterday at the port to 3.8 on github (both are the same, with just one more commit). gnuradio-blocks wasn't found despite that "fix" because it's not complete / correct.

Adding more patches (from Maitland, the GR package maintainer for debian), I got a more complete version but :

- The updated build system is still far from being "proper".

The remaining issues are too numerous to list (and if I knew them all, I could fix them ... reviewing and finding them is the hard part).
But a couple of examples:

set(GR_REQUIRED_COMPONENTS RUNTIME PMT BLOCKS)

That stuff doesn't exist in 3.8 anymore

All the GrXXXX in cmake/Modules/... : In 3.8 policy is to always use the ones installed and not local copies anymore. They need to be removed and all the cmake logic adapted to work with the upstream ones.

- It's still missing updates version of the apps that ship with osmosdr. (osmocom-fft / osmocom-siggen / ...) Someone needs to pretty much rewrite those from scratch using the Qt widgets.

Only once someone submits something that fixes both the issue above will a 3.8 release be possible.

Actions #17

Updated by wiml over 3 years ago

For what it's worth, I had no trouble compiling the current `master` (`af2fda2`, tag `v0.2.0`) against gnuradio 3.8 (the ubuntu 3.8.1.0~gnuradio~eoan-1 package) and using it with an rtl-sdr dongle.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)