Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 859619 - media-gfx/sane-backends-1.1.1-r4 installs udev rules without calling udev_reload
Summary: media-gfx/sane-backends-1.1.1-r4 installs udev rules without calling udev_reload
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-21 06:56 UTC by Agostino Sarubbo
Modified: 2022-11-04 04:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,522.51 KB, text/plain)
2022-07-21 06:56 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-07-21 06:56:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/sane-backends-1.1.1-r2 installs udev rules without calling udev_reload.
Discovered on: amd64 (internal ref: lto_tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-21 06:56:59 UTC
Created attachment 792701 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-24 07:35:55 UTC
ci has reproduced this issue with version 1.1.1-r4 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2022-11-04 04:19:21 UTC
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(+)