Source: collectd
Version: 5.5.1-4
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
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):
> /bin/bash ../libtool  --tag=CC   --mode=compile x86_64-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I.  -I./daemon -DPREFIX='"/usr"' 
> -DCONFIGFILE='"/etc/collectd.conf"' -DLOCALSTATEDIR='"/var"' 
> -DPKGLOCALSTATEDIR='"/var/lib/collectd"' -DPIDFILE='"/var/run/collectd.pid"' 
> -DPLUGINDIR='"/usr/lib/collectd"' -DPKGDATADIR='"/usr/share/collectd"'  
> -Wdate-time -D_FORTIFY_SOURCE=2 -I/«PKGBUILDDIR»/debian/include -UCONFIGFILE 
> -DCONFIGFILE='"/etc/collectd/collectd.conf"' -Wall -Werror -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -Wall 
> -Wno-error=deprecated-declarations -MT write_kafka_la-write_kafka.lo -MD -MP 
> -MF .deps/write_kafka_la-write_kafka.Tpo -c -o write_kafka_la-write_kafka.lo 
> `test -f 'write_kafka.c' || echo './'`write_kafka.c
> libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./daemon 
> -DPREFIX=\"/usr\" -DCONFIGFILE=\"/etc/collectd.conf\" 
> -DLOCALSTATEDIR=\"/var\" -DPKGLOCALSTATEDIR=\"/var/lib/collectd\" 
> -DPIDFILE=\"/var/run/collectd.pid\" -DPLUGINDIR=\"/usr/lib/collectd\" 
> -DPKGDATADIR=\"/usr/share/collectd\" -Wdate-time -D_FORTIFY_SOURCE=2 
> -I/«PKGBUILDDIR»/debian/include -UCONFIGFILE 
> -DCONFIGFILE=\"/etc/collectd/collectd.conf\" -Wall -Werror -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -Wall 
> -Wno-error=deprecated-declarations -MT write_kafka_la-write_kafka.lo -MD -MP 
> -MF .deps/write_kafka_la-write_kafka.Tpo -c write_kafka.c  -fPIC -DPIC -o 
> .libs/write_kafka_la-write_kafka.o
> write_kafka.c: In function 'kafka_handle':
> write_kafka.c:119:6: warning: 'rd_kafka_set_logger' is deprecated 
> [-Wdeprecated-declarations]
>       rd_kafka_set_logger(ctx->kafka, kafka_log);
>       ^~~~~~~~~~~~~~~~~~~
> In file included from write_kafka.c:38:0:
> /usr/include/librdkafka/rdkafka.h:2400:6: note: declared here
>  void rd_kafka_set_logger(rd_kafka_t *rk,
>       ^~~~~~~~~~~~~~~~~~~
> write_kafka.c: In function 'kafka_config':
> write_kafka.c:473:5: error: this 'if' clause does not guard... 
> [-Werror=misleading-indentation]
>      if (conf != NULL)
>      ^~
> write_kafka.c:475:2: note: ...this statement, but the latter is misleadingly 
> indented as if it is guarded by the 'if'
>   return (0);
>   ^~~~~~
> cc1: all warnings being treated as errors
> make[4]: *** [write_kafka_la-write_kafka.lo] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2016/07/13/collectd_5.5.1-4_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