Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523472 - net-libs/gnutls-3.3.8 USE=pkcs11 should depend on >=app-crypt/p11-kit-0.20.7
Summary: net-libs/gnutls-3.3.8 USE=pkcs11 should depend on >=app-crypt/p11-kit-0.20.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL: http://article.gmane.org/gmane.comp.e...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-22 18:55 UTC by Marcin Mirosław
Modified: 2014-09-23 08:45 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 Marcin Mirosław 2014-09-22 18:55:03 UTC
Quote from changelog:

** libgnutls: when verifying a certificate against a p11-kit trusted
module, use the attached extensions in the module to override the CA's
extensions (that requires p11-kit 0.20.7)

Old version p11-kit makes gnutls to be build without PKCS #11 support and gives compileation error when compiling exim[pkcs11]

ccache gcc -o exim
ccache gcc -o exim  acl.o child.o crypt16.o daemon.o dbfn.o debug.o
deliver.o directory.o dns.o drtables.o enq.o exim.o expand.o filter.o
filtertest.o globals.o dkim.o header.o host.o ip.o log.o lss.o match.o
moan.o os.o parse.o queue.o rda.o readconf.o receive.o retry.o rewrite.o
rfc2047.o route.o search.o sieve.o smtp_in.o smtp_out.o spool_in.o
spool_out.o std-crypto.o store.o string.o tls.o tod.o transport.o tree.o
verify.o lookups/lf_quote.o lookups/lf_check_file.o
lookups/lf_sqlperform.o local_scan.o perl.o malware.o mime.o regex.o
spam.o spool_mbox.o demime.o bmi_spam.o spf.o srs.o dcc.o dmarc.o dane.o
version.o \
  routers/routers.a transports/transports.a lookups/lookups.a \
  auths/auths.a pdkim/pdkim.a \
  -lresolv -lnsl -lcrypt -lm    \
   -ldb -lmysqlclient -lpq -lldap -llber -lspf2 -lsrs_alt -lopendmarc
-lhiredis -lwrap -lpam -ldl  \
  -Wl,-E -Wl,-O1 -Wl,--as-needed
-L/usr/lib64/perl5/5.18.2/x86_64-linux/CORE -lperl -lnsl -ldl -lm
-lcrypt -lutil -lc -lgnutls  -L/usr/lib64 -lpcre
tls.o: In function `tls_init':
tls.c:(.text+0x1766): undefined reference to `gnutls_pkcs11_init'
tls.o: In function `tls_validate_require_cipher':
tls.c:(.text+0x3950): undefined reference to `gnutls_pkcs11_init'
collect2: error: ld returned 1 exit status
Makefile:451: recipe for target 'exim' failed
make[1]: *** [exim] Error 1
make[1]: Leaving directory
'/home/farm/buildfarm/HEAD/exim.49927/src/build-Linux-x86_64'
Makefile:29: recipe for target 'all' failed
make: *** [all] Error 2


Reproducible: Always
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2014-09-23 06:40:01 UTC
fixed, thanks!
Comment 2 Marcin Mirosław 2014-09-23 08:45:29 UTC
Thanks!