Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648910 - www-servers/pshs-0.3.2 with >=dev-libs/openssl-1.1.0 - src/ssl.cxx:71:2: error: ‘SSL_load_error_strings’ was not declared in this scope
Summary: www-servers/pshs-0.3.2 with >=dev-libs/openssl-1.1.0 - src/ssl.cxx:71:2: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2018-02-26 23:40 UTC by Quentin Minster
Modified: 2018-02-27 16:19 UTC (History)
1 user (show)

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


Attachments
build.log (file_648910.txt,14.78 KB, text/plain)
2018-02-26 23:40 UTC, Quentin Minster
Details
pshs-0.3.2-openssl-1.1.0-compat.patch (file_648910.txt,3.70 KB, patch)
2018-02-26 23:43 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-26 23:40:42 UTC
Created attachment 521204 [details]
build.log

www-servers/pshs-0.3.2 with >=dev-libs fails to build with >=dev-libs/openssl-1.1.0, with errors about undeclared functions.

This is due to changes in OpenSSL 1.1.0: a lot of functions were deprecated/removed, and Gentoo's OpenSSL doesn't enable the compatibility layer by default.

I sent a PR upstream which got merged [0], so www-servers/pshs-9999 should work fine with OpenSSL 1.1.0.

I'm attaching the patch for www-servers/pshs-0.3.2 below, but perhaps Michał could tag a new version and bump the ebuild?


[0]: https://github.com/mgorny/pshs/pull/2
Comment 1 Quentin Minster 2018-02-26 23:43:00 UTC
Created attachment 521206 [details, diff]
pshs-0.3.2-openssl-1.1.0-compat.patch
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-27 10:56:28 UTC
Yeah, I'm planning to make a new release but I want to test it on LibreSSL as well. I will look into doing that today.
Comment 3 Larry the Git Cow gentoo-dev 2018-02-27 16:19:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c6d92e104174577fd9ae2e857c0c27cbcfe7f3d

commit 0c6d92e104174577fd9ae2e857c0c27cbcfe7f3d
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-02-27 16:18:54 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-02-27 16:19:12 +0000

    www-servers/pshs: Bump to 0.3.3
    
    Bump to new 0.3.3 release that fixes OpenSSL-1.1 compatibility (thanks,
    Quentin!) and linking to new libnetlink.
    
    Closes: https://bugs.gentoo.org/648910

 www-servers/pshs/Manifest          |  1 +
 www-servers/pshs/pshs-0.3.3.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)