Source: openbios
Version: 1.1.git20181001-1
Severity: serious
Tags: ftbfs

Dear maintainer,

your package failed to rebuild in a standard sid chroot:


powerpc-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.o -MF 'target/drivers/usbohci.d' 
-I/build/1st/openbios-1.1.git20181001/include 
-I/build/1st/openbios-1.1.git20181001/kernel/include -I./target/include -c -o 
target/drivers/usbohci.o /build/1st/openbios-1.1.git20181001/drivers/usbohci.c
In file included from /build/1st/openbios-1.1.git20181001/drivers/usbohci.c:43:
/build/1st/openbios-1.1.git20181001/drivers/usbohci.c: In function 'ohci_init':
/build/1st/openbios-1.1.git20181001/drivers/usbohci_private.h:259:31: error: 
taking address of packed member of 'struct <anonymous>' may result in an 
unaligned pointer value [-Werror=address-of-packed-member]
  259 | #define OHCI_INST(controller) ((ohci_t*)((controller)->instance))
      |                               ^
/build/1st/openbios-1.1.git20181001/drivers/usbohci.c:235:26: note: in 
expansion of macro 'OHCI_INST'
  235 |  u32 *const intr_table = 
OHCI_INST(controller)->hcca->HccaInterruptTable;
      |                          ^~~~~~~~~
/build/1st/openbios-1.1.git20181001/drivers/usbohci.c: In function 
'ohci_create_intr_queue':
/build/1st/openbios-1.1.git20181001/drivers/usbohci.c:701:26: error: taking 
address of packed member of 'struct <anonymous>' may result in an unaligned 
pointer value [-Werror=address-of-packed-member]
  701 |  u32 *const intr_table = ohci->hcca->HccaInterruptTable;
      |                          ^~~~
/build/1st/openbios-1.1.git20181001/drivers/usbohci.c: In function 
'ohci_destroy_intr_queue':
/build/1st/openbios-1.1.git20181001/drivers/usbohci.c:732:26: error: taking 
address of packed member of 'struct <anonymous>' may result in an unaligned 
pointer value [-Werror=address-of-packed-member]
  732 |  u32 *const intr_table = ohci->hcca->HccaInterruptTable;
      |                          ^~~~
/build/1st/openbios-1.1.git20181001/drivers/usbohci.c: In function 
'ohci_process_done_queue':
/build/1st/openbios-1.1.git20181001/drivers/usbohci.c:838:4: error: converting 
a packed 'td_t' {aka 'volatile struct <anonymous>'} pointer (alignment 1) to a 
'intrq_td_t' {aka 'struct _intrq_td'} pointer (alignment 4) may result in an 
unaligned pointer value [-Werror=address-of-packed-member]
  838 |    intrq_td_t *const td = INTRQ_TD_FROM_TD(done_td);
      |    ^~~~~~~~~~
/build/1st/openbios-1.1.git20181001/drivers/usbohci.c:605:8: note: defined here
  605 | struct _intrq_td {
      |        ^~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [rules.mak:233: target/drivers/usbohci.o] Error 1
make[2]: Leaving directory '/build/1st/openbios-1.1.git20181001/obj-ppc'
make[1]: *** [debian/rules:25: obj-ppc/.built] Error 2
make[1]: Leaving directory '/build/1st/openbios-1.1.git20181001'
make: *** [debian/rules:18: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply via email to