I am doing a cross build. But it’s x86-64 to x86-64 J > On Mar 2, 2020, at 7:52 AM, scsijon <[email protected]> wrote: > > ?strange, mine doesn't need libusb or usbutils for udev. Just a thought, how > are you building, ?maybe on a external hard drive or memory stick connected > via usb? > >> On 02/03/20 14:52, Jan Rovins wrote: >> Several things missing for udev when cross building: >> checking for USBUTILS... no >> configure: error: Package requirements (usbutils >= 0.82) were not met: >> No package 'usbutils' found >> I added usbutils to target/generic/pkgsel/20-minimal.in >> Then when trying to build usbutils I got: >> checking for LIBUSB... no >> configure: error: Package requirements (libusb-1.0 >= 1.0.0) were not met: >> No package 'libusb-1.0' found >> So I added libusb to target/generic/pkgsel/20-minimal.in >> Then usbutils cross built OK, but udev failed again >> checking for USBUTILS... yes >> checking for USB database location... /usr/share/usb.ids >> configure: error: pci.ids not found, try --with-pci-ids-path= >> Due to previous errors, no 1-udev.log file! >> (Try enabling xtrace in the config to track an error inside the build >> system.) >> --- BUILD ERROR --- >> So I added this to udev.conf: >> atstage cross && var_append confopt " " " >> --with-pci-ids-path=$root/usr/share/" >> Patches attached. >> Note libusb is still in 50-minimal-desktop.in, probbably should be removed >> since i think 20-minimal.in should cover it for everyone. >> Jan
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
