It seems there are a couple of problems with saned@.service that cause it to not work: ---- [Unit] Description=Scanner Service Requires=saned.socket [Service] ExecStart=/usr/sbin/saned User=scanner Group=scanner StandardInput=null StandardOutput=syslog StandardError=syslog Environment=SANE_CONFIG_DIR=@CONFIGDIR@ # If you need to debug your configuration uncomment the next line and # change it as appropriate to set the desired debug options # Environment=SANE_DEBUG_DLL=255 SANE_DEBUG_NET=255 [Install] Also=saned.socket ---- First is the User=. There is no acct-user/scanner package. (Was there ever one? I can't find evidence there was.) There is, however, an acct-user/saned, so maybe that user should be used instead. The other problem is the "@CONFIGDIR@", which the ebuild does not substitute. Does the value need to be a variable? If not, then perhaps it should just be changed to "/etc/sane.d".
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3865b4531959596959b487d84fd862e2aac4999f commit 3865b4531959596959b487d84fd862e2aac4999f Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-04 04:17:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-04 04:18:58 +0000 media-gfx/sane-backends: fix configure w/ clang 16; fix service file & udev - Fix configure with Clang 16 - Fix saned_at.service user name (scanner->saned, as scanner is the group) - Fix path to setfacl in udev rule (previous one assumed /usr merge) - Fix group name in udev rule (saned->scanner) - Call udev_reload in pkg_post{rm,inst} Closes: https://bugs.gentoo.org/876772 Closes: https://bugs.gentoo.org/859619 Closes: https://bugs.gentoo.org/849590 Signed-off-by: Sam James <sam@gentoo.org> media-gfx/sane-backends/files/66-saned.rules-r1 | 2 + .../sane-backends-1.1.1-configure-clang16.patch | 43 +++ .../files/sane-backends-1.1.1-musl.patch | 34 ++ media-gfx/sane-backends/files/saned_at.service-r1 | 18 + .../sane-backends/sane-backends-1.1.1-r5.ebuild | 376 +++++++++++++++++++++ 5 files changed, 473 insertions(+)
Thanks!