[Bug 227734] net/openldap24-sasl-client 2.4.46 undefined BIO_ references with libressl
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Apr 24 04:56:31 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227734
Bug ID: 227734
Summary: net/openldap24-sasl-client 2.4.46 undefined BIO_
references with libressl
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: delphij at FreeBSD.org
Reporter: dewayne at heuristicsystems.com.au
Assignee: delphij at FreeBSD.org
Flags: maintainer-feedback?(delphij at FreeBSD.org)
In an amd64 jail using libressl
Result of
# make __MAKE_CONF=/dev/null -C /usr/ports/net/openldap24-sasl-client -DBATCH
-DMAKE_JOBS_UNSAFE clean package
...
/bin/sh ../../libtool --mode=link cc -O2 -pipe -fstack-protector
-fno-strict-aliasing -Wl,-rpath,/usr/local/lib -fstack-protector -o apitest
apitest.o libldap.la ../../libraries/liblber/liblber.la
../../libraries/liblutil/liblutil.a -lsasl2 -lssl -lcrypto -L/usr/local/lib
cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wl,-rpath
-Wl,/usr/local/lib -fstack-protector -o .libs/apitest apitest.o
./.libs/libldap.so ../../libraries/liblber/.libs/liblber.so
../../libraries/liblutil/liblutil.a /usr/local/lib/libsasl2.so -L/usr/local/lib
-lssl -lcrypto -Wl,--rpath -Wl,/usr/local/lib
./.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)
*** Error code 1
Environment is:
# openssl version ; echo ; cc -v ; echo ; ld -v; echo; uname -pvKU
LibreSSL 2.6.4
FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM
6.0.0)
Target: x86_64-unknown-freebsd11.2
Thread model: posix
InstalledDir: /usr/bin
GNU ld (GNU Binutils) 2.30
FreeBSD 11.2-PRERELEASE r332843M amd64 1101515 1101515
So I reverted the jail's userland to an earlier version
FreeBSD 11.2-PRERELEASE r332843M amd64 1101515 1101509
to replace clang 6 with clang 5.0.1; as I thought there may be some issues with
clang6 on amd64 as there is with i386. The problem remains when built with
clang 5.0.1.
---
In an i386 jail using openssl:
# make -C /usr/ports/net/openldap24-sasl-client -DBATCH -DMAKE_JOBS_UNSAFE
clean package
Successful
# openssl version ; echo ; cc -v ; echo ; ld -v ; echo ; uname -pvKU
OpenSSL 1.0.2o 27 Mar 2018
FreeBSD clang version 5.0.1 (tags/RELEASE_501/final 320880) (based on LLVM
5.0.1)
Target: i386-unknown-freebsd11.1
Thread model: posix
InstalledDir: /usr/bin
GNU ld (GNU Binutils) 2.30
FreeBSD 11.2-PRERELEASE r332843M i386 1101515 1101509
In all cases
# svnlite info /usr/ports
...
Repository Root: https://svn.freebsd.org/ports
Revision: 468164
Last Changed Rev: 468163
Last Changed Date: 2018-04-24 10:26:05 +1000 (Tue, 24 Apr 2018)
PS I'm sure you're aware that the __MAKE_CONF=/dev/null removes /etc/make.conf
influence; and there are no option files :)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list