Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480184 - media-gfx/sane-backends-1.0.23-r1 - scanimage segfaults when built against virtual/libusb-0
Summary: media-gfx/sane-backends-1.0.23-r1 - scanimage segfaults when built against vi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Chris Brannon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-07 17:32 UTC by Chris Brannon (RETIRED)
Modified: 2013-08-27 12:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sane-ebuild.diff (sane-ebuild.diff,715 bytes, text/plain)
2013-08-07 17:40 UTC, Chris Brannon (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Brannon (RETIRED) gentoo-dev 2013-08-07 17:32:30 UTC
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?
Comment 1 Chris Brannon (RETIRED) gentoo-dev 2013-08-07 17:40:56 UTC
Created attachment 355358 [details]
sane-ebuild.diff

Proposed change to the ebuild.
Comment 2 Torben Kristensen 2013-08-08 11:04:12 UTC
I had the same problem, and used the same fix.
Comment 3 Chris Brannon (RETIRED) gentoo-dev 2013-08-26 19:01:48 UTC
Adopting package, assigning to myself.