Re: Bug#566768: src:argyll: FTBFS on GNU/kFreeBSD (due to usb stack switch?)
Roland Mas, 2010-01-25 09:40:41 +0100 :
> Cyril Brulebois, 2010-01-25 02:26:16 +0100 :
>> your package no longer builds on kfreebsd-*:
>> | libtool: compile: gcc -DPACKAGE_NAME=\"argyll\" -DPACKAGE_TARNAME=\"argyll\" -DPACKAGE_VERSION=\"1.1.0\" "-DPACKAGE_STRING=\"argyll 1.1.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"argyll\" -DVERSION=\"1.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -I ./libusb -g -O2 -c libusb/bsd.c -fPIC -DPIC -o .libs/libargyllusb_la-bsd.o
>> | In file included from libusb/usbi.h:4,
>> | from libusb/bsd.c:44:
>> | libusb/usb.h:72: error: redefinition of 'struct usb_string_descriptor'
>> | libusb/usb.h:92: error: redefinition of 'struct usb_endpoint_descriptor'
>> | libusb/usb.h:117: error: redefinition of 'struct usb_interface_descriptor'
>> | libusb/usb.h:143: error: redefinition of 'struct usb_config_descriptor'
>> | libusb/usb.h:160: error: redefinition of 'struct usb_device_descriptor'
>> | […]
>> | libusb/bsd.c:547: error: 'struct usb_device_info' has no member named 'udi_devnames'
>> | libusb/bsd.c:552: error: 'struct usb_device_info' has no member named 'udi_devnames'
>> Full build logs:
>> It might have to do with a recent USB stack change on kfreebsd-*, I'm
>> putting -bsd@ in Cc to get a wider audience.
> It's much more likely to be my fault: after consulting with the security
> team, I'm now back to using Argyll's local copy of libusb, within the
> Argyll build system. Obviously I got something wrong, and I'll need to
> fix that (unless some kind soul on the -bsd list wants to :-)
Actually, I think it might not be my fault after all: the libusb source
package also fails to build from sources with a very similar error
message, so help from the BSD porters would be welcome.
[Cc:ing the libusb maintainer]
Despite rumour, Death isn't cruel - merely terribly, terribly good at his job.
-- in Sourcery (Terry Pratchett)