Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 613174 - kde-misc/kcollectd-0.9-r1 : /.../graph.cc:567:37: error: ‘isnan’ was not declared in this scope
Summary: kde-misc/kcollectd-0.9-r1 : /.../graph.cc:567:37: error: ‘isnan’ was not decl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-6
  Show dependency tree
 
Reported: 2017-03-19 08:28 UTC by Toralf Förster
Modified: 2017-03-19 23:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,6.05 KB, text/plain)
2017-03-19 08:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,395.69 KB, text/plain)
2017-03-19 08:28 UTC, Toralf Förster
Details
environment (environment,156.74 KB, text/plain)
2017-03-19 08:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,54.92 KB, application/x-bzip)
2017-03-19 08:28 UTC, Toralf Förster
Details
kde-misc:kcollectd-0.9-r1:20170319-051030.log (kde-misc:kcollectd-0.9-r1:20170319-051030.log,18.94 KB, text/plain)
2017-03-19 08:28 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,38.66 KB, application/x-bzip)
2017-03-19 08:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-03-19 08:28:41 UTC
cd /var/tmp/portage/kde-misc/kcollectd-0.9-r1/work/kcollectd-0.9_build/kcollectd && /usr/bin/x86_64-pc-linux-gnu-g++  -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/tmp/portage/kde-misc/kcollectd-0.9-r1/work/kcollectd-0.9_build/kcollectd -I/var/tmp/portage/kde-misc/kcollectd-0.9-r1/work/kcollectd-0.9/kcollectd -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4   -DQT_NO_DEBUG -DNDEBUG -Werror=terminate -O2 -pipe -march=native -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS   -Wall -g -o CMakeFiles/kcollectd.dir/graph.cc.o -c /var/tmp/portage/kde-misc/kcollectd-0.9-r1/work/kcollectd-0.9/kcollectd/graph.cc
/var/tmp/portage/kde-misc/kcollectd-0.9-r1/work/kcollectd-0.9/kcollectd/graph.cc: In member function ‘void Graph::drawGraph(QPainter&, const QRect&, const GraphInfo&, double, double)’:
/var/tmp/portage/kde-misc/kcollectd-0.9-r1/work/kcollectd-0.9/kcollectd/graph.cc:567:37: error: ‘isnan’ was not declared in this scope
  while (i<size && (isnan(min_data[i]) || isnan(max_data[i]))) ++i;
                                     ^
/var/tmp/portage/kde-misc/kcollectd-0.9-r1/work/kcollectd-0.9/kcollectd/graph.cc:567:37: note: suggested alternative:

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named plasma-abi32+64_20170309-193709) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 7.2.6.9 [icedtea-7]
2)	IcedTea JDK 7.2.6.9 [icedtea-bin-7]
3)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-7  system-vm
  [2]   icedtea-bin-7 
  [3]   icedtea-bin-8
Comment 1 Toralf Förster gentoo-dev 2017-03-19 08:28:44 UTC
Created attachment 467490 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-19 08:28:47 UTC
Created attachment 467492 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-03-19 08:28:51 UTC
Created attachment 467494 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-03-19 08:28:54 UTC
Created attachment 467496 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-03-19 08:28:58 UTC
Created attachment 467498 [details]
kde-misc:kcollectd-0.9-r1:20170319-051030.log
Comment 6 Toralf Förster gentoo-dev 2017-03-19 08:29:02 UTC
Created attachment 467500 [details]
temp.tbz2
Comment 7 Peter Levine 2017-03-19 21:35:27 UTC
PR: https://github.com/gentoo/gentoo/pull/4247
Comment 8 Andreas Sturmlechner gentoo-dev 2017-03-19 23:17:14 UTC
Thanks a lot! Fixed in commit 7e7ffe5d302c447dfbdf02bcce2dda8debbc4542