[Bug 219605] net-mgmt/ccnet-client: 6.0.6 fails to build with LibreSSL
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 28 01:42:40 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219605
Bug ID: 219605
Summary: net-mgmt/ccnet-client: 6.0.6 fails to build with
LibreSSL
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: mozilla at tuxproject.de
CC: Ultima1252 at gmail.com
CC: Ultima1252 at gmail.com
Flags: maintainer-feedback?(Ultima1252 at gmail.com)
Created attachment 182979
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182979&action=edit
proposed fix?
I can't build net-mgmt/ccnet-client 6.0.6 on FreeBSD 11.0 with LibreSSL:
> ../../lib/.libs/libccnetd.a(rsa.o): In function `private_key_to_pub':
> rsa.c:(.text+0x28): undefined reference to `RSA_get0_key'
> rsa.c:(.text+0x4f): undefined reference to `RSA_set0_key'
> ../../lib/.libs/libccnetd.a(rsa.o): In function `public_key_to_gstring':
> rsa.c:(.text+0x9c): undefined reference to `RSA_get0_key'
> ../../lib/.libs/libccnetd.a(rsa.o): In function `public_key_append_to_gstring':
> rsa.c:(.text+0x1cf): undefined reference to `RSA_get0_key'
> ../../lib/.libs/libccnetd.a(rsa.o): In function `public_key_from_string':
> rsa.c:(.text+0x37e): undefined reference to `RSA_set0_key'
This might be because a switch in rsa.c adds those functions for "newer OpenSSL
versions" without considering LibreSSL (which has a fixed
OPENSSL_VERSION_NUMBER set).
A proposed fix is attached.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list