Source: libtrace3
Version: 3.0.21-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

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


Relevant part (hopefully):
> make[4]: Entering directory '/<<PKGBUILDDIR>>/lib'
>   CC       trace.lo
> In file included from /usr/include/string.h:519,
>                  from trace.c:43:
> In function ‘strncpy’,
>     inlined from ‘xstrncpy’ at trace.c:114:9,
>     inlined from ‘trace_create_dead’ at trace.c:332:3:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:91:10: warning: 
> ‘__builtin___strncpy_chk’ output truncated before terminating nul copying as 
> many bytes from a string as its length [-Wstringop-truncation]
>    91 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos 
> (__dest));
>       |          
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> trace.c: In function ‘trace_create_dead’:
> trace.c:332:17: note: length computed here
>   332 |                 xstrncpy(scan, uri, strlen(uri));
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   CC       format_erf.lo
>   CC       format_pcap.lo
>   CC       format_legacy.lo
>   CC       format_rt.lo
>   CC       format_helper.lo
> format_helper.c: In function ‘trace_set_err’:
> format_helper.c:303:36: warning: ‘: ’ directive output may be truncated 
> writing 2 bytes into a region of size between 0 and 255 [-Wformat-truncation=]
>   303 |                                 "%s: %s",buf,strerror(errcode));
>       |                                    ^~
> In file included from /usr/include/stdio.h:866,
>                  from ../libwandio/wandio.h:37,
>                  from libtrace_int.h:60,
>                  from format_helper.c:39:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:70:10: note: 
> ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 258) into a 
> destination of size 255
>    70 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    71 |                                    __bos (__s), __fmt, __va_arg_pack 
> ());
>       |                                    
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> format_helper.c: In function ‘trace_set_err_out’:
> format_helper.c:326:36: warning: ‘: ’ directive output may be truncated 
> writing 2 bytes into a region of size between 0 and 255 [-Wformat-truncation=]
>   326 |                                 "%s: %s",buf,strerror(errno));
>       |                                    ^~
> In file included from /usr/include/stdio.h:866,
>                  from ../libwandio/wandio.h:37,
>                  from libtrace_int.h:60,
>                  from format_helper.c:39:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:70:10: note: 
> ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 258) into a 
> destination of size 255
>    70 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    71 |                                    __bos (__s), __fmt, __va_arg_pack 
> ());
>       |                                    
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   CC       format_pcapfile.lo
>   CC       format_duck.lo
>   CC       format_tsh.lo
>   CC       format_linux.lo
> format_linux.c: In function ‘linuxring_init_input’:
> format_linux.c:373:47: warning: implicit conversion from ‘enum base_format_t’ 
> to ‘libtrace_rt_types_t’ [-Wenum-conversion]
>   373 |         FORMAT(libtrace->format_data)->format = 
> TRACE_FORMAT_LINUX_RING;
>       |                                               ^
> format_linux.c: In function ‘linuxnative_init_input’:
> format_linux.c:379:47: warning: implicit conversion from ‘enum base_format_t’ 
> to ‘libtrace_rt_types_t’ [-Wenum-conversion]
>   379 |         FORMAT(libtrace->format_data)->format = 
> TRACE_FORMAT_LINUX_NATIVE;
>       |                                               ^
> format_linux.c: In function ‘linuxnative_init_output’:
> format_linux.c:396:35: warning: implicit conversion from ‘enum base_format_t’ 
> to ‘libtrace_rt_types_t’ [-Wenum-conversion]
>   396 |         DATAOUT(libtrace)->format = TRACE_FORMAT_LINUX_NATIVE;
>       |                                   ^
> format_linux.c: In function ‘linuxring_init_output’:
> format_linux.c:402:35: warning: implicit conversion from ‘enum base_format_t’ 
> to ‘libtrace_rt_types_t’ [-Wenum-conversion]
>   402 |         DATAOUT(libtrace)->format = TRACE_FORMAT_LINUX_RING;
>       |                                   ^
> format_linux.c: In function ‘linuxnative_read_packet’:
> format_linux.c:1014:35: error: ‘SIOCGSTAMP’ undeclared (first use in this 
> function); did you mean ‘SIOCGARP’?
>  1014 |                                   SIOCGSTAMP,&tv)==0) {
>       |                                   ^~~~~~~~~~
>       |                                   SIOCGARP
> format_linux.c:1014:35: note: each undeclared identifier is reported only 
> once for each function it appears in
> format_linux.c: In function ‘linuxring_write_packet’:
> format_linux.c:1216:17: warning: this ‘if’ clause does not guard... 
> [-Wmisleading-indentation]
>  1216 |                 if(ret == 0)
>       |                 ^~
> format_linux.c:1226:25: note: ...this statement, but the latter is 
> misleadingly indented as if it were guarded by the ‘if’
>  1226 |                         if (ret < 0) {
>       |                         ^~
> make[4]: *** [Makefile:607: format_linux.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/libtrace3_3.0.21-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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to