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

Re: Bug#566768: src:argyll: FTBFS on GNU/kFreeBSD (due to usb stack switch?)



Cyril Brulebois, 2010-01-25 02:26:16 +0100 :

[...]

> Hi,
>
> 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:
>   https://buildd.debian.org/status/package.php?suite=&p=argyll
>
> 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 :-)

Roland.
-- 
Roland Mas

A lesson for you all: never fall in love during a total eclipse.
  -- Senex, in A Funny Thing Happened on the Way to the Forum


Reply to: