Source: binutils-m68hc1x
Version: 1:3.0.2
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../../src/gas  -I. -I../../src/gas -I../bfd 
> -I../../src/gas/config -I../../src/gas/../include -I../../src/gas/.. 
> -I../../src/gas/../bfd -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time 
> -D_FORTIFY_SOURCE=2 -W -Wall -Wstrict-prototypes -Wmissing-prototypes 
> -Wshadow -Wstack-usage=262144 -Werror -Wwrite-strings  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security     -c -o config/tc-m68hc11.o 
> ../../src/gas/config/tc-m68hc11.c
> 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... gcc 
> -DHAVE_CONFIG_H -I. -I../../src/gas  -I. -I../../src/gas -I../bfd 
> -I../../src/gas/config -I../../src/gas/../include -I../../src/gas/.. 
> -I../../src/gas/../bfd -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time 
> -D_FORTIFY_SOURCE=2 -W -Wall -Wstrict-prototypes -Wmissing-prototypes 
> -Wshadow -Wstack-usage=262144 -Werror -Wwrite-strings  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security     -c -o config/obj-elf.o 
> ../../src/gas/config/obj-elf.c
> no
> checking for aclocal... ${SHELL} '/<<PKGBUILDDIR>>/src/missing' aclocal-1.16
> checking for autoconf... ${SHELL} '/<<PKGBUILDDIR>>/src/missing' autoconf
> checking for autoheader... ${SHELL} '/<<PKGBUILDDIR>>/src/missing' autoheader
> checking whether gcc supports -W... yes
> checking whether gcc supports -Wall... gcc -DHAVE_CONFIG_H -I. 
> -I../../src/gas  -I. -I../../src/gas -I../bfd -I../../src/gas/config 
> -I../../src/gas/../include -I../../src/gas/.. -I../../src/gas/../bfd 
> -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall 
> -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 
> -Werror -Wwrite-strings  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security     -c -o 
> config/atof-ieee.o ../../src/gas/config/atof-ieee.c
> yes
> checking whether gcc supports -Wnarrowing... yes
> checking whether gcc supports -Wwrite-strings... yes
> checking whether gcc supports -Wmissing-format-attribute... yes
> checking whether gcc supports -Wstrict-prototypes... yes
> touch doc/as.1
> checking whether gcc supports -Wmissing-prototypes... perl 
> ../../src/gas/../etc/texi2pod.pl -I "../../src/gas/doc" -I doc -I 
> "../../src/gas/../libiberty" -I "../../src/gas/../bfd/doc" -I ../bfd/doc 
> --no-split -Dman < ../../src/gas/doc/as.texi > doc/as.pod
> yes
> checking whether gcc supports -Wold-style-definition... yes
> checking whether gcc supports -pedantic -Wlong-long... (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)
> 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 "../../src/gas/doc" 
> -I doc -I "../../src/gas/../libiberty" -I "../../src/gas/../bfd/doc" -I 
> ../bfd/doc --no-split  -I doc -I ../../src/gas/doc \
>  -o doc/as.info `test -f 'doc/as.texi' || echo '../../src/gas/'`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 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... yes
> checking for library containing dlsym... rm -f doc/as.pod
> -ldl
> checking for ELF support in BFD... In file included from 
> /usr/include/stdlib.h:1018,
>                  from ../../src/gas/as.h:44,
>                  from ../../src/gas/read.c:33:
> In function ‘mbstowcs’,
>     inlined from ‘read_symbol_name’ at ../../src/gas/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 ../../src/gas/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 whether byte ordering is bigendian... 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 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... yes
> checking whether bswap_16 is declared... yes
> checking whether bswap_32 is declared... yes
> checking whether bswap_64 is declared... yes
> checking whether asprintf is declared... yes
> checking whether vasprintf is declared... yes
> checking whether stpcpy is declared... cc1: all warnings being treated as 
> errors
> make[5]: *** [Makefile:1486: read.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/binutils-m68hc1x_3.0.2_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