gnuradio-for-mac-without-macports icon indicating copy to clipboard operation
gnuradio-for-mac-without-macports copied to clipboard

Update to GNU Radio 3.8.1.0

Open dkozel opened this issue 4 years ago • 17 comments

GNU Radio has made release 3.8.1.0. This is a maintenance release with a very long list of bug fixes, usability improvements, and feature additions.

branch: maint-3.8 tag: v3.8.1.0 hash: 867b0ab9191ff6c6d5d8f49b5b95fdd884e92a07 url: https://github.com/gnuradio/gnuradio/releases/tag/v3.8.1.0

Relevant to issue https://github.com/ktemkin/gnuradio-for-mac-without-macports/issues/84 this release still has a VOLK submodule pointer. The non-imminent 3.9 release will not have it and the master branch removed it today. VOLK is now treated as a regular system library.

This project is awesome, thank you so much for making and maintaining this!

dkozel avatar Apr 13 '20 18:04 dkozel

@dkozel awesome, I'll update to 3.8.1.0 and kick off a build :)

beaugunderson avatar Apr 13 '20 20:04 beaugunderson

The build failed because the script prepends a 'v' before the specified GNURADIO_BRANCH. My recommendation is to remove the hidden 'v' so the branch actually pulled is easily visible at the top of the script. https://github.com/ktemkin/gnuradio-for-mac-without-macports/blob/master/build.sh#L2623

dkozel avatar Apr 15 '20 19:04 dkozel

@dkozel good catch; I've removed the 'v' so hopefully this next build passes :)

beaugunderson avatar Apr 15 '20 20:04 beaugunderson

@beaugunderson sorry to keep bouncing this back instead of openning a PR, I'm overloaded at the moment.

It looks like the script tries to checkout the GNURADIO_BRANCH as a commit rather than as a branch and then checking out the GNURADIO_HASH.

dkozel avatar Apr 17 '20 17:04 dkozel

@dkozel no worries! my fault for assuming it would be easy :) I'll take a closer look at this, likely tonight

beaugunderson avatar Apr 17 '20 17:04 beaugunderson

Awesome -- I took a look earlier, came to the same conclusion, and then got distracted. At a cursory inspection, it looked like the GNURADIO_BRANCH variable is misleadingly named; and actually is looking for a tag.

ktemkin avatar Apr 17 '20 21:04 ktemkin

The correct tag would be v3.8.1.0. https://github.com/gnuradio/gnuradio/releases/tag/v3.8.1.0

I do think the ability to build arbitrary hashes from whatever branch (in the main repo) would be a nice feature.

dkozel avatar Apr 21 '20 20:04 dkozel

I think the original intent was to check out a tag and make sure it's the expected one -- but I think we can probably switch to just using a symbolic name (which would typically be a tag, but could also be a branch or hash).

That should probably be a separate issue -- in the interim, let me edit the relevant file and let it kick off a build.

ktemkin avatar Apr 21 '20 21:04 ktemkin

Letting CI handle a build. 🤞

ktemkin avatar Apr 21 '20 21:04 ktemkin

Oof; looks like we might need to tweak some more URLs. Build failed trying to grab swig.

ktemkin avatar Apr 21 '20 23:04 ktemkin

Is it working with Python 3.8.2 ?

ricky-bos avatar Apr 22 '20 07:04 ricky-bos

@ricky-bos There's a few hardcoded mentions of Python 3.7 in the build script. The GNU Radio core is compatible with Python 3.8. https://github.com/ktemkin/gnuradio-for-mac-without-macports/blob/560d51574f876f8a44829ba416737dfa965953b5/build.sh#L76

Can you open a separate issue for the feature request of support for different Python versions?

dkozel avatar Apr 22 '20 13:04 dkozel

@ktemkin I just tried downloading the same SWIG tar as the build script and it succeeded. I don't know where the failure was, but it seems like temporary. The URL is correct.

dkozel avatar Apr 22 '20 13:04 dkozel

might make sense to have retry functionality in the download function :)

beaugunderson avatar Apr 22 '20 15:04 beaugunderson

Naively kicking off another build and hoping the URL issue was indeed temporary and resolves itself. If it doesn't, I'll actually put some thought into a solution. :)

ktemkin avatar Apr 28 '20 23:04 ktemkin

Following up, this one failed with:

00:00:00 CMake Error at CMakeLists.txt:427 (message):
00:00:00   VOLK required but not found.

It seems like we'll need to implement the suggestion in #84 for this to build successfully?

beaugunderson avatar May 16 '20 20:05 beaugunderson

@beaugunderson VOLK is still a git submodule in the 3.8 release series. As the script worked for 3.8.0.0 it should be the same for 3.8.1.0.

Would you be interested in hopping on a call sometime to talk over the build issues? I'd really like to get the 3.8.1.0 update out, it's significantly better.

dkozel avatar Jun 09 '20 18:06 dkozel