Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532466 - net-misc/tlsdate-0.0.12 fails to compile if polarssl is installed
Summary: net-misc/tlsdate-0.0.12 fails to compile if polarssl is installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-13 14:46 UTC by Hanno Böck
Modified: 2015-01-03 00:30 UTC (History)
0 users

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 Hanno Böck gentoo-dev 2014-12-13 14:46:52 UTC
tlsdate tries to link against polarssl if it is availiable. However it is broken with the current version of polarssl:

src/tlsdate-helper.c: In function ‘check_key_length’:
src/tlsdate-helper.c:840:9: error: unknown type name ‘x509_cert’
   const x509_cert *certificate;
         ^

[...]

For now I think we should add --without-polarssl. I will report the problem upstream. When its fixed we should probably add a use flag for polarssl. I'll also ask if upstream considers polarssl to be the preferred default implementation.
Comment 1 Hanno Böck gentoo-dev 2015-01-03 00:30:47 UTC
Reported upstream:
https://github.com/ioerror/tlsdate/issues/163

And for now disabled in 0.0.12-r1. We can re-add it without automagic behind a use flag if there is demand and upstream fixes the code.