View Issue Details

IDProjectCategoryView StatusLast Update
0001141bareos-coreGeneralpublic2023-07-18 15:48
Reporterharryruhr Assigned Tobruno-at-bareos  
Status closedResolutionwon't fix 
Platformamd64OSOpenBSDOS Version6.6
Product Version18.2.6 
Summary0001141: Can't build on OpenBSD / against libressl
DescriptionThe build aborts with the following error:

/usr/ports/pobj/bareos-18.2.6/bareos-Release-18.2.6/core/src/lib/ 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);
/usr/include/openssl/asn1.h:692:20: note: 'ASN1_OCTET_STRING_dup' declared here
Steps To Reproduce- Get the OpenBSD port from and try to build it.
Additional InformationThis error seems to occur in general, when building against libressl (instead of openssl), see also
TagsNo tags attached.




2021-03-02 09:31

reporter   ~0004094

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).


2021-03-02 09:33

reporter   ~0004095

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/ error: use of undeclared identifier 'SSL_CTX_set_psk_client_callback'
/usr/ports/pobj/bareos-Release-20.0.0/bareos-Release-20.0.0/core/src/lib/ error: use of undeclared identifier 'SSL_CTX_set_psk_server_callback'


2023-07-18 15:48

manager   ~0005207

Sorry to say, but Bareos will need openSSL to be build as indicated in source and documentation.

Issue History

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