FS#63491 - [imagescan] SANE backend not active with bugfix
Attached to Project:
Community Packages
Opened by danieltetraquark (danieltetraquark) - Saturday, 17 August 2019, 14:01 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 05 January 2020, 19:33 GMT
Opened by danieltetraquark (danieltetraquark) - Saturday, 17 August 2019, 14:01 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 05 January 2020, 19:33 GMT
|
Details
Description:
It seems that within the current PKGBUILD, there is a workaround for some bug (?) https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/imagescan#n40 which causes SANE to stop working properly with imagescan scanners. See also https://www.reddit.com/r/archlinux/comments/cly2m4/sane_imagescanv3_and_epson_et2750_ecotank/ If you remove the corresponding bug "fix" line, SANE works properly with imagescan scanners. Additional info: * package version 3.57.0 Steps to reproduce: Have a imagescan scanner, run simple scan GUI -> no scanner found. Build package without the bug "fix" -> scanner found and works in simple scan GUI. |
This task depends upon
Closed by Antonio Rojas (arojas)
Sunday, 05 January 2020, 19:33 GMT
Reason for closing: Fixed
Additional comments about closing: imagescan 3.61.0-2
Sunday, 05 January 2020, 19:33 GMT
Reason for closing: Fixed
Additional comments about closing: imagescan 3.61.0-2
Rebuilding imagescan pkg without specific LDFLAGS line, works properly with SANE backend.
It is obvious that the "fix" removes the link to a needed library. Personally I don't care if imagescan links to libraries that it does not use, as long as it links to libraries that it DOES use.
libjpeg.so.8
libcnx-usb.so.0
libusb-1.0.so.0
libcnx-hexdump.so.0
libboost_filesystem.so.1.71.0
libboost_system.so.1.71.0
libboost_program_options.so.1.71.0
libltdl.so.7
libudev.so.1
libtiff.so.5
libm.so.6
run 'sudo patchelf --add-needed library-name /usr/lib/utsushi/sane/libsane-utsushi.so.1.0.28' (where library-name is the name of the library). After each step check if it works, and tell me which one fixes the issue.