Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 646952

Summary: app-admin/syslog-ng-3.14.1 with >=dev-libs/openssl-1.1.0 - lib/compat/openssl_support.c:128:17: error: unknown type name ‘CRYPTO_THREADID’
Product: Gentoo Linux Reporter: Quentin Minster <quentin>
Component: Current packagesAssignee: Tomáš Mózes <hydrapolic>
Severity: normal CC: proxy-maint, quentin
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 592438, 669514    
Attachments: build.log

Description Quentin Minster 2018-02-08 03:02:21 UTC
Created attachment 518534 [details]

Following up on #604882, building syslog-ng-3.13.2 still fails here (with openssl-1.1.0g-r2).
I got some errors in the compat layer (lib/compat/openssl_support.c) and not-previously-seen errors in the base code (lib/tlscontext.c).
See attached build.log.
Comment 1 Quentin Minster 2018-02-08 03:03:26 UTC
Created attachment 518536 [details, diff]

Here is a patch which fixes the errors I'm seeing.
Comment 2 Tomáš Mózes 2018-02-08 08:08:12 UTC
Thanks for the report Quentin, can you please post the link where you got that patch?
Comment 3 Quentin Minster 2018-02-08 11:26:12 UTC
There's no link, I patched it myself. :)
Comment 4 Tomáš Mózes 2018-02-08 11:35:36 UTC
:) Are you going to upstream this patch? I suppose not only Gentoo has this problem ;)
Comment 5 Tomáš Mózes 2018-03-15 09:45:14 UTC
When we build openssl, we set disable-deprecated. Without this option, syslog-ng builds fine.
Comment 6 Tomáš Mózes 2018-03-23 03:25:22 UTC
With the latest openssl revision, this becomes obsolete.