Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 527338 - mail-client/mutt - add support for app-crypt/gnupg as alternative to app-crypt/gpgme
Summary: mail-client/mutt - add support for app-crypt/gnupg as alternative to app-cryp...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-29 14:01 UTC by miro.rovis
Modified: 2014-12-02 12:14 UTC (History)
1 user (show)

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


Attachments
mutt-1.5.23-r8.ebuild (mutt-1.5.23-r8.ebuild,8.19 KB, text/plain)
2014-10-29 14:08 UTC, miro.rovis
Details
build.log (mail-client_mutt-1.5.23-r8_20141029-024050.log.gz,11.86 KB, application/gzip)
2014-10-29 14:09 UTC, miro.rovis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description miro.rovis 2014-10-29 14:01:36 UTC
Only if ebuild modified in local overlay, can "orthodox" mutt way using mutt be achieved. gnupg-2 and the unnecessary (IMO) overhead of gpgme GUI instead of simply gnupg-1 to just read a password in a _text_ (OK?) editor, is not supported by Gentoo.

Reproducible: Always

Steps to Reproduce:
Just regular "emerge mutt".


Expected Results:  
When USE flag gpg is set, there should *not* be in order, as currently is, uninstalling gnupg-1 (which can perfectly be set in "legal" portage by masking gnupg-2 in /etc/portage/package.mask and successfully installed (see http://forums.gentoo.org/viewtopic-t-639272-start-25.html#7534996 by khayyam), and installing gnupg-2 along with the GUN gpgme, which is an imposition against the logic of using text editor which Mutt is.

Will try and post my emerge --info as well as gzipped build.log
Comment 1 miro.rovis 2014-10-29 14:02:17 UTC
Portage 2.2.14_rc1 (python 2.7.8-final-0, hardened/linux/amd64, gcc-4.8.3, glibc-2.19-r1, 3.16.4-hardened-r1-141013 x86_64)
=================================================================
System uname: Linux-3.16.4-hardened-r1-141013-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
KiB Mem:    16405400 total,    317780 free
KiB Swap:   20971516 total,  20970332 free
Timestamp of tree: Sun, 12 Oct 2014 00:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.1
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.1
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories:

ukrainian
    location: /var/lib/layman
    masters: gentoo
    priority: 0

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 1

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
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 hda-intel"
ANT_HOME="/usr/share/ant"
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"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_3 python_targets_python2_7 multilib hardened pax_kernel pic xtpax -jit -orc"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
COLORFGBG="0;default;15"
COLORTERM="rxvt-xpm"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-march=native -O2 -pipe"
DEFAULT_ABI="amd64"
DISPLAY=":0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vi"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --autounmask-keep-masks --ask --verbose"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}" -a /var/log/portage_logs/wget-fetch.log"
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp -P \${port} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -pipe"
FLTK_DOCDIR="/usr/share/doc/fltk-1.3.2_p10088/html"
GCC_SPECS=""
GENTOO_MIRRORS="http://192.168.9.99/gentoo/"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx"
GRUB_PLATFORMS="pc multiboot"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/home/ukrainian"
HUSHLOGIN="FALSE"
HZ="100"
INFOPATH="/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.3/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.24/info:/usr/share/info/emacs-24"
INPUT_DEVICES="mouse keyboard"
INSTALL_MASK=" /usr/lib/systemd"
IUSE_IMPLICIT="abi_x86_64 prefix"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LADSPA_PATH="/usr/lib64/ladspa"
LANG="en_GB.utf8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_MESSAGES="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_arm="lib"
LIBDIR_arm64="lib64"
LIBDIR_n32="lib32"
LIBDIR_n64="lib64"
LIBDIR_o32="lib"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_s390="lib32"
LIBDIR_s390x="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LOGNAME="ukrainian"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAKEOPTS="-j7"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.3/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.24/man:/etc/java-config-2/current-system-vm/man/"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OLDPWD="/usr/src"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3"
PHP_TARGETS="php5-5"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd ppc64-linux x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris m68k sh arm64 x86-solaris sparc-fbsd"
PORTAGE_BIN_PATH="/usr/lib/portage/python2.7"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="info warn error log qa"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_DIR="/etc/portage/gpg"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib64/python2.7/site-packages"
PORTAGE_PYTHONPATH="/usr/lib64/python2.7/site-packages"
PORTAGE_REPOSITORIES="[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
masters = 
priority = 1
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage

[ukrainian]
location = /var/lib/layman
masters = gentoo
priority = 0
"
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"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="security.* system.nfs4_acl"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman /usr/portage"
PORT_LOGDIR="/var/log/portage_logs"
PORT_LOGDIR_CLEAN="find /var/log/portage_logs -type f ! -name summary.log* -mtime +90 -delete"
PRELINK_PATH_MASK="/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so"
PROFILE_IS_HARDENED="1"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PWD="/home/ukrainian"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python2_7"
PYTHON_TARGETS="python2_7 python3_3"
QT_GRAPHICSSYSTEM="raster"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}" -a /var/log/portage_logs/wget-fetch.log"
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby19 ruby20"
SHELL="/bin/bash"
SHLVL="5"
SOX_OPTS="-V2 --no-clobber"
SYMLINK_LIB="yes"
SYNC=""
TERM="rxvt-unicode"
TIME_STYLE="posix-long-iso"
UNINSTALL_IGNORE="/lib/modules/*"
USE="X a52 acl alsa amd64 apache2 audit bash-completion berkdb bzip2 caps cdr cli cracklib crypt cscope css cxx dri dvb dvdr fam ffmpeg fontconfig gdbm gif git gnutls gpm gstreamer gzip hardened iconv imagemagick ipv6 jack jpeg jpeg2k justify lame libcaca mad maildir mhash mmx mng modules mplayer multilib ncurses nls nptl ogg opengl openmp pax_kernel pcre png readline sasl sdl session smp sound sox sqlite sqlite3 sse sse2 ssl ssse subversion svg sysvipc tcpd tiff truetype unicode urandom v4l vim-syntax vorbis x264 xattr xine xtpax xv xvid zlib" ABI_X86="64" 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 hda-intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc multiboot" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon vesa" 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"
USER="ukrainian"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES DVB_CARDS ELIBC ENLIGHTENMENT_MODULES FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_S390 CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux arm64 hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd s390 sh sparc sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Cygwin Darwin FreeBSD freemint HPUX Interix linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
VIDEO_CARDS="radeon vesa"
WINDOWID="10485767"
WINDOWPATH="7"
XAUTHORITY="/home/ukrainian/.Xauthority"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
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"
_="/usr/bin/emerge"
Comment 2 miro.rovis 2014-10-29 14:08:19 UTC
Created attachment 387738 [details]
mutt-1.5.23-r8.ebuild

Not a pro. Pls. see:

Install Mutt without Portage, and Why, for Air-Gappers
http://forums.gentoo.org/viewtopic-t-1002146.html

where this originated.
Comment 3 miro.rovis 2014-10-29 14:09:00 UTC
Created attachment 387740 [details]
build.log
Comment 4 miro.rovis 2014-10-29 18:47:59 UTC
About the other issues.
I have the error at startup:

ukrainian@mybox ~ $ mutt
Error in /home/ukrainian/.muttrc, line 11: ssl_usesystemcerts: unknown variable
source: errors in /home/ukrainian/.muttrc
Press any key to continue...
ukrainian@mybox ~ $

And it's not a problem in my .muttrc, but elsewhere, because in the Mutt manual:

http://www.mutt.org/doc/manual.txt

you can easily find:

6.3.148.  ssl_usesystemcerts

  Type: boolean
  Default: yes

  If set to yes, mutt will use CA certificates in the system-wide
  certificate store when checking if server certificate is signed by a
  trusted CA.

And about yet another issue. Mutt should offer the entire manual in the terminal in which it runs, upon hitting F1. But it's not the case:

Key is not bound. Press '?' for help.

I hope these issues get wrangled with and corrected!
Comment 5 miro.rovis 2014-10-31 18:53:15 UTC
(In reply to miro.rovis from comment #0)
...[snip]...
> khayyam), and installing gnupg-2 along with the GUN gpgme, which is an
> imposition against the logic of using text editor which Mutt is.
...[snip]...
Of course it's "text _mail-agent_ which Mutt is"...
But pls. consider the issue slightly different. gnupg-1 is supported fine with Mutt ebuilds in portage, the unnecessary overhead are really gpgme and libassuan, which don't have to be a dependency in simple setups, like mine.

Sorry about the confusion.

See here how it came about:
https://forums.gentoo.org/viewtopic-t-1002146-start-25.html#7642760
(there is the related issue, where gnupg-2 is imposed, linked to).
Comment 6 Fabian Groffen gentoo-dev 2014-11-06 20:19:01 UTC
If you don't want to use gpgme, then just disable the gpg USE-flag.  It will just support pgp only.
Comment 7 miro.rovis 2014-12-02 03:14:08 UTC
(In reply to Fabian Groffen from comment #6)
> If you don't want to use gpgme, then just disable the gpg USE-flag.  It will
> just support pgp only.

On the one hand (but I'm not up to date yet:  * Last emerge --sync was 31d 22h 59m 25s ago. here):

# grep mutt /usr/portage/profiles/use.*desc /usr/portage/profiles/use.local.desc:app-misc/muttprint:doc - Builds documentation
/usr/portage/profiles/use.local.desc:gnome-base/gnome-light:gnome-shell - Install gnome-base/gnome-shell and x11-wm/mutter for the standard GNOME 3 desktop mode
/usr/portage/profiles/use.local.desc:mail-client/mutt:gpg - Enable support for app-crypt/gpgme
/usr/portage/profiles/use.local.desc:mail-client/mutt:pop - Enable support for pop
/usr/portage/profiles/use.local.desc:mail-client/mutt:sidebar - Use the vanilla tree + sidebar patch
/usr/portage/profiles/use.local.desc:mail-client/mutt:smime - Enable support for smime
/usr/portage/profiles/use.local.desc:mail-client/mutt:smtp - Enable support for smtp
/usr/portage/profiles/use.local.desc:mail-client/mutt:tokyocabinet - Enable tokyocabinet database backend for header caching
/usr/portage/profiles/use.local.desc:net-mail/notmuch:mutt - Install helper script for Mutt
/usr/portage/profiles/use.local.desc:x11-terms/rxvt-unicode:secondary-wheel - Support for wheel scrolling on secondary screens (like mutt). Read
http://lists.schmorp.de/pipermail/rxvt-unicode/2011q4/001491.html
#

where only the last two lines don't apply for mail-client/mutt.

However, my last local ebuild emerge, as I broadly and imperfectly (apologies) explained in the Forums (the ebuild there too):

Mutt without Portage/in Local Overlay, for Air-Gappers
http://forums.gentoo.org/viewtopic-t-1002146-start-25.html#7660538

which, while it solves the (apparent) "ssl_usesystemcerts: unknown variable" issue as reported also in this bug report, above:

https://bugs.gentoo.org/show_bug.cgi?id=527338#c4

still hasn't solved the F1 not bringing the Mutt manual inside the mutt window which the upstream Mutt offers, and which is matchless for learning Mutt.

And, back to the USE flags, there are more flags in Mutt than in the /usr/portage/profiles/use.local.desc above.

This is how I installed Mutt with my no-gentoo-patches ebuild currently not given here, but only there in the Forums topic:

* Last emerge --sync was 31d 22h 59m 25s ago.

These are the packages that would be merged, in reverse order:

Calculating dependencies  ... ....... done!
[ebuild     U  ] mail-client/mutt-1.5.23-r10::miro [1.5.23-r8::miro] USE="berkdb crypt doc gdbm gpg imap mbox nls pop sasl smime smtp ssl -debug -gnutls* -idn -kerberos -nntp -qdbm (-selinux) -sidebar -slang -tokyocabinet" 0 KiB

Not cluttering this bug with the entire grep output, the reader can easily check for themselves, but just:

# grep gpg /usr/portage/profiles/use.*desc  | wc -l
19
# grep gpg /usr/portage/profiles/use.*desc  | grep -i gpgme | wc -l
7

IMO gpg flag should never mean gpgme, but only gnupg (and surely gnupg-1 by all means should remain fully supported for reasons stated in the Forums link and further links if one studies that link, as well as here, by me and others). Doing otherwise is another brick in the pushing of users into the surveilled society which Gentoo is one of the last bastions of defence from.

IMO gpg cannot mean gpgme. It's plain wrong and abusive.

And who could have concluded that, to have gnupg (which never until recently meant gpgme, are you devs kidding us? ;-) )...

Who could have, from just what, say, "emerge --ask mutt" would tell them, understood that (s)he needed to stick -gpg USE flag in the package.use to be able to compile Mutt with gnupg-1 (that (s)he already has installed in her/his system), which is what Mutt has ever used (just as gpgme is what Mutt definitely don't really need, to work just fine, at all)?
Comment 8 Fabian Groffen gentoo-dev 2014-12-02 08:23:07 UTC
I can rename gpg to gpgme, but really, mutt doesn't support gnupg other than through gpgme.
Comment 9 miro.rovis 2014-12-02 12:01:59 UTC
(In reply to Fabian Groffen from comment #8)
> I can rename gpg to gpgme, but really, mutt doesn't support gnupg other than
> through gpgme.

It's true, kind developer, but only for gnupg-2, that --no-use-agent is a dummy option, and which (or some such concept) consequently imposes the use of gpgme, but for gnupg-1 gpg-agent can be disabled, and so, in my Mutt, my gnupg-1 is perfectly supported by mutt (I have tested it), since my gnupg-1 works fine without ang gpg-agent.

How to disable (sanitize) gpg2 GUI features (pinentry)?
http://forums.gentoo.org/viewtopic-t-639272-start-25.html#7534996

and, the very next in that topic, my followup with the link in it in bottom (WARNING: containing my imperfect research on the issue).
Comment 10 Fabian Groffen gentoo-dev 2014-12-02 12:14:52 UTC
In case you haven't, have you tried things like:
https://forums.gentoo.org/viewtopic-p-7129030.html?sid=d5206815cb47b2a6a04f6b17373f19df#7129030
See also `eselect pinentry list`.  I only use terminal env, and type my password there, so I'm not really understanding the problem you have.