The emerge log for sys-fs/udev-189 wrote: "This version of udev moves the files that were installed in /lib/udev to /usr/lib/udev. We include a backward compatibility patch for gentoo to allow the rules in /lib/udev/rules.d to be read. However, bugs should be filed against packages that are installing files in /lib/udev so they can be fixed." media-gfx/sane-backends-1.0.22-r2 installs files into that old location, so it should be fixed. Remerging the package is not enough to fix this issue.
Created attachment 324938 [details, diff] Patch to fix udev rules location The attached patch does the trick (shamelessly stolen from sys-fs/mdadm-3.2.3-r1 ebuild).
Done in .23 with slight modifications - I guess executing the same command one time conditionally, one time unconditionally is a mistake?
(In reply to comment #2) > Done in .23 with slight modifications - I guess executing the same command > one time conditionally, one time unconditionally is a mistake? indeed it is, the correct syntax for ebuild that doesn't have sys-fs/udev in DEPEND, the code is: inherit toolchain-funcs DEPEND="virtual/pkgconfig" local udevdir=/lib/udev has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" And it could be around "if use kernel_linux" too, if the package has non-linux keywords