[MacPorts] #57505: sane-backends @1.0.27_2: Regression / libusb vs libusb-compat library linkage

MacPorts noreply at macports.org
Sat Nov 3 20:07:48 UTC 2018


#57505: sane-backends @1.0.27_2: Regression / libusb vs libusb-compat library
linkage
-------------------------+---------------------------
 Reporter:  sheesupport  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.5.4
 Keywords:               |       Port:  sane-backends
-------------------------+---------------------------
 After upgrading my port installation, I noticed that my scanner


 {{{
 $ scanimage -L
 device `plustek:libusb:020:002' is a Canon CanoScan N1240U/LiDE30 flatbed
 scanner
 }}}


 didn't get recognized anymore. I tracked it down to sane-backends port
 package. The older version 1.0.24_0 was/is linked
 against libusb-compat (@0.1.4_0) and the current version of sane-backends
 is linked against libusb @1.0.22_0.

 I was not able to force the build process to link against the libusb-
 compat library. There was a change between 1.0.24 and 1.0.27.

 Any way to provide a solution via a variant?

 Right now, I downgraded the sane-backends port package:

 {{{
 $  /opt/local/bin/scanimage -V
 scanimage (sane-backends) 1.0.24; backend version 1.0.24
 }}}

 {{{
 $ port version
 Version: 2.5.4
 }}}



 {{{
 $ otool -L /opt/local/bin/scanimage
 /opt/local/bin/scanimage:
 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
 (compatibility version 150.0.0, current version 1259.22.0)
         /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
 (compatibility version 1.0.0, current version 275.0.0)
         /opt/local/lib/libsane.1.dylib (compatibility version 2.0.0,
 current version 2.24.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1226.10.1)
         /opt/local/lib/libtiff.5.dylib (compatibility version 9.0.0,
 current version 9.0.0)
         /opt/local/lib/libjpeg.9.dylib (compatibility version 13.0.0,
 current version 13.0.0)
         /opt/local/lib/libusb-0.1.4.dylib (compatibility version 9.0.0,
 current version 9.4.0)
         /usr/lib/libcups.2.dylib (compatibility version 2.0.0, current
 version 2.11.0)
         /opt/local/lib/libnetsnmp.35.dylib (compatibility version 36.0.0,
 current version 36.0.0)
         /opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0,
 current version 1.0.0)
 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
 (compatibility version 1.0.0, current version 1.0.0)
 /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
 (compatibility version 1.0.0, current version 728.14.0)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57505>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list