pkgsrc-Users archive

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

Re: conflicting dependencies in sysutils/flashrom





On 23/12/2019 00:09, Mike Pumford wrote:
Okay that helps. Based on the dependency chain it looks like flashrom and libftdi1 are using the new library with the compat layer.

Okay that might have helped. I also build apcupsd which just includes:
mk/libusb.buildlink3.mk

That package would have been built BEFORE flashrom so if LIBUSB_TYPE defaults to 'native' that would have installed the OLDER libusb. Looks like I need to set LIBUSB_TYPE=compat before building apcupsd if I want flashrom support as well.

That was the fix. Setting LIBUSB_TYPE=compat removed the conflict and apcupsd still built just fine.

I haven't yet tested whether the packages work though.

Mike


Home | Main Index | Thread Index | Old Index