``` make-policy-file: warning: cannot find udev policy template in default locations make-policy-file: warning: use --template option to specify a file * ERROR: media-gfx/iscan-data-1.39.0.1::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_install * environment, line 1179: Called die * The specific snippet of code: * "${D}/usr/$(get_libdir)/iscan-data/make-policy-file" --force --mode udev -d "${D}/usr/share/iscan-data/epkowa.desc" -o "${D}${rulesdir}/99-iscan.rules" || die; ```
Created attachment 793511 [details] emerge --info '=media-gfx/iscan-data-1.39.0.1::gentoo'
Created attachment 793514 [details] iscan-data.build.log
Created attachment 793517 [details] iscan-data.build.log.xz
This issue is related to sane-backends 1.1.1. It seems they renamed and drastically changed the udev rules provided with that version and it can't find the new files. Unfortunately, even after modifying make-policy-file to find the new file (/lib/udev/rules.d/65-sane-backends.rules), it fails later because it's not parsing the file directly. Tried tracing to find the error, and can see it's getting hung up reading the header/footer/stanza, but can't figure out what the sed commands are even trying to do to troubleshoot and fix it myself. Unfortunately, no newer iscan-data package. Couple workarounds: 1. Downgrade to sane-backends 1.0.32. I confirmed this still works for new iscan-data installs. Unfortunately it's already been purged from portage, but can be found here: https://github.com/gentoo/gentoo/blob/5b29ea90441b509844072c85bf34cc0b2d95803f/media-gfx/sane-backends/sane-backends-1.0.32.ebuild 2. Depending on your scanner, you can try switching to the new epsonscanner2 package. This seems to replace iscan, and bundles the plugins differently as well. Can find at http://support.epson.net/linux/en/epsonscan2.php, but also available the slonko overlay (https://github.com/gentoo-mirror/slonko). These work, with a couple caveats: a. I had to reboot after installing in order to get any software to communicate with my V600. Even then it'd segfault on the first attempt, then work on the second and later attempts. Observed that pattern twice, so don't think it was a fluke. b. This seems to work with any "normal" sane frontends as well as epsonscan2 itself, but VueScan refuses to see the new plugin. Not something most people will care about, but wanted to provided a heads up just in case. I just sent them a request to add support for plugins installed via epsonscan2. With new new iscan releases since 2019, I'd guess Epson's prioritizing epsonscan2 at this point. Would probably be best long term to get that in portage.
Hello, confirming the bug. Had to downgrade sane-backends to be able to install iscan-data.
1.1.1 is the oldest version available in portage for sane-backends, there's nothing to downgrade to. Can we get the older version put back in until this is fixed?