View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001141 | bareos-core | General | public | 2019-11-19 22:23 | 2023-07-18 15:48 |
Reporter | harryruhr | Assigned To | bruno-at-bareos | ||
Priority | high | Severity | block | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Platform | amd64 | OS | OpenBSD | OS Version | 6.6 |
Product Version | 18.2.6 | ||||
Summary | 0001141: Can't build on OpenBSD / against libressl | ||||
Description | The build aborts with the following error: /usr/ports/pobj/bareos-18.2.6/bareos-Release-18.2.6/core/src/lib/crypto_openssl.cc:425:24: error: use of undeclared identifier 'M_ASN1_OCTET_STRING_dup'; did you mean 'ASN1_OCTET_STRING_dup'? newpair->keyid = M_ASN1_OCTET_STRING_dup(keypair->keyid); ^~~~~~~~~~~~~~~~~~~~~~~ ASN1_OCTET_STRING_dup /usr/include/openssl/asn1.h:692:20: note: 'ASN1_OCTET_STRING_dup' declared here ASN1_OCTET_STRING *ASN1_OCTET_STRING_dup(const ASN1_OCTET_STRING *a); ^ | ||||
Steps To Reproduce | - Get the OpenBSD port from https://github.com/jasperla/openbsd-wip/tree/master/sysutils/bareos and try to build it. | ||||
Additional Information | This error seems to occur in general, when building against libressl (instead of openssl), see also https://bugs.gentoo.org/692370 | ||||
Tags | No tags attached. | ||||
We have the same issue on OpenBSD 6.8 trying to compile bareos-fd 20.0 (we skipped a few versions, I have no doubt the problem would have been the same on 18.x). | |
To expand: after patching a few minor things (names that are different between openssl and libressl) we are stuck on this: /usr/ports/pobj/bareos-Release-20.0.0/bareos-Release-20.0.0/core/src/lib/tls_openssl.cc:67:5: error: use of undeclared identifier 'SSL_CTX_set_psk_client_callback' SSL_CTX_set_psk_client_callback(d_->openssl_ctx_, ^ /usr/ports/pobj/bareos-Release-20.0.0/bareos-Release-20.0.0/core/src/lib/tls_openssl.cc:85:5: error: use of undeclared identifier 'SSL_CTX_set_psk_server_callback' SSL_CTX_set_psk_server_callback(d_->openssl_ctx_, ^ |
|
Sorry to say, but Bareos will need openSSL to be build as indicated in source and documentation. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-11-19 22:23 | harryruhr | New Issue | |
2021-03-02 09:31 | renato.ramonda | Note Added: 0004094 | |
2021-03-02 09:33 | renato.ramonda | Note Added: 0004095 | |
2023-07-18 15:48 | bruno-at-bareos | Assigned To | => bruno-at-bareos |
2023-07-18 15:48 | bruno-at-bareos | Status | new => closed |
2023-07-18 15:48 | bruno-at-bareos | Resolution | open => won't fix |
2023-07-18 15:48 | bruno-at-bareos | Note Added: 0005207 |