Source: binutils-z80
Version: 4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220728 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./config -I./../include -I./.. 
> -I./../bfd -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time 
> -D_FORTIFY_SOURCE=2 -W -Wall -Wstrict-prototypes -Wmissing-prototypes 
> -Wshadow -Wstack-usage=262144 -Werror -Wwrite-strings -I./../zlib -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security     -c -o config/obj-coff.o config/obj-coff.c
> yes
> checking if gcc supports -c -o file.o... gcc -DHAVE_CONFIG_H -I.  -I. -I. 
> -I../bfd -I./config -I./../include -I./.. -I./../bfd 
> -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall 
> -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 
> -Werror -Wwrite-strings -I./../zlib -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security     -c -o config/atof-ieee.o config/atof-ieee.c
> yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (ld -m elf_x86_64) supports shared 
> libraries... yes
> checking dynamic linker characteristics... touch doc/as.1
> perl ./../etc/texi2pod.pl -I "./doc" -I doc -I "./../libiberty" -I 
> "./../bfd/doc" -I ../bfd/doc --no-split -Dman < ./doc/as.texi > doc/as.pod
> GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... (pod2man 
> --center="GNU Development Tools" --release="binutils-2.38.90" --section=1 
> doc/as.pod | \
>         sed -e '/^.if n .na/d' > doc/as.1.T$$ && \
>         mv -f doc/as.1.T$$ doc/as.1) || \
>         (rm -f doc/as.1.T$$ && exit 1)
> no
> checking for aclocal... ${SHELL} /<<PKGBUILDDIR>>/build/missing aclocal-1.15
> checking for autoconf... ${SHELL} /<<PKGBUILDDIR>>/build/missing autoconf
> checking for autoheader... ${SHELL} /<<PKGBUILDDIR>>/build/missing autoheader
> checking whether gcc supports -W... yes
> checking whether gcc supports -Wall... yes
> checking whether gcc supports -Wnarrowing... restore=: && backupdir=".am$$" 
> && \
> rm -rf $backupdir && mkdir $backupdir && \
> if (makeinfo --split-size=5000000 --split-size=5000000 --version) >/dev/null 
> 2>&1; then \
>   for f in doc/as.info doc/as.info-[0-9] doc/as.info-[0-9][0-9] doc/as.i[0-9] 
> doc/as.i[0-9][0-9]; do \
>     if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
>   done; \
> else :; fi && \
> if makeinfo --split-size=5000000 --split-size=5000000 -I "./doc" -I doc -I 
> "./../libiberty" -I "./../bfd/doc" -I ../bfd/doc --no-split  -I doc -I ./doc \
>  -o doc/as.info `test -f 'doc/as.texi' || echo './'`doc/as.texi; \
> then \
>   rc=0; \
> else \
>   rc=$?; \
>   $restore $backupdir/* `echo "./doc/as.info" | sed 's|[^/]*$||'`; \
> fi; \
> rm -rf $backupdir; exit $rc
> yes
> checking whether gcc supports -Wwrite-strings... yes
> checking whether gcc supports -Wmissing-format-attribute... yes
> checking whether gcc supports -Wstrict-prototypes... yes
> checking whether gcc supports -Wmissing-prototypes... yes
> checking whether gcc supports -Wold-style-definition... rm -f doc/as.pod
> yes
> checking whether gcc supports -pedantic -Wlong-long... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking whether to install libbfd... no
> checking whether gcc supports -Wall... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for sys/param.h... yes
> checking for getpagesize... yes
> checking for working mmap... In file included from /usr/include/stdlib.h:1018,
>                  from as.h:44,
>                  from read.c:33:
> In function ‘mbstowcs’,
>     inlined from ‘read_symbol_name’ at read.c:1670:11:
> /usr/include/x86_64-linux-gnu/bits/stdlib.h:134:10: error: argument 1 is null 
> but the corresponding size argument 3 value is [128, 9223372036854775807] 
> [-Werror=nonnull]
>   134 |   return __mbstowcs_alias (__dst, __src, __len);
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/features.h:472,
>                  from 
> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
>                  from /usr/include/stdio.h:27,
>                  from as.h:42:
> /usr/include/x86_64-linux-gnu/bits/stdlib.h: In function ‘read_symbol_name’:
> /usr/include/x86_64-linux-gnu/bits/stdlib.h:107:15: note: in a call to 
> function ‘__mbstowcs_alias’ declared with attribute ‘access (read_only, 2)’
>   107 | extern size_t __REDIRECT_NTH (__mbstowcs_alias,
>       |               ^~~~~~~~~~~~~~
> yes
> checking for library containing dlsym... -ldl
> checking for ELF support in BFD... as.texi:2101: warning: @refill is obsolete.
> as.texi:3012: warning: @refill is obsolete.
> as.texi:3032: warning: @refill is obsolete.
> as.texi:3231: warning: @refill is obsolete.
> no
> checking whether byte ordering is bigendian... no
> checking byteswap.h usability... yes
> checking byteswap.h presence... yes
> checking for byteswap.h... yes
> checking endian.h usability... yes
> checking endian.h presence... yes
> checking for endian.h... yes
> checking for pread... cc1: all warnings being treated as errors
> make[5]: *** [Makefile:1423: read.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/binutils-z80_4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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