Package: libvolk2-dev
Version: 2.4.1-2
Severity: normal

Dear Maintainer,

Attempting to compile C++ software using libvolk2 may lead
to the following error

-------

In file included from /usr/include/volk/volk.h:31,
/usr/include/volk/volk_common.h: In function ‘float log2f_non_ieee(float)’:
/usr/include/volk/volk_common.h:153:12: error: ‘isinf’ was not declared in this 
scope; did you mean ‘std::isinf’?
  153 |     return isinf(result) ? copysignf(127.0f, result) : result;
      |            ^~~~~
      |            std::isinf
/usr/include/c++/10/cmath:605:5: note: ‘std::isinf’ declared here
  605 |     isinf(_Tp __x)

-------

This issue has been discussed here https://github.com/gnuradio/volk/issues/430

A patch to fix this problem is available here
https://github.com/gnuradio/volk/commit/b4c1f077048ed00fddd76dd5edfcfee4960a5918.patch


-- System Information:
Debian Release: 11.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-10-amd64 (SMP w/6 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libvolk2-dev depends on:
ii  libvolk2.4  2.4.1-2

libvolk2-dev recommends no packages.

Versions of packages libvolk2-dev suggests:
pn  libvolk2-doc  <none>

-- no debconf information

Reply via email to