Re: Bug#754678: openocd: FTBFS on kfreebsd-*: configure: error: libusb-1.x is required for the MPSSE mode of FTDI based devices
> On Mon, Oct 20, 2014 at 03:43:43PM +0200, Luca Bruno wrote:
>> On Monday 20 October 2014 17:31:48 Paul Fertser wrote:
>> I see. So in the end, let's keep:
>> * libusb autodetection for kfreebsd
>> * --enable-usb_blaster_libftdi for linux
That sounds great, and I think is exactly what we get using my patch to
build-depends?
On 20/10/14 17:19, Paul Fertser wrote:
> My proposal is to have libusb autodetection and usb_blaster_libftdi
> for all the supported systems. What exactly does kfreebsd lack that's
> necessary for libftdi? OpenOCD works with both libftdi-0 and
> libftdi-1, and kfreebsd supports both libusb-0.1 and libusb-1 APIs
> equally well libusb2-dev package.
The problem is libftdi: it was compiled against legacy libusb on
kfreebsd (libftdi-dev depends on libusb-dev); and libusb-dev and
libusb2-dev are not co-installable as build-depends of openocd.
libftdi may need to go through a transition to libusb2-dev on kfreebsd
to avoid this, but would have to wait for the next Debian release I guess...
Thanks!
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: