commit: 678a6fa4106e18456ed9dadb6814a673de81fb32 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Thu Nov 4 02:48:44 2021 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Thu Nov 4 02:49:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=678a6fa4
net-mail/notmuch: add GMime sandbox violation workaround Checking for GMime session key extraction support... * ACCESS DENIED: open_wr: /dev/bus/usb/001/011 notmuch configure compiles a program _check_session_keys.c, inline in ./configure script gmime/gpg/scdaemon tries to open usb devices in GMime test we pretend to allow it, without actually allowing it to read or write. Bug: https://bugs.gentoo.org/821328 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> net-mail/notmuch/notmuch-0.33.2.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/net-mail/notmuch/notmuch-0.33.2.ebuild b/net-mail/notmuch/notmuch-0.33.2.ebuild index 4cc225e3c55..873e974b815 100644 --- a/net-mail/notmuch/notmuch-0.33.2.ebuild +++ b/net-mail/notmuch/notmuch-0.33.2.ebuild @@ -142,6 +142,14 @@ src_configure() { $(use_with emacs) ) + # FIXME: + # Checking for GMime session key extraction support... * ACCESS DENIED: open_wr: /dev/bus/usb/001/011 + # notmuch configure compiles a program _check_session_keys.c, inline in ./configure script + # gmime/gpg/scdaemon tries to open usb devices in GMime test + # we pretend to allow it, without actually allowing it to read or write. + # https://bugs.gentoo.org/821328 + addpredict /dev/bus/usb + econf "${myconf[@]}" }
