Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707656 - net-mail/notmuch-0.29.3 with dev-libs/gmime[-crypt] - configure: Checking for GMime session key extraction support... decryption failed
Summary: net-mail/notmuch-0.29.3 with dev-libs/gmime[-crypt] - configure: Checking for...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-31 18:06 UTC by aj-lists
Modified: 2020-03-05 08:00 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,6.22 KB, text/x-log)
2020-03-04 18:25 UTC, Alexander Sergeyev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aj-lists 2020-01-31 18:06:19 UTC
As per summary, notmuch 0.29.3 fails to compile:

Checking for GMime session key extraction support... decryption failed
No.
*** Error: Could not extract session keys from encrypted message.
This is likely due to your GMime having been built against a old
version of GPGME.

In fact, GPGME and GMime are fine, but gmime on my system was built with "-crypt", causing this error.  After rebuilding gmime with "crypt", notmuch builds fine.

Reproducible: Always

Steps to Reproduce:
1. emerge gmime with -crypt USE flag
2. emerge notmuch

Actual Results:  
Checking for GMime development files... Yes.
Checking for GMime session key extraction support... decryption failed
No.
*** Error: Could not extract session keys from encrypted message.

This is likely due to your GMime having been built against a old
version of GPGME.

Please try to rebuild your version of GMime against a more recent
version of GPGME (at least GPGME 1.8.0).


Expected Results:  
Successful build of notmuch
Comment 1 aj-lists 2020-01-31 18:08:40 UTC
Portage 2.3.84 (python 3.6.9-final-0, default/linux/amd64/17.1, gcc-8.3.0, glibc-2.29-r7, 4.19.86-gentoo x86_64)
=================================================================
System uname: Linux-4.19.86-gentoo-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.6
KiB Mem:    16369856 total,    571100 free
KiB Swap:    3145724 total,   3144688 free
Timestamp of repository gentoo: Fri, 31 Jan 2020 12:00:01 +0000
Head commit of repository gentoo: 2760e73f81c082c28e14efbd6000a875a080d287
Head commit of repository palemoon: 28a52ad05a62d0c1d6ebadfe4c01cae59acfb15f

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo, 9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

nx
    location: /var/lib/layman/nx
    masters: gentoo
    priority: 50

palemoon
    location: /var/lib/layman/palemoon
    sync-type: git
    sync-uri: https://github.com/deu/palemoon-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @gdal, @get_iplayer
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=sandybridge -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=sandybridge -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/lib/systemd /etc/systemd /lib/systemd /var/lib/systemd /usr/lib/systemd/system /usr/lib/systemd/user"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_BINHOST="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X aac acl alsa amd64 bash-completion berkdb bzip2 cairo cli cups curl cxx dri dvd dvdr exif ffmpeg flac fontconfig fortran fuse gdbm gif iconv id3tag ipv6 jpeg libsamplerate libtirpc lzo mad mjpeg mmx mp3 mp4 multilib ncurses nls nptl ntfs ogg opengl openmp pcre pdf png readline rtmp samba seccomp smp split-usr sse sse2 ssl ssse3 svg svn tcpd theora tiff truetype unicode vim-syntax vorbis vpx x264 xattr xcb xpm xrandr zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en-GB en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-31 21:59:50 UTC
Please attach the entire build log to this bug report.
Comment 3 aj-lists 2020-01-31 23:04:03 UTC
(In reply to Jeroen Roovers from comment #2)
> Please attach the entire build log to this bug report.

I no longer have the entire build log of the failed build since I've successfully resolved the issue with the steps indicated.  The only relevant part was included above in any case.

It seems this particular missing dependency problem has been noted before: https://bugs.gentoo.org/692098#c5
Comment 4 Alexander Sergeyev 2020-03-04 18:25:47 UTC
Created attachment 617128 [details]
build.log
Comment 5 Alexander Sergeyev 2020-03-04 18:27:43 UTC
> Please attach the entire build log to this bug report.

I've attached build.log for an identical build failure.
Building dev-libs/gmime with USE=crypt solved the issue for me.
Comment 6 Larry the Git Cow gentoo-dev 2020-03-04 22:19:52 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ee1bf682140f439186c5e6bdcaedcbf19f7444

commit 68ee1bf682140f439186c5e6bdcaedcbf19f7444
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2020-03-04 22:15:12 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2020-03-04 22:17:22 +0000

    net-mail/notmuch: Fix error on configure with 'crypt' flag disabled
    
    Bug: https://bugs.gentoo.org/707656
    Package-Manager: Portage-2.3.76, Repoman-2.3.16
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 net-mail/notmuch/notmuch-0.29.3-r1.ebuild | 232 ++++++++++++++++++++++++++++++
 1 file changed, 232 insertions(+)
Comment 7 Amadeusz Żołnowski (RETIRED) gentoo-dev 2020-03-04 22:29:23 UTC
Please confirm it's ok now in -r1.
Comment 8 Alexander Sergeyev 2020-03-05 08:00:59 UTC
(In reply to Amadeusz Żołnowski from comment #7)
> Please confirm it's ok now in -r1.

Yes, works fine for me.