Every time I run scanimage, it segfaults with an error in libusb. I have a Canon LiDE 100 flatbed scanner. It uses the genesys backend. scanimage worked flawlessly with this scanner under Arch Linux. I compared Gentoo's ebuild with Arch's PKGBUILD, and I noticed that Arch is linking against libusb 1.x, while Gentoo is linking against libusb 0.x. I rebuilt sane-backends after changing the ebuild to use virtual/libusb-1, and scanimage now works flawlessly. Is there any good reason not to use libusb 1.x with sane-backends in Gentoo?
Created attachment 355358 [details] sane-ebuild.diff Proposed change to the ebuild.
I had the same problem, and used the same fix.
Adopting package, assigning to myself.