Source: binutils-avr
Version: 2.26.20160125+Atmel3.6.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye

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. -I. -I./../include  -DHAVE_avr_elf32_vec 
> -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec  
> -DBINDIR='"/usr/bin"'  -W -Wall -Wstrict-prototypes -Wmissing-prototypes 
> -Wshadow -Werror  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security 
> -Wno-implicit-fallthrough -Wno-format-overflow -Wno-pointer-compare 
> -Wno-error=cast-function-type -Wno-error=stringop-truncation -MT elf.lo -MD 
> -MP -MF .deps/elf.Tpo -c -o elf.lo elf.c
> libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. 
> -I./../include -DHAVE_avr_elf32_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec 
> -DHAVE_plugin_vec -DBINDIR=\"/usr/bin\" -W -Wall -Wstrict-prototypes 
> -Wmissing-prototypes -Wshadow -Werror -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wno-implicit-fallthrough -Wno-format-overflow 
> -Wno-pointer-compare -Wno-error=cast-function-type 
> -Wno-error=stringop-truncation -MT elf.lo -MD -MP -MF .deps/elf.Tpo -c elf.c 
> -o elf.o
> elf.c: In function ‘setup_group’:
> elf.c:706:35: error: overflow in conversion from ‘unsigned int’ to ‘int’ 
> changes value from ‘num_group = 4294967295’ to ‘-1’ [-Werror=overflow]
>   706 |     elf_tdata (abfd)->num_group = num_group = -1;
>       |                                   ^~~~~~~~~
> In file included from elf.c:45:
> elf.c: In function ‘elfcore_write_linux_prpsinfo32’:
> elf-linux-psinfo.h:73:7: warning: ‘strncpy’ output may be truncated copying 
> 16 bytes from a string of length 16 [-Wstringop-truncation]
>    73 |       strncpy (to.pr_fname, from->pr_fname, sizeof (to.pr_fname)); \
>       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> elf.c:9792:3: note: in expansion of macro ‘LINUX_PRPSINFO32_SWAP_FIELDS’
>  9792 |   LINUX_PRPSINFO32_SWAP_FIELDS (abfd, prpsinfo, data);
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> elf-linux-psinfo.h:74:7: warning: ‘strncpy’ output may be truncated copying 
> 80 bytes from a string of length 80 [-Wstringop-truncation]
>    74 |       strncpy (to.pr_psargs, from->pr_psargs, sizeof (to.pr_psargs)); 
> \
>       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> elf.c:9792:3: note: in expansion of macro ‘LINUX_PRPSINFO32_SWAP_FIELDS’
>  9792 |   LINUX_PRPSINFO32_SWAP_FIELDS (abfd, prpsinfo, data);
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> elf.c: In function ‘elfcore_write_linux_prpsinfo64’:
> elf-linux-psinfo.h:123:7: warning: ‘strncpy’ output may be truncated copying 
> 16 bytes from a string of length 16 [-Wstringop-truncation]
>   123 |       strncpy (to.pr_fname, from->pr_fname, sizeof (to.pr_fname)); \
>       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> elf.c:9806:3: note: in expansion of macro ‘LINUX_PRPSINFO64_SWAP_FIELDS’
>  9806 |   LINUX_PRPSINFO64_SWAP_FIELDS (abfd, prpsinfo, data);
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> elf-linux-psinfo.h:124:7: warning: ‘strncpy’ output may be truncated copying 
> 80 bytes from a string of length 80 [-Wstringop-truncation]
>   124 |       strncpy (to.pr_psargs, from->pr_psargs, sizeof (to.pr_psargs)); 
> \
>       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> elf.c:9806:3: note: in expansion of macro ‘LINUX_PRPSINFO64_SWAP_FIELDS’
>  9806 |   LINUX_PRPSINFO64_SWAP_FIELDS (abfd, prpsinfo, data);
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [Makefile:1631: elf.lo] Error 1

The full build log is available from:
   
http://qa-logs.debian.net/2020/08/02/binutils-avr_2.26.20160125+Atmel3.6.2-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