[Pkg-kde-extras] Bug#818838: qtcurve: FTBFS with libc 2.23: 'isnan' was not declared in this scope
Martin Michlmayr
tbm at hpe.com
Sun Mar 20 21:01:06 UTC 2016
Package: qtcurve
Version: 1.8.18+git20160112-0cd6aae-1
Severity: important
User: debian-glibc at lists.debian.org
Usertags: 2.23
This package fails to build with libc6 2.23 (2.23-0experimental0 from
experimental).
> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> [ 26%] Built target qtc_qt4_check_on_hdr
> Generating qtcurveconfig.moc
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/qt5/config/qtcurveconfig.cpp:0: Note: No relevant classes found. No output generated.
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/strs.cpp: In function 'char* QtCurve::Str::vformat(char*, size_t*, const char*, __va_list_tag*) [with bool allocated = true; size_t = long unsigned int]':
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/strs.cpp:36:9: warning: ignoring return value of 'int vasprintf(char**, const char*, __va_list_tag*)', declared with attribute warn_unused_result [-Wunused-result]
> vasprintf(&res, fmt, ap);
> ^
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/strs.cpp: In function 'char* QtCurve::Str::vformat(char*, size_t*, const char*, __va_list_tag*) [with bool allocated = false; size_t = long unsigned int]':
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/strs.cpp:36:9: warning: ignoring return value of 'int vasprintf(char**, const char*, __va_list_tag*)', declared with attribute warn_unused_result [-Wunused-result]
> In file included from /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/utils.h:32:0,
> from /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/color.h:26,
> from /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/color.cpp:23:
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/color.cpp: In function 'void _qtcColorTint(const QtcColor*, const QtcColor*, double, QtcColor*)':
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/color.cpp:180:50: error: 'isnan' was not declared in this scope
> if (qtcUnlikely(amount <= 0.0 || isnan(amount))) {
> ^
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/macros.h:137:48: note: in definition of macro 'qtcExpect'
> # define qtcExpect(exp, var) __builtin_expect(exp, var)
> ^
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/color.cpp:180:9: note: in expansion of macro 'qtcUnlikely'
> if (qtcUnlikely(amount <= 0.0 || isnan(amount))) {
> ^
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/color.cpp:180:50: note: suggested alternative:
> if (qtcUnlikely(amount <= 0.0 || isnan(amount))) {
> ^
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/macros.h:137:48: note: in definition of macro 'qtcExpect'
> # define qtcExpect(exp, var) __builtin_expect(exp, var)
> ^
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/color.cpp:180:9: note: in expansion of macro 'qtcUnlikely'
> if (qtcUnlikely(amount <= 0.0 || isnan(amount))) {
> ^
> In file included from /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/number.h:26:0,
> from /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/options.h:26,
> from /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/color.h:27,
> from /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/color.cpp:23:
> /usr/include/c++/5/cmath:641:5: note: 'std::isnan'
> isnan(_Tp __x)
> ^
> In file included from /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/utils.h:32:0,
> from /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/color.h:26,
> from /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/color.cpp:23:
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/color.cpp: In function 'void _qtcColorMix(const QtcColor*, const QtcColor*, double, QtcColor*)':
> /<<BUILDDIR>>/qtcurve-1.8.18+git20160112-0cd6aae/lib/utils/color.cpp:208:46: error: 'isnan' was not declared in this scope
> if (qtcUnlikely(bias <= 0.0 || isnan(bias))) {
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the pkg-kde-extras
mailing list