Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626298 - net-libs/serf-1.3.9 : ./libserf-1.so: undefined reference to BIO_meth_set_gets
Summary: net-libs/serf-1.3.9 : ./libserf-1.so: undefined reference to BIO_meth_set_gets
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2017-07-26 20:58 UTC by Toralf Förster
Modified: 2019-08-27 04:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,14.72 KB, text/plain)
2017-07-26 20:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,55.15 KB, text/plain)
2017-07-26 20:58 UTC, Toralf Förster
Details
environment (environment,94.15 KB, text/plain)
2017-07-26 20:58 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.16 KB, application/x-bzip)
2017-07-26 20:58 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,504 bytes, application/x-bzip)
2017-07-26 20:58 UTC, Toralf Förster
Details
net-libs:serf-1.3.9:20170726-202401.log (net-libs:serf-1.3.9:20170726-202401.log,29.28 KB, text/plain)
2017-07-26 20:58 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.54 KB, application/x-bzip)
2017-07-26 20:58 UTC, Toralf Förster
Details
serf-1.3.9-libressl.patch (serf-1.3.9-libressl.patch,566 bytes, patch)
2017-08-13 15:09 UTC, Johannes Hirte
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-07-26 20:58:09 UTC
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
Comment 1 Toralf Förster gentoo-dev 2017-07-26 20:58:12 UTC
Created attachment 486932 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-26 20:58:15 UTC
Created attachment 486934 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-07-26 20:58:19 UTC
Created attachment 486936 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-07-26 20:58:22 UTC
Created attachment 486938 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-07-26 20:58:25 UTC
Created attachment 486940 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-26 20:58:28 UTC
Created attachment 486942 [details]
net-libs:serf-1.3.9:20170726-202401.log
Comment 7 Toralf Förster gentoo-dev 2017-07-26 20:58:31 UTC
Created attachment 486944 [details]
temp.tbz2
Comment 8 James Cloos 2017-07-28 20:55:37 UTC
I suspect this should block:

https://bugs.gentoo.org/show_bug.cgi?id=561854

It seems to be specific to libressl.
Comment 9 James Cloos 2017-07-28 21:00:10 UTC
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.
Comment 10 Johannes Hirte 2017-08-13 15:09:16 UTC
Created attachment 488778 [details, diff]
serf-1.3.9-libressl.patch

attached patch fixes build against libressl, tested with subversion
Comment 11 jospezial 2017-08-19 22:53:50 UTC
(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.
Comment 12 jospezial 2018-10-23 18:59:47 UTC
Hey Toralf, could you please use this bugreport as base of your related duplicates?
Comment 13 Toralf Förster gentoo-dev 2018-10-25 17:28:06 UTC
(In reply to jospezial from comment #12)
For LibreSSL we do already have TRACKER bugs
Comment 14 Stefan Strogin gentoo-dev 2019-08-27 02:48:53 UTC
Sorry for the delay. It seems it does not reproduce with libressl-3.0.0.
Comment 15 Arfrever Frehtes Taifersar Arahesis 2019-08-27 04:29:30 UTC
(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.