From 678a6fa4106e18456ed9dadb6814a673de81fb32 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Wed, 3 Nov 2021 19:48:44 -0700 Subject: 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 --- net-mail/notmuch/notmuch-0.33.2.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'net-mail/notmuch') diff --git a/net-mail/notmuch/notmuch-0.33.2.ebuild b/net-mail/notmuch/notmuch-0.33.2.ebuild index 4cc225e3c559..873e974b8152 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[@]}" } -- cgit v1.2.3-65-gdbad