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

Re: kfreebsd-kernel-headers and USB API breakage



There's smartmontools now too:
 https://buildd.debian.org/status/package.php?suite=unstable&p=smartmontools

That sounds related to USB changes˙˙ Log excerpt:
| g++ -DHAVE_C| ONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"'      -g -O2 -Wall -W -fno-strict-aliasing -MT os_freebsd.o -MD -MP -MF .deps/os_freebsd.Tpo -c -o os_freebsd.o os_freebsd.cpp
| os_freebsd.c| pp:60:27: error: libusb20_desc.h: No such file or directory
| os_freebsd.c| pp:61:22: error: libusb20.h: No such file or directory
| os_freebsd.c| pp: In function 'int os_freebsd::usbdevlist(int, short unsigned int&, short unsigned int&, short unsigned int&)':
| os_freebsd.c| pp:1675: error: 'libusb20_be_alloc_default' was not declared in this scope
| os_freebsd.c| pp:1677: error: 'libusb20_be_device_foreach' was not declared in this scope
| os_freebsd.c| pp:1680: error: 'libusb20_dev_open' was not declared in this scope
| os_freebsd.c| pp:1685: error: 'libusb20_dev_get_device_desc' was not declared in this scope
| os_freebsd.c| pp:1689: error: 'libusb20_dev_get_iface_desc' was not declared in this scope
| os_freebsd.c| pp:1695: error: invalid use of incomplete type 'struct os_freebsd::LIBUSB20_DEVICE_DESC_DECODED'
| os_freebsd.c| pp:1673: error: forward declaration of 'struct os_freebsd::LIBUSB20_DEVICE_DESC_DECODED'
| os_freebsd.c| pp:1696: error: invalid use of incomplete type 'struct os_freebsd::LIBUSB20_DEVICE_DESC_DECODED'
| os_freebsd.c| pp:1673: error: forward declaration of 'struct os_freebsd::LIBUSB20_DEVICE_DESC_DECODED'
| os_freebsd.c| pp:1697: error: invalid use of incomplete type 'struct os_freebsd::LIBUSB20_DEVICE_DESC_DECODED'
| os_freebsd.c| pp:1673: error: forward declaration of 'struct os_freebsd::LIBUSB20_DEVICE_DESC_DECODED'
| os_freebsd.c| pp:1698: error: 'libusb20_dev_close' was not declared in this scope
| os_freebsd.c| pp:1699: error: 'libusb20_be_free' was not declared in this scope
| os_freebsd.c| pp:1704: error: 'libusb20_dev_close' was not declared in this scope
| os_freebsd.c| pp:1711: error: 'libusb20_be_free' was not declared in this scope
| make[3]: ***|  [os_freebsd.o] Error 1

I still have to open a bug for that one.

It might be sufficient just to add b-d on libusb2-dev,
which is currently in NEW.

Petr

Reply to: