[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#818810: FTBFS with libc 2.23: 'isnan' was not declared in this scope



Package: kmplot
Version: 4:15.08.3-1
Severity: important
User: debian-glibc@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
...
> In file included from /<<PKGBUILDDIR>>/kmplot/kgradientdialog.cpp:27:0:
> /usr/include/KF5/KDELibs4Support/kcolordialog.h:211:41: note: declared here
>  class KDELIBS4SUPPORT_DEPRECATED_EXPORT KColorDialog : public KDialog
>                                          ^
> /<<PKGBUILDDIR>>/kmplot/view.cpp: In member function 'QPointF View::toPixel(const QPointF&, View::ClipBehaviour, const QPointF&)':
> /<<PKGBUILDDIR>>/kmplot/view.cpp:479:14: error: 'isnan' was not declared in this scope
>   if ( isnan(x) )
>               ^
> /<<PKGBUILDDIR>>/kmplot/view.cpp:479:14: note: suggested alternative:
> In file included from /usr/include/c++/5/random:38:0,
>                  from /usr/include/c++/5/bits/stl_algo.h:66,
>                  from /usr/include/c++/5/algorithm:62,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:85,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:37,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:37,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
>                  from /<<PKGBUILDDIR>>/kmplot/vector.h:28,
>                  from /<<PKGBUILDDIR>>/kmplot/function.h:29,
>                  from /<<PKGBUILDDIR>>/kmplot/view.h:29,
>                  from /<<PKGBUILDDIR>>/kmplot/view.cpp:26:
> /usr/include/c++/5/cmath:641:5: note:   'std::isnan'
>      isnan(_Tp __x)
>      ^
> /<<PKGBUILDDIR>>/kmplot/view.cpp:499:15: error: 'isinf' was not declared in this scope
>    if ( isinf(x) == -1 )
>                ^
> /<<PKGBUILDDIR>>/kmplot/view.cpp:499:15: note: suggested alternative:
> In file included from /usr/include/c++/5/random:38:0,
>                  from /usr/include/c++/5/bits/stl_algo.h:66,
>                  from /usr/include/c++/5/algorithm:62,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:85,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:37,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:37,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
>                  from /<<PKGBUILDDIR>>/kmplot/vector.h:28,
>                  from /<<PKGBUILDDIR>>/kmplot/function.h:29,
>                  from /<<PKGBUILDDIR>>/kmplot/view.h:29,
>                  from /<<PKGBUILDDIR>>/kmplot/view.cpp:26:
> /usr/include/c++/5/cmath:621:5: note:   'std::isinf'
>      isinf(_Tp __x)
>      ^
> /<<PKGBUILDDIR>>/kmplot/view.cpp:506:14: error: 'isnan' was not declared in this scope
>   if ( isnan(y) )
>               ^
> /<<PKGBUILDDIR>>/kmplot/view.cpp:506:14: note: suggested alternative:
> In file included from /usr/include/c++/5/random:38:0,
>                  from /usr/include/c++/5/bits/stl_algo.h:66,
>                  from /usr/include/c++/5/algorithm:62,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:85,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:37,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:37,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
>                  from /<<PKGBUILDDIR>>/kmplot/vector.h:28,
>                  from /<<PKGBUILDDIR>>/kmplot/function.h:29,
>                  from /<<PKGBUILDDIR>>/kmplot/view.h:29,
>                  from /<<PKGBUILDDIR>>/kmplot/view.cpp:26:
> /usr/include/c++/5/cmath:641:5: note:   'std::isnan'
>      isnan(_Tp __x)
>      ^
> /<<PKGBUILDDIR>>/kmplot/view.cpp:526:15: error: 'isinf' was not declared in this scope
>    if ( isinf(y) == -1 )
>                ^
...

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise


Reply to: