[Bug 261245] devel/volk: Update to 2.5.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 16 Jan 2022 12:17:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261245

            Bug ID: 261245
           Summary: devel/volk: Update to 2.5.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: hamradio@FreeBSD.org
          Reporter: rhurlin@FreeBSD.org
             Flags: maintainer-feedback?(hamradio@FreeBSD.org)
          Assignee: hamradio@FreeBSD.org

Created attachment 231039
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231039&action=edit
patch to update from 2.2.1 to 2.5.0, and fix python shebang

This patch should update the port vom 2.2.1 to 2.5.0. This brings several
enhancements, new features and bug fixes, see
https://github.com/gnuradio/volk/releases. Although comms/gnuradio builds and
installs without problems with devel/volk v2.5.0, I did not check for correct
functionality in gnuradio!



The internal cpu_features are not included in the tarball, external
cpu_features (i.e. devel/cpu_features) are not found by CMakeLists.txt (due to
missing functionality). Therefore CMAKE_OFF=VOLK_CPU_FEATURES is set as a
workaround.



While testing the patch with DEVELOPER=yes in /etc/make.conf, the staging
aborted with the following error:

====> Running Q/A tests (stage-qa).
Error: '/usr/local/bin/python3' is an invalid shebang you need USES=shebangfix
for 'bin/volk_modtool'
*** Error code 1

It it turned out that the shebang for bin/volk_modtool was not created
correctly. I found no other way than to delete the line in question in the file
before configuration and then patch it again before installation.

Translated with www.DeepL.com/Translator (free version)

-- 
You are receiving this mail because:
You are the assignee for the bug.