-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
building against gnuradio 3.8 #475
Comments
Hi @stef,
Cool. Where I can find your pacakges?
We are testing Could you provide a Dockerfile for Alpine for both gnuradio 3.7 and 3.8 ?
I doubt that we have a roadmap 😄. I guess that no one has spent any time testing and adding support for gnuradio 3.8 as it is still quite new, it has been release 3 day ago. |
https://github.com/aports-ugly/aports/tree/master/ugly/gr-gsm
sorry, i don't do docker. but alpine runs well in docker i heard so it should be possible based on these packages to set up something like you ask for. gnuradio 3.7 and 3.8 both work fine though. if really needed i can provide some packages, but since they require also boost it is quite a hassle to also provide the right boost packages and other binary deps, it really is better to build these yourself - it is quite easy an
true, but release candidates were also available also before that. |
Thanks.
OK.
I'm not familiar with Alpine Linux and its tools and ecosystem.
I'm confused, you are talking about packaging
Could you give us all commands that have to be executed to install
Nothing is out of question but without knowing how to reproduce your problem it's unlikely that we could help you resolve it.
Instead of waiting someone else to to the work maybe you could try implementing the needed changes and contribute them back.
True, but unless someone is interested enough and willing to spend the needed time it's unlikely to happen. |
ohi,
yeah, sorry. i can provide packages for gnuradio, but those have to match the correct boost libs, which come from the main/edge alpine repo which is a quite fast moving target. so it is always best to build gnuradio against whatever is installed from main/edge. it's a bit of a hassle.
yes, of course. i stripped down my build vm for you (sadly it's still 2.8GB expanded): http://links.ctrlc.hu/mirror/gr-gsm-dbg.qcow2.tar.zst - it's a sparse tar file compressed with zstd. you can login with an empty password as user s. I put a very simple "script" in /home/s/gr-gsm-dbg. the script installs all the dependencies (you need internet connectivity for that), then unpacks and prepares gr-gsm-0.42.2 and drops you of in the root directory of gr-gsm sources. from here you don't need to use abuild or other alpine specific tools, just the usual cmake/make stuff you would do on other systems, if you succeed in building against gr3.8 we have a win. tell me when you downloaded the vm image so i can free up the space on the server. |
Done, you could remove it. |
I just found GNU Radio 3.8 OOT Module Porting Guide It turns out they have implemented a lot of changes to their CMake build system that are not backward compatible and recommend the Out Of Tree (OOT) modules to adopt a branching model similar to theirs - @ptrkrysik What do you think about adopting such a branching model? They have also replaced XML with YAML |
Hi @stef, I just pushed a new branch
TODO:
|
this might help in converting the xml to yaml: https://gist.github.com/haakov/4228ff6a14486641add538483093e86b |
Got them converted but now it says,
Conversion for gsm_block_tree.xml and gsm_block_tree.block.yml failed respectively with the messages below
|
i confirm, your maint-3.8 branch in your fork builds fine! great work, thanks for your kind support, APKBUILDs for alpine will soon be available. |
Hi @ptrkrysik, While you are at the CCCamp 2019 event, would it be it be possible to discuss the gnuradio 3.8 support in gr-osmosdr and gr-gsm with the other Osmocom developers and specifically the development/branching model described in https://wiki.gnuradio.org/index.php/GNU_Radio_3.8_OOT_Module_Porting_Guide? The gr-osmosdr issue is https://osmocom.org/issues/3855 Thanks. |
Hi @velichkov and @stef, I exchanged few words with @noc0lour from GNU Radio and his suggestion is to use master branch for GNU Radio 3.8 and use separate branch for 3.7 compatible stuff. I'm thinking what will be consequences. For packaging for distributions that have 3.7 probably the maintainer could switch branch that he fetches the code from to the 3.7 branch. For the regular user who builds gr-gsm from source it might mean slightly more complicated installation description. 3.8 compatible gr-gsm will be probably available to people who build GNU Radio from source (or use distribution that already have GNU Radio 3.8 like alpine linux). I don't see at the moment possibility to have a single branch that supports both versions of GNU Radio - it seems overly complicated. Regarding gr-osmosdr - I'll ask Dimitri Stolnikov (horiz0n) if he has interest in taking care of gr-osmosdr migration. |
Hi @ptrkrysik,
Thanks.
Yes, it's going to complicate a little installation from source for regular users that are not familiar with git or gnuradio. We are going to update the documentation but for sure there will be a lot of questions and github issues.
And installations with
I agree. Also the development of new features is going to be affected (at least initially) as we will need to push the changes to two branches which means more commits, more reviews in gerrit, more testing, etc...
Thanks. |
Regarding gr-osmosdr - possibility of having a supported version for GNU Radio 3.8 is low. Most probably we'll have to switch to Soapy, but I never tried it yet and don't know how well/bad it might work. |
Hi Everyone, I just force pushed several changes to my When testing locally all unit tests, decode.sh and decrypt.sh succeed, both in container and on the host. I don't know why but decode.sh and decrypt.sh fail somehow randomly in travis (https://travis-ci.org/velichkov/gr-gsm/jobs/579927694, https://travis-ci.org/velichkov/gr-gsm/jobs/579927695), it seems like some random non-deterministic behavior despite the fact that "GSM Clock Offset Control" block is disabled by not specifying a frequency or arfcn in those two scripts. I've also tested One incompatible change that I had to do is 013d4c2. I've tried many different versions but it always fails when a python function is used in this array, it may be a bug in gnuradio, hope to resolve this in the future as well. Any testing (especially with different SDR devices) and feedback is appreciated. That's all for now. |
Hi, thanks for your work! PyBOMBS.install_manager - INFO - Installing package: qwt5 Is there a workaround to get this installed to proceed with the gnuradio and gr-gsm installation? |
Hi @msfu101,
For Kali and Debian Testing my advice would be to install gnuradio and the other dependencies from that apt repository and then install gr-iqbal, gr-osmosdr and gr-gsm following the steps from Kali docker file
Most probably you are trying to install |
okay i tried it but the last step don't work RUN mkdir /src/build --->>> here it says mkdir: cannot create directory ‘/src/build’: No such file or directory do you have a solution for that or i am too dumb xD |
@msfu101, Please avoid posting here messages not directly related to gnuradio 3.8 support. In the other issue I've already told you to post questions and installation problems to our mailing list.
You don't have permissions to create directories in root partition (/), clone the git repositories and create build sub-directories in your home directory instead. |
why? does that mean that gr-osmosdr is orphaned and not maintained anymore? |
this must be a joke for shure ... mkdir /src/build |
peapol must make a more friendly build install of this repo ... |
Is there still a Debian distro out there with gnuradio package 3.7 and thus not affected by this issue? |
Hi @jsa91,
Yes, debian buster has gnuradio-3.7.13.4-4 |
Debian's gr-gsm package also needs updating for GNURadio 3.8. Could we have a new release please? |
Any progress with the "Gnuradio could not be found because dependency Volk could not be found." mess? |
Hello my friend, would you be so kind to tell me if is this fixed now ? thanks in advance ! |
I'm trying to package gr-gsm for alpine linux, and i had great success previously against gr3.7, but now that gr3.8 is out it seems to me that gr-gsm is not yet ready for this. i get the following errors during cmake:
gnuradio-3.8 and it's dev environment is installed, as is libvolk-2.0 and also it's headers, as can be seen from the cmake later finding volk.
do you guys have an idea what might go wrong here if i'm messing up something, or if indeed there is no gr3.8 support yet, then what is your roadmap?
thanks a lot for all your awesome work!
The text was updated successfully, but these errors were encountered: