Summary: | net-wireless/gnuradio-3.10.3.0: error: ‘HUGE_VAL’ was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey 'L29Ah' Alirzaev <zl29ah> |
Component: | Current packages | Assignee: | Gentoo Radio project <radio> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH, PullRequest |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gnuradio/gnuradio/pull/6002 https://github.com/gentoo/gentoo/pull/26775 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 839906 | ||
Attachments: |
emerge --info
build log |
Created attachment 792026 [details]
build log
Missing <cmath> include? The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=801713036d2f629e3fd6fae8b9e812a6038d9705 commit 801713036d2f629e3fd6fae8b9e812a6038d9705 Author: Huang Rui <vowstar@gmail.com> AuthorDate: 2022-08-07 15:02:38 +0000 Commit: Thomas Beierlein <tomjbe@gentoo.org> CommitDate: 2022-08-17 12:32:51 +0000 net-wireless/gnuradio: fix 3.10.3.0 build problems Fix static assertion failed : Cannot format an argument Fix error: ‘HUGE_VAL’ was not declared in this scope Signed-off-by: Huang Rui <vowstar@gmail.com> Closes: https://bugs.gentoo.org/858659 Closes: https://bugs.gentoo.org/858665 Closes: https://github.com/gentoo/gentoo/pull/26775 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org> .../files/gnuradio-3.10.3.0-fix-fmt-v9.patch | 145 +++++++++++++++++++++ .../files/gnuradio-3.10.3.0-fix-gcc12.patch | 50 +++++++ net-wireless/gnuradio/gnuradio-3.10.3.0.ebuild | 5 + 3 files changed, 200 insertions(+) |
Created attachment 792023 [details] emerge --info /var/tmp/portage/net-wireless/gnuradio-3.10.3.0/work/gnuradio-3.10.3.0/gr-qtgui/lib/FrequencyDisplayPlot.cc: In constructor ‘FrequencyDisplayPlot::FrequencyDisplayPlot(int, QWidget*)’: /var/tmp/portage/net-wireless/gnuradio-3.10.3.0/work/gnuradio-3.10.3.0/gr-qtgui/lib/FrequencyDisplayPlot.cc:173:25: error: ‘HUGE_VAL’ was not declared in this scope 173 | d_peak_amplitude = -HUGE_VAL; | ^~~~~~~~ /var/tmp/portage/net-wireless/gnuradio-3.10.3.0/work/gnuradio-3.10.3.0/gr-qtgui/lib/FrequencyDisplayPlot.cc: In member function ‘void FrequencyDisplayPlot::setFrequencyRange(double, double, double, const string&)’: /var/tmp/portage/net-wireless/gnuradio-3.10.3.0/work/gnuradio-3.10.3.0/gr-qtgui/lib/FrequencyDisplayPlot.cc:271:41: error: ‘log10’ was not declared in this scope 271 | double display_units = ceil(log10(units) / 2.0); | ^~~~~ /var/tmp/portage/net-wireless/gnuradio-3.10.3.0/work/gnuradio-3.10.3.0/gr-qtgui/lib/FrequencyDisplayPlot.cc:271:36: error: ‘ceil’ was not declared in this scope; did you mean ‘std::chrono::ceil’? 271 | double display_units = ceil(log10(units) / 2.0); | ^~~~ | std::chrono::ceil