Today I have updated the gr-osmosdr packages to the latest git snapshot, so that it now includes support for Red Pitaya SDR transceiver and the new gain modes for the Airspy. It’s API/ABI compatible with the previous package and so the other packages do not need upgrade for this reason.
Sort-of… I think all of the shared libraries go into unique packages based off of their so version. That should just mean that GQRX pulls in the old libraries, and there wont be any ABI compatibility issues.
But I think what happens is that a hardware driver gets installed with the latest bin/ apps, latest library, and then also the slightly older library. Recently built apps use the newer library, but previously built apps use the older library. Problem is the older library for the hardware expects a different FPGA image or something vs the newer one.
I know its horrible, but the only sure way to have everything working is to carefully rebuild the dependency tree from bottom to top…
i have added the usrp ppa (this wont itself break anything, it only effects new builds)
latest umtrx is up - done
rebuilt soapy uhd - done
im backporting latest volk from xenial now (as I type this)
next is gnuradio from xenial backporting (i know trusty will fight me a little over wx at least)
@csete I was thinking. There has to be a more automated way to do this. Rebuilding packages because the dependencies have updated comes up a lot. Especially when the dependent projects have not changed.
The script should be simple to use like ubuntu’s backportpackage, but instead it would
download a specified package from a specific PPA
modify the changelog entry to bump the suffix (myriadrf1 → myriadrf2)
repackage and upload to the PPA
Ever heard of something like this? I was curious what you were using to automate/upload/script these builds. Or if you know of a smarter way to handle this.
If not, I wrote a PPA helper script in python that is specific to git projects with debian/ directories in them. It basically automates modifying the changelog, building with git-buildpackage, and uploading to a specified ppa. I can probably modify it for manually adding a debian/ directory, and then it can be used for this purpose. Also, I can share this script if you are interested.
I don’t have any automated script and I don’t mind doing things manually since most of the time goes with waiting for a build to finish.
This current update is not good
It seems we have got gsl2 now, which wants to uninstall the GSL that comes with Ubuntu. This in turn will remove applications that depend on it. I’m not just talking about gqrx but also for example inkscape.
IMO, if a new version of gnuradio requires adding new packages to the PPA, we should seriously consider whether we really want the upgrade. We can’t just randomly replace Ubuntu packages without consequences. Every time we add a new package that replaces a package in Ubuntu we increase the complexity and the risk of breaking the system.
I assumed that gsl2 runtime would not conflict. But instead it looks like the libcblas sonames are the same, so the gsl2 is marked to conflict with the stock gsl packages. They probably could have been made to coexist. What a mess.
So I think I can delete gsl2 from the PPA and rebuilt gnuradio against the stock gsl. I have to check if gnuradio really needed newer gsl or this was just a change of package names in the build depends.
I’m not sure why its like that. Its backported from xenial. So if it gets fixed upstream I guess I will re-backport. In any case its not a problem as ffar as I can tell.
It looks like GSL dependency only affects people who have the full gnuradio SDK installed, and those who only have gqrx + necessary runtime installed will not notice. So, it might not be as bad as I feared when I saw it.
Well, still wasnt quite my intention. It should be fixed now. It looks like gnuradio builds fine against stock gsl. I just needed to adjust the build depends.
Sorry for the delay. I wasn’t waiting for you to handle those packages (also I need to adjust the notification settings…). But if you are ready to handle them now, I would appreciate if you can update the others. Otherwise I can get around to it this weekend.