x86_64-pc-linux-gnu-ranlib libserf-1.a x86_64-pc-linux-gnu-gcc -o test/serf_get -Wl,-O1 -Wl,--as-needed -pthread -Wl,-rpath=/var/tmp/portage/net-libs/serf-1.3.9/work/serf-1.3.9 test/serf_get.o -L. -L/var/tmp/portage/dev-libs/apr-util-1.6.0/temp -lserf-1 -lssl -lcrypto -lz -lapr-1 -luuid -lrt -lcrypt -lpthread -ldl -laprutil-1 -lldap -llber -ldb-6.0 -lgdbm -lexpat ./libserf-1.so: undefined reference to `BIO_meth_set_gets' ./libserf-1.so: undefined reference to `OPENSSL_malloc_init' ./libserf-1.so: undefined reference to `BIO_set_data' ./libserf-1.so: undefined reference to `BIO_set_init' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-desktop_libressl_20170725-223303 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.5.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm
Created attachment 486932 [details] emerge-info.txt
Created attachment 486934 [details] emerge-history.txt
Created attachment 486936 [details] environment
Created attachment 486938 [details] etc.portage.tbz2
Created attachment 486940 [details] logs.tbz2
Created attachment 486942 [details] net-libs:serf-1.3.9:20170726-202401.log
Created attachment 486944 [details] temp.tbz2
I suspect this should block: https://bugs.gentoo.org/show_bug.cgi?id=561854 It seems to be specific to libressl.
Subversion is another victim of this. It will not run once net-libs/serf is upgraded to 1.3.9, nor will it re-compile.
Created attachment 488778 [details, diff] serf-1.3.9-libressl.patch attached patch fixes build against libressl, tested with subversion
(In reply to Johannes Hirte from comment #10) > Created attachment 488778 [details, diff] [details, diff] > serf-1.3.9-libressl.patch > > attached patch fixes build against libressl, tested with subversion Patch works after adding epatch_user to the EAPI5 serf-1.3.9.ebuild. I now was able to update subversion and nmap.
Hey Toralf, could you please use this bugreport as base of your related duplicates?
(In reply to jospezial from comment #12) For LibreSSL we do already have TRACKER bugs
Sorry for the delay. It seems it does not reproduce with libressl-3.0.0.
(In reply to Toralf Förster from comment #0) > ./libserf-1.so: undefined reference to `BIO_meth_set_gets' > ./libserf-1.so: undefined reference to `OPENSSL_malloc_init' > ./libserf-1.so: undefined reference to `BIO_set_data' > ./libserf-1.so: undefined reference to `BIO_set_init' BIO_meth_set_gets() was introduced in LibreSSL 2.7.0. BIO_set_data() was introduced in LibreSSL 2.7.0. BIO_set_init() was introduced in LibreSSL 2.7.0. OPENSSL_malloc_init() was not yet introduced in any version of LibreSSL.