Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646952 - 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’
Summary: app-admin/syslog-ng-3.14.1 with >=dev-libs/openssl-1.1.0 - lib/compat/openssl...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
Keywords: PATCH
Depends on:
Blocks: openssl-1.1 openssl-1.1_disable-deprecated
  Show dependency tree
Reported: 2018-02-08 03:02 UTC by Quentin Minster
Modified: 2018-10-24 16:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,117.43 KB, text/x-log)
2018-02-08 03:02 UTC, Quentin Minster
syslog-ng-3.13.2-openssl-1.1-compatibility.patch (syslog-ng-3.13.2-openssl-1.1-compatibility.patch,950 bytes, patch)
2018-02-08 03:03 UTC, Quentin Minster
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.