Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Sep 2024 19:35:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281372] sysutils/rsyslog8 8.2406.0 does not build with LibreSSL
Message-ID:  <bug-281372-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281372

            Bug ID: 281372
           Summary: sysutils/rsyslog8 8.2406.0 does not build with
                    LibreSSL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: matthew@FreeBSD.org
          Reporter: dave@jetcafe.org
             Flags: maintainer-feedback?(matthew@FreeBSD.org)
          Assignee: matthew@FreeBSD.org

Opening new issue as requested. As of 2024Q3 this has broken again with
libressl.=20=20

[00:00:32] net_ossl.c:232:23: error: call to undeclared function
'ENGINE_get_first'; ISO C99 and later do not support implicit function
declarations [-Werror,-Wimplicit-function-declaration]
[00:00:32]         ENGINE *osslEngine =3D ENGINE_get_first();
[00:00:32]                              ^
[00:00:32] net_ossl.c:232:23: note: did you mean 'ENGINE_get_id'?
[00:00:32] /usr/local/include/openssl/engine.h:108:13: note: 'ENGINE_get_id'
declared here
[00:00:32] const char *ENGINE_get_id(const ENGINE *engine);
[00:00:32]             ^
[00:00:32] net_ossl.c:232:10: error: incompatible integer to pointer conver=
sion
initializing 'ENGINE *' (aka 'struct engine_st *') with an expression of ty=
pe
'int' [-Wint-conversion]
[00:00:32]         ENGINE *osslEngine =3D ENGINE_get_first();
[00:00:32]                 ^            ~~~~~~~~~~~~~~~~~~
[00:00:32] net_ossl.c:237:7: error: call to undeclared function
'ENGINE_get_init_function'; ISO C99 and later do not support implicit funct=
ion
declarations [-Werror,-Wimplicit-function-declaration]
[00:00:32]                 if (ENGINE_get_init_function(osslEngine)) { // C=
heck
if engine is initialized
[00:00:32]                     ^
[00:00:32] net_ossl.c:242:16: error: call to undeclared function
'ENGINE_get_next'; ISO C99 and later do not support implicit function
declarations [-Werror,-Wimplicit-function-declaration]
[00:00:32]                 osslEngine =3D ENGINE_get_next(osslEngine);
[00:00:32]                              ^
[00:00:32] net_ossl.c:242:16: note: did you mean 'ENGINE_get_name'?
[00:00:32] /usr/local/include/openssl/engine.h:109:13: note: 'ENGINE_get_na=
me'
declared here
[00:00:32] const char *ENGINE_get_name(const ENGINE *engine);
[00:00:32]             ^
[00:00:32] net_ossl.c:242:14: error: incompatible integer to pointer conver=
sion
assigning to 'ENGINE *' (aka 'struct engine_st *') from 'int'
[-Wint-conversion]
[00:00:32]                 osslEngine =3D ENGINE_get_next(osslEngine);
[00:00:32]                            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:32] net_ossl.c:733:10: error: call to undeclared function
'net_ossl_genfingerprintstr'; ISO C99 and later do not support implicit
function declarations [-Werror,-Wimplicit-function-declaration]
[00:00:32]         CHKiRet(net_ossl_genfingerprintstr(fingerprint, size,
&pstrFingerprint, "SHA1"));
[00:00:32]                 ^
[00:00:32] net_ossl.c:733:10: note: did you mean 'net_ossl_peerfingerprint'?
[00:00:32] net_ossl.c:701:1: note: 'net_ossl_peerfingerprint' declared here
[00:00:32] net_ossl_peerfingerprint(net_ossl_t *pThis, X509* certpeer, uchar
*fromHostIP)
[00:00:32] ^
[00:00:32] net_ossl.c:1174:4: error: call to undeclared function
'ENGINE_set_default_DSA'; ISO C99 and later do not support implicit function
declarations [-Werror,-Wimplicit-function-declaration]
[00:00:32]                         ENGINE_set_default_DSA(default_engine);
[00:00:32]                         ^
[00:00:32] net_ossl.c:1174:4: note: did you mean 'ENGINE_set_default_RSA'?
[00:00:32] /usr/local/include/openssl/engine.h:114:5: note:
'ENGINE_set_default_RSA' declared here
[00:00:32] int ENGINE_set_default_RSA(ENGINE *engine);
[00:00:32]     ^
[00:00:32] net_ossl.c:1175:4: error: call to undeclared function
'ENGINE_set_default_ciphers'; ISO C99 and later do not support implicit
function declarations [-Werror,-Wimplicit-function-declaration]
[00:00:32]                         ENGINE_set_default_ciphers(default_engin=
e);

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281372-7788>