Created attachment 192080 [details] svn diff for net/openldap24-server ``` net/openldap24-server: Fix build with LibreSSL 2.7 - LibreSSL 2.7 implements OpenSSL 1.1 API PR: Approved by: (maintainer) ```
security/libressl is currently broken. I don't get why LibreSSL 2.7 does break both security/openssl and security/libressl builds lately, also see e.g. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226852
(In reply to Bernard Spil from comment #0) Approved (thanks for working on it by the way, and you have my blessing to commit fixes for libressl related fixes in the future; I'll try not to break by testing libressl by doing poudriere builds). Could you please also upstream the changes so they don't have to be maintained forever? I think they will benefit other OSes that uses LibreSSL as well.
Hi Xin Li, Already upstreamed this to OpenLDAP. See https://www.openldap.org/its/index.cgi?findid=8832 (also added to PR as URL) Running build tests on 10.3/11.1 amd64/i386 and will commit if no fall-out.
A commit references this bug: Author: brnrd Date: Tue Apr 17 13:47:04 UTC 2018 New revision: 467605 URL: https://svnweb.freebsd.org/changeset/ports/467605 Log: security/openldap-server: Fix build with LibreSSL 2.7 - LibreSSL 2.7 implements OpenSSL 1.1 API PR: 227192 Approved by: delphij (maintainer) Changes: head/net/openldap24-server/files/patch-libressl
Thanks Xin Li! Will add your auto-approval to the list :D
./.libs/libldap.so: undefined reference to `BIO_meth_set_gets' ./.libs/libldap.so: undefined reference to `BIO_meth_set_puts' ./.libs/libldap.so: undefined reference to `BIO_meth_free' ./.libs/libldap.so: undefined reference to `BIO_meth_set_destroy' ./.libs/libldap.so: undefined reference to `BIO_meth_set_write' ./.libs/libldap.so: undefined reference to `BIO_meth_set_read' ./.libs/libldap.so: undefined reference to `BIO_meth_new' ./.libs/libldap.so: undefined reference to `BIO_meth_set_create' ./.libs/libldap.so: undefined reference to `BIO_meth_set_ctrl' cc: error: linker command failed with exit code 1 (use -v to see invocation) with libressl-2.6.4 while building net/openldap24-client 2.4.46
Yup, that's what I mentioned 2 days ago...
Created attachment 192655 [details] build fix
We were still missing a patch?
Yes, you miss one place, where BIO_meth_*() functions defined.
Can this be fixed please? :)
thanks.
working now, thank you <3