Source: qemu
Version: 1:6.1+dfsg-6
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211023 ftbfs-bullseye

Hi,

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


Relevant part (hopefully):
> powerpc64-linux-gnu-gcc $EXTRACFLAGS -m32 -mcpu=604 -msoft-float 
> -fno-builtin-bcopy -fno-builtin-log2 -Os -g 
> -DNATIVE_BITWIDTH_EQUALS_HOST_BITWIDTH -USWAP_ENDIANNESS -Wall 
> -Wredundant-decls -Wshadow -Wpointer-arith -Wstrict-prototypes 
> -Wmissing-declarations -Wundef -Wendif-labels -Wstrict-aliasing 
> -Wwrite-strings -Wmissing-prototypes -Wnested-externs -Werror -MMD -MP -MT 
> target/drivers/usbohci_rh.o -MF 'target/drivers/usbohci_rh.d' 
> -I/<<PKGBUILDDIR>>/roms/openbios/include 
> -I/<<PKGBUILDDIR>>/roms/openbios/kernel/include -I./target/include -c -o 
> target/drivers/usbohci_rh.o 
> /<<PKGBUILDDIR>>/roms/openbios/drivers/usbohci_rh.c
> /<<PKGBUILDDIR>>/roms/openbios/drivers/usb.c: In function ‘get_descriptor’:
> /<<PKGBUILDDIR>>/roms/openbios/drivers/usb.c:200:23: error: array subscript 
> ‘device_descriptor_t[0]’ is partly outside array bounds of ‘u8[8]’ {aka 
> ‘unsigned char[8]’} [-Werror=array-bounds]
>   200 |                 if (dd->bMaxPacketSize0 != 0)
>       |                       ^~
> /<<PKGBUILDDIR>>/roms/openbios/drivers/usb.c:181:12: note: while referencing 
> ‘buf’
>   181 |         u8 buf[8];
>       |            ^~~
> /<<PKGBUILDDIR>>/roms/openbios/drivers/usbohci.c: In function 
> ‘ohci_create_intr_queue’:
> /<<PKGBUILDDIR>>/roms/openbios/drivers/usbohci.c:703:35: warning: taking 
> address of packed member of ‘struct <anonymous>’ may result in an unaligned 
> pointer value [-Waddress-of-packed-member]
>   703 |         u32 *const intr_table   = ohci->hcca->HccaInterruptTable;
>       |                                   ^~~~
> /<<PKGBUILDDIR>>/roms/openbios/drivers/usbohci.c: In function 
> ‘ohci_destroy_intr_queue’:
> /<<PKGBUILDDIR>>/roms/openbios/drivers/usbohci.c:734:35: warning: taking 
> address of packed member of ‘struct <anonymous>’ may result in an unaligned 
> pointer value [-Waddress-of-packed-member]
>   734 |         u32 *const intr_table   = ohci->hcca->HccaInterruptTable;
>       |                                   ^~~~
> /<<PKGBUILDDIR>>/roms/openbios/drivers/usbohci.c: In function 
> ‘ohci_process_done_queue’:
> /<<PKGBUILDDIR>>/roms/openbios/drivers/usbohci.c:840:25: warning: converting 
> a packed ‘td_t’ pointer (alignment 1) to a ‘intrq_td_t’ {aka ‘struct 
> _intrq_td’} pointer (alignment 4) may result in an unaligned pointer value 
> [-Waddress-of-packed-member]
>   840 |                         intrq_td_t *const td = 
> INTRQ_TD_FROM_TD(done_td);
>       |                         ^~~~~~~~~~
> /<<PKGBUILDDIR>>/roms/openbios/drivers/usbohci.c:607:8: note: defined here
>   607 | struct _intrq_td {
>       |        ^~~~~~~~~
> cc1: all warnings being treated as errors
> make[1]: *** [rules.mak:229: target/drivers/usb.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/qemu_6.1+dfsg-6_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