Source: kcollectd
Version: 0.9-2.1
Severity: serious
Tags: stretch sid
User: [email protected]
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> make[3]: Entering directory '/«PKGBUILDDIR»/BUILD'
> [ 10%] Building CXX object 
> kcollectd/CMakeFiles/kcollectd.dir/kcollectd_automoc.cpp.o
> [ 20%] Building CXX object kcollectd/CMakeFiles/kcollectd.dir/graph.cc.o
> /«PKGBUILDDIR»/kcollectd/graph.cc: In member function 'void 
> Graph::drawGraph(QPainter&, const QRect&, const GraphInfo&, double, double)':
> /«PKGBUILDDIR»/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;
>                                      ^
> /«PKGBUILDDIR»/kcollectd/graph.cc:567:37: note: suggested alternative:
> In file included from /«PKGBUILDDIR»/kcollectd/graph.cc:25:0:
> /usr/include/c++/6/cmath:655:5: note:   'std::isnan'
>      isnan(_Tp __x)
>      ^~~~~
> /«PKGBUILDDIR»/kcollectd/graph.cc:569:37: error: 'isnan' was not declared in 
> this scope
>   while (i<size && !isnan(min_data[i]) && !isnan(max_data[i])) ++i;
>                                      ^
> /«PKGBUILDDIR»/kcollectd/graph.cc:569:37: note: suggested alternative:
> In file included from /«PKGBUILDDIR»/kcollectd/graph.cc:25:0:
> /usr/include/c++/6/cmath:655:5: note:   'std::isnan'
>      isnan(_Tp __x)
>      ^~~~~
> /«PKGBUILDDIR»/kcollectd/graph.cc:600:36: error: 'isnan' was not declared in 
> this scope
>   while (i<size && isnan(avg_data[i])) ++i;
>                                     ^
> /«PKGBUILDDIR»/kcollectd/graph.cc:600:36: note: suggested alternative:
> In file included from /«PKGBUILDDIR»/kcollectd/graph.cc:25:0:
> /usr/include/c++/6/cmath:655:5: note:   'std::isnan'
>      isnan(_Tp __x)
>      ^~~~~
> /«PKGBUILDDIR»/kcollectd/graph.cc:602:37: error: 'isnan' was not declared in 
> this scope
>   while (i<size && !isnan(avg_data[i])) ++i;
>                                      ^
> /«PKGBUILDDIR»/kcollectd/graph.cc:602:37: note: suggested alternative:
> In file included from /«PKGBUILDDIR»/kcollectd/graph.cc:25:0:
> /usr/include/c++/6/cmath:655:5: note:   'std::isnan'
>      isnan(_Tp __x)
>      ^~~~~
> make[3]: *** [kcollectd/CMakeFiles/kcollectd.dir/graph.cc.o] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2016/07/13/kcollectd_0.9-2.1_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to