Bug#818824: libksysguard: FTBFS with libc 2.23: 'isinf' was not declared in this scope
Package: libksysguard
Version: 4:5.4.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
...
> -gnu/qt5/QtWebKitWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -o CMakeFiles/processui.dir/ProcessModel.cpp.o -c /<<PKGBUILDDIR>>/processui/ProcessModel.cpp
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp: In member function 'void KSignalPlotterPrivate::recalculateMaxMinValueForSample(const QList<double>&, int)':
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:488:32: error: 'isinf' was not declared in this scope
> if( !isinf(newValue) && !isnan(newValue) )
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:488:32: 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/qlist.h:37,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QList:1,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.h:27,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:29:
> /usr/include/c++/5/cmath:621:5: note: 'std::isinf'
> isinf(_Tp __x)
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:488:52: error: 'isnan' was not declared in this scope
> if( !isinf(newValue) && !isnan(newValue) )
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:488:52: 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/qlist.h:37,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QList:1,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.h:27,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:29:
> /usr/include/c++/5/cmath:641:5: note: 'std::isnan'
> isnan(_Tp __x)
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:491:27: error: 'isnan' was not declared in this scope
> if(isnan(mMinValue) || mMinValue > value) mMinValue = value;
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:491:27: 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/qlist.h:37,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QList:1,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.h:27,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:29:
> /usr/include/c++/5/cmath:641:5: note: 'std::isnan'
> isnan(_Tp __x)
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:492:27: error: 'isnan' was not declared in this scope
> if(isnan(mMaxValue) || mMaxValue < value) mMaxValue = value;
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:492:27: 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/qlist.h:37,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QList:1,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.h:27,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:29:
> /usr/include/c++/5/cmath:641:5: note: 'std::isnan'
> isnan(_Tp __x)
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:499:29: error: 'isinf' was not declared in this scope
> if( !isinf(value) && !isnan(value) ) {
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:499:29: 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/qlist.h:37,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QList:1,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.h:27,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:29:
> /usr/include/c++/5/cmath:621:5: note: 'std::isinf'
> isinf(_Tp __x)
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:499:46: error: 'isnan' was not declared in this scope
> if( !isinf(value) && !isnan(value) ) {
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:499:46: 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/qlist.h:37,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QList:1,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.h:27,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:29:
> /usr/include/c++/5/cmath:641:5: note: 'std::isnan'
> isnan(_Tp __x)
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp: In member function 'void KSignalPlotterPrivate::calculateNiceRange()':
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:793:28: error: 'isnan' was not declared in this scope
> if(!isnan(mMaxValue) && mMaxValue * 0.99 > max) //Allow max value to go very slightly over the given max, for rounding reasons
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:793:28: 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/qlist.h:37,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QList:1,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.h:27,
> from /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:29:
> /usr/include/c++/5/cmath:641:5: note: 'std::isnan'
> isnan(_Tp __x)
> ^
> /<<PKGBUILDDIR>>/signalplotter/ksignalplotter.cpp:795:28: error: 'isnan' was not declared in this scope
> if(!isnan(mMinValue) && mMinValue * 0.99 < min) {
...
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
Reply to: