How can I repair libsane to make my scanner usable in 18.04

Also see:

https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1731459

  • contains instructions for patching 18.04.1, see last entry by Gabriel N. (gary17)

Discussion of problem:

  • see last post about clearing calibration cache.