View Issue Details

IDProjectCategoryView StatusLast Update
0001141bareos-coreGeneralpublic2021-03-02 09:33
Reporterharryruhr Assigned To 
Status newResolutionopen 
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.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action




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'

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