pkgsrc-Users archive

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

Re: conflicting dependencies in sysutils/flashrom

Mike Pumford <> writes:

> Just added sysutils/flashrom to my build list for APU2 bios updates
> but ran into a dependency conflict:
> => Creating binary package /pkg_comp/packages/All/libusb-compat-0.1.7.tgz
> ===> Installing binary package of libusb-compat-0.1.7
> pkg_add: Package `libusb-compat-0.1.7' conflicts with `libusb-[0-9]*',
> and `libusb-0.1.12nb7' is installed.
> pkg_add: Installed package `libusb-0.1.12nb7' conflicts with
> `libusb-compat-[0-9]*' when trying to install `libusb-compat-0.1.7'.
> pkg_add: 1 package addition failed
> *** Error code 1
> I this this tangle is coming from devel/libftdi1 but I'm not sure how
> to untangle it.

(I'm slightly fuzzy but hope this helps.)

The bit picture is that there are two versions of libusb.  There is an
old one, libusb-0.9?, and a newer one, libusb-1.x.  There is then a
compat package that provides the libusb0 API while using libusb-1.
pkgsrc has gradually been converting over.

See /mk/ and perhaps libftdi1's way of including
libusb is not really right, as it seems to use the wrapper mk and also

Home | Main Index | Thread Index | Old Index