Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399073 - mail-client/mutt-1.5.21-r7: fails to build with net-libs/gnutls-3.0.11
Summary: mail-client/mutt-1.5.21-r7: fails to build with net-libs/gnutls-3.0.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnutls-3
  Show dependency tree
 
Reported: 2012-01-16 12:43 UTC by Richard Grenville
Modified: 2012-12-09 19:48 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 Richard Grenville 2012-01-16 12:43:43 UTC
mail-client/mutt-1.5.21-r7 fails to build with net-libs/gnutls-3.0.11 because it uses gnutls_certificate_verify_peers(), which was marked as deprecated in gnutls-2.12* and removed in gnutls-3.0*

Upstream has fixed the bug, yet looks like there will never be another released version of mutt within years. http://dev.mutt.org/trac/changeset/b9856206eee4

Upstream bug report: http://dev.mutt.org/trac/ticket/3516

By the way, I wonder why >=net-libs/gnutls-2.12 and =net-print/cups-1.5* remain masked for such a long period of time.

Build log:
======================
x86_64-pc-linux-gnu-gcc -DPKGDATADIR=\"/usr/share/mutt\" -DSYSCONFDIR=\"/etc/mutt\" -DBINDIR=\"/usr/bin\" -DMUTTLOCALEDI
R=\"/usr/share/locale\" -DHAVE_CONFIG_H=1 -I.  -I. -I. -I./imap -I/usr/include/gpgme -Iintl -I./intl  -Wall -pedantic -W
no-long-long -march=native -O2 -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block -MT regex.o 
-MD -MP -MF .deps/regex.Tpo -c -o regex.o regex.c
mv -f .deps/regex.Tpo .deps/regex.Po
x86_64-pc-linux-gnu-gcc  -Wall -pedantic -Wno-long-long -march=native -O2 -fomit-frame-pointer -pipe -floop-interchange 
-floop-strip-mine -floop-block  -Wl,-O1 -Wl,--as-needed -o mutt addrbook.o alias.o attach.o base64.o browser.o buffy.o c
olor.o compress.o crypt.o cryptglue.o commands.o complete.o compose.o copy.o curs_lib.o curs_main.o date.o edit.o enter.
o flags.o init.o filter.o from.o getdomain.o group.o handler.o hash.o hdrline.o headers.o help.o hook.o keymap.o main.o 
mbox.o menu.o mh.o mx.o pager.o parse.o pattern.o postpone.o query.o recvattach.o recvcmd.o rfc822.o rfc1524.o rfc2047.o
 rfc2231.o rfc3676.o score.o send.o sendlib.o signal.o sort.o status.o system.o thread.o charset.o history.o lib.o muttlib.o editmsg.o mbyte.o url.o ascii.o crypt-mod.o safe_asprintf.o patchlist.o  crypt-gpgme.o crypt-mod-pgp-gpgme.o crypt-
mod-smime-gpgme.o pgp.o pgpinvoke.o pgpkey.o pgplib.o gnupgparse.o pgpmicalg.o pgppacket.o crypt-mod-pgp-classic.o smime.o crypt-mod-smime-classic.o resize.o pop.o pop_lib.o pop_auth.o smtp.o bcache.o nntp.o newsrc.o account.o mutt_socket.o
 mutt_tunnel.o mutt_ssl_gnutls.o mutt_sasl.o hcache.o md5.o  regex.o -Limap -limap -lncursesw -lgnutls -lsasl2  -lgdbm  
  -L/usr/lib64 -lgpgme -lassuan -lgpg-error 
mutt_ssl_gnutls.o: In function `tls_verify_peers':
mutt_ssl_gnutls.c:(.text+0x7ea): undefined reference to `gnutls_certificate_verify_peers'
collect2: ld returned 1 exit status
make[2]: *** [mutt] Error 1
======================

Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2012-01-16 17:07:39 UTC
hmmm, so we'll have to transplant that changeset and release -r8 soonish.
Comment 3 Fabian Groffen gentoo-dev 2012-01-17 16:28:46 UTC
-r8 committed.  Please reopen this bug if this doesn't fix the problem for you.

Thanks.