[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#560114: brltty: FTBFS on kfreebsd-* with 8.x kernels



Package: brltty
Version: 4.1-3
Severity: important
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

Hi,

I know it's technically a regression and that this should be RC since
your package already built on kfreebsd-* but as discussed on IRC, we're
trying to coordinate the removal of the offending binaries.

Given changes in the USB stack (you can read details in [1]), your
package FTBFS with recent freebsd kernel/headers (full log at [2]):
| gcc -Wall -g -O2 -I. -I../../Programs -I./../Programs -I../../Programs -I./.. -I../.. -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DHAVE_CONFIG_H -c ../../Programs/usb_kfreebsd.c
| In file included from ../../Programs/usb_kfreebsd.c:35:
| ../../Programs/usb_bsd.h: In function 'usbSetTimeout':
| ../../Programs/usb_bsd.h:34: error: 'USB_SET_TIMEOUT' undeclared (first use in this function)
| ../../Programs/usb_bsd.h:34: error: (Each undeclared identifier is reported only once
| ../../Programs/usb_bsd.h:34: error: for each function it appears in.)
| ../../Programs/usb_bsd.h: In function 'usbSetShortTransfers':
| ../../Programs/usb_bsd.h:45: error: 'USB_SET_SHORT_XFER' undeclared (first use in this function)
| ../../Programs/usb_bsd.h: In function 'usbSetAlternative':
| ../../Programs/usb_bsd.h:112: error: 'struct usb_alt_interface' has no member named 'uai_alt_no'
| ../../Programs/usb_bsd.h: In function 'usbControlTransfer':
| ../../Programs/usb_bsd.h:150: error: 'USBD_SHORT_XFER_OK' undeclared (first use in this function)
| ../../Programs/usb_bsd.h: In function 'usbFindDevice':
| ../../Programs/usb_bsd.h:328: error: 'struct usb_device_info' has no member named 'udi_devnames'
| ../../Programs/usb_bsd.h:334: error: 'USB_MAX_DEVNAMES' undeclared (first use in this function)
| ../../Programs/usb_bsd.h:335: error: 'struct usb_device_info' has no member named 'udi_devnames'
| make[2]: *** [usb_kfreebsd.o] Error 1

 1. http://lists.debian.org/debian-bsd/2009/12/msg00005.html
 2. https://buildd.debian.org/status/package.php?suite=unstable&p=brltty

Once usb-related work finished on the kfreebsd-* side, either patches
will be posted if needed, or your package is going to be given back, in
which case I'll just close this bugreport.

Good luck with d-i, I know it hasn't been a very easy upload…

Mraw,
KiBi.



Reply to: