Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640824 - mail-client/mutt-1.9.1-r3 : Error in .muttrc, line xxx: pgp_sort_keys: Unknown type.
Summary: mail-client/mutt-1.9.1-r3 : Error in .muttrc, line xxx: pgp_sort_keys: Unknow...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-12 15:03 UTC by Phil Stracchino (Unix Ronin)
Modified: 2017-12-14 12:30 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Stracchino (Unix Ronin) 2017-12-12 15:03:29 UTC
If your .muttrc contains the pgp_sort_keys directive, mail-client/mutt-1.9.1-r3 will emit the above error on startup.  Example:

Error in /home/alaric/.muttrc, line 368: pgp_sort_keys: Unknown type.
source: errors in /home/alaric/.muttrc
Press any key to continue...

This is a reversion from mail-client/mutt-1.9.1-r2, in which it works just fine.
Comment 1 Fabian Groffen gentoo-dev 2017-12-14 07:07:23 UTC
please post your USE-flags (emerge --info mutt)
Comment 2 Fabian Groffen gentoo-dev 2017-12-14 07:44:42 UTC
I think I know what's wrong.  @nicolasbock: you may want to check this for your original change to neomutt as well.

use_enable is used twice for the same flag, so the latter one overrides the first.  I think the reporter doesn't use the new USE-flags, and hence the old USE-flag setting is overwritten by the default (disabled) state of the new USE-flags.
Comment 3 Larry the Git Cow gentoo-dev 2017-12-14 07:47:19 UTC
The bug has been closed via the following commit(s):

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

commit e369d1526c6bfc989610e325c50116bbafc11071
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2017-12-14 07:45:23 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2017-12-14 07:47:09 +0000

    mail-client/mutt: fix USE-flags enabling after rename change, bug #640824
    
    Closes: https://bugs.gentoo.org/640824
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 .../{mutt-1.9.1-r3.ebuild => mutt-1.9.1-r4.ebuild} | 72 ++++++++++++++--------
 1 file changed, 45 insertions(+), 27 deletions(-)
Comment 4 Nicolas Bock gentoo-dev 2017-12-14 12:30:00 UTC
Thanks Fabian!