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.That was the fix. Setting LIBUSB_TYPE=compat removed the conflict and apcupsd still built just fine.Okay that might have helped. I also build apcupsd which just includes: mk/libusb.buildlink3.mkThat 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.
I haven't yet tested whether the packages work though. Mike