Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601044 - mail-client/mutt-1.7.1-r5: crypt-gpgme.c:4957:6: error: conflicting types for ‘gpgme_set_sender’
Summary: mail-client/mutt-1.7.1-r5: crypt-gpgme.c:4957:6: error: conflicting types for...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-28 02:30 UTC by Yixun Lan
Modified: 2016-11-28 17:35 UTC (History)
1 user (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 Yixun Lan archtester gentoo-dev 2016-11-28 02:30:59 UTC
mail-client/mutt-1.7.1-r5 has problem to build with app-crypt/gpgme-1.8.0-r1

# emerge -pv mutt
[ebuild     U  ] mail-client/mutt-1.7.1-r5::gentoo [1.7.1-r4::gentoo] USE="berkdb crypt doc gdbm gpg imap nls nntp pop smtp ssl -debug (-gnutls) -idn -kerberos -libressl -mbox -notmuch -qdbm -sasl (-selinux) -sidebar -slang -smime -tokyocabinet -vanilla" 0 KiB

# emerge -pv app-crypt/gpgme
[ebuild   R    ] app-crypt/gpgme-1.8.0-r1:1/11::gentoo  USE="-common-lisp (-cxx) -python (-qt5) -static-libs" PYTHON_TARGETS="python2_7 python3_4" 0 KiB



x86_64-pc-linux-gnu-gcc -DPKGDATADIR=\"/usr/share/mutt\" -DSYSCONFDIR=\"/etc/mutt\" -DBINDIR=\"/usr/bin\" -DMUTTLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H=1 -DPREFIX=\"/usr/..\" -I.  -I. -I. -I./imap  -Iintl -I./intl  -Wall -pedantic -Wno-long-long -O2 -pipe -march=core2  -c -o pgplib.o pgplib.c
crypt-gpgme.c:4957:6: error: conflicting types for ‘gpgme_set_sender’
 void gpgme_set_sender (const char *sender)
      ^
In file included from crypt-gpgme.c:47:0:
/usr/include/gpgme.h:1171:15: note: previous declaration of ‘gpgme_set_sender’ was here
 gpgme_error_t gpgme_set_sender (gpgme_ctx_t ctx, const char *address);
               ^
make[2]: *** [Makefile:858: crypt-gpgme.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/mail-client/mutt-1.7.1-r5/work/mutt-1.7.1'
make[1]: *** [Makefile:888: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/ma
Comment 1 Yixun Lan archtester gentoo-dev 2016-11-28 02:53:14 UTC
this is fix at upstream side

https://dev.mutt.org/hg/mutt/rev/84ad86e8b8ab
Comment 2 jorgicio 2016-11-28 03:47:29 UTC
I confirm that patch works. Applied in /etc/portage/patches and compilation went fine.
Comment 3 Fabian Groffen gentoo-dev 2016-11-28 06:44:33 UTC
I've pushed that patch into -r5 as was originally the idea.