Source: collectd
Version: 5.7.1-1.1
Severity: serious
Tags: buster sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20170805 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> /bin/bash ../../libtool  --tag=CC   --mode=compile x86_64-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I../../src   -I../../src/libcollectdclient/collectd 
> -I../../src/libcollectdclient/collectd -I../../src/daemon  -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/debian/include -UCONFIGFILE 
> -DCONFIGFILE='"/etc/collectd/collectd.conf"' -Wall -Werror -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -Wno-error=deprecated-declarations -c -o 
> libcollectdclient_la-client.lo `test -f 'client.c' || echo './'`client.c
> libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src 
> -I../../src/libcollectdclient/collectd -I../../src/libcollectdclient/collectd 
> -I../../src/daemon -Wdate-time -D_FORTIFY_SOURCE=2 
> -I/<<PKGBUILDDIR>>/debian/include -UCONFIGFILE 
> -DCONFIGFILE=\"/etc/collectd/collectd.conf\" -Wall -Werror -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -Wno-error=deprecated-declarations -c client.c  
> -fPIC -DPIC -o .libs/libcollectdclient_la-client.o
> client.c: In function 'lcc_getval':
> client.c:621:23: error: '%s' directive output may be truncated writing up to 
> 1023 bytes into a region of size 1010 [-Werror=format-truncation=]
>      LCC_SET_ERRSTR(c, "Server error: %s", res.message);
>                        ^                   ~
> client.c:94:48: note: in definition of macro 'LCC_SET_ERRSTR'
>      snprintf((c)->errbuf, sizeof((c)->errbuf), __VA_ARGS__);                 
>   \
>                                                 ^~~~~~~~~~~
> In file included from /usr/include/stdio.h:938:0,
>                  from client.c:42:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: 
> '__builtin___snprintf_chk' output between 15 and 1038 bytes into a 
> destination of size 1024
>    return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>         __bos (__s), __fmt, __va_arg_pack ());
>         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> client.c: In function 'lcc_putval':
> client.c:754:23: error: '%s' directive output may be truncated writing up to 
> 1023 bytes into a region of size 1010 [-Werror=format-truncation=]
>      LCC_SET_ERRSTR(c, "Server error: %s", res.message);
>                        ^                   ~
> client.c:94:48: note: in definition of macro 'LCC_SET_ERRSTR'
>      snprintf((c)->errbuf, sizeof((c)->errbuf), __VA_ARGS__);                 
>   \
>                                                 ^~~~~~~~~~~
> In file included from /usr/include/stdio.h:938:0,
>                  from client.c:42:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: 
> '__builtin___snprintf_chk' output between 15 and 1038 bytes into a 
> destination of size 1024
>    return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>         __bos (__s), __fmt, __va_arg_pack ());
>         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> client.c: In function 'lcc_flush':
> client.c:802:23: error: '%s' directive output may be truncated writing up to 
> 1023 bytes into a region of size 1010 [-Werror=format-truncation=]
>      LCC_SET_ERRSTR(c, "Server error: %s", res.message);
>                        ^                   ~
> client.c:94:48: note: in definition of macro 'LCC_SET_ERRSTR'
>      snprintf((c)->errbuf, sizeof((c)->errbuf), __VA_ARGS__);                 
>   \
>                                                 ^~~~~~~~~~~
> In file included from /usr/include/stdio.h:938:0,
>                  from client.c:42:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: 
> '__builtin___snprintf_chk' output between 15 and 1038 bytes into a 
> destination of size 1024
>    return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>         __bos (__s), __fmt, __va_arg_pack ());
>         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> client.c: In function 'lcc_listval':
> client.c:834:23: error: '%s' directive output may be truncated writing up to 
> 1023 bytes into a region of size 1010 [-Werror=format-truncation=]
>      LCC_SET_ERRSTR(c, "Server error: %s", res.message);
>                        ^                   ~
> client.c:94:48: note: in definition of macro 'LCC_SET_ERRSTR'
>      snprintf((c)->errbuf, sizeof((c)->errbuf), __VA_ARGS__);                 
>   \
>                                                 ^~~~~~~~~~~
> In file included from /usr/include/stdio.h:938:0,
>                  from client.c:42:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: 
> '__builtin___snprintf_chk' output between 15 and 1038 bytes into a 
> destination of size 1024
>    return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>         __bos (__s), __fmt, __va_arg_pack ());
>         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> Makefile:649: recipe for target 'libcollectdclient_la-client.lo' failed
> make[5]: *** [libcollectdclient_la-client.lo] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/08/05/collectd_5.7.1-1.1_unstable.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