Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640872 - dev-vcs/subversion-1.8.18 : /.../sed: symbol lookup error: /.../libserf-1.so.1: undefined symbol: BIO_set_data
Summary: dev-vcs/subversion-1.8.18 : /.../sed: symbol lookup error: /.../libserf-1.so....
Status: RESOLVED DUPLICATE of bug 640722
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
: 655316 (view as bug list)
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2017-12-12 20:25 UTC by Toralf Förster
Modified: 2019-05-17 12:46 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.75 KB, text/plain)
2017-12-12 20:25 UTC, Toralf Förster
Details
dev-vcs:subversion-1.8.18:20171212-171308.log (dev-vcs:subversion-1.8.18:20171212-171308.log,238.94 KB, text/plain)
2017-12-12 20:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,236.79 KB, text/plain)
2017-12-12 20:25 UTC, Toralf Förster
Details
environment (environment,278.80 KB, text/plain)
2017-12-12 20:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.87 KB, application/x-bzip)
2017-12-12 20:26 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.50 KB, application/x-bzip)
2017-12-12 20:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,72.47 KB, application/x-bzip)
2017-12-12 20:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-12-12 20:25:48 UTC
/usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c -d /var/tmp/portage/dev-vcs/subversion-1.8.18/image//usr/bin
cd subversion/svn ; /bin/sh /var/tmp/portage/dev-vcs/subversion-1.8.18/work/subversion-1.8.18/libtool --mode=install /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c svn /var/tmp/portage/dev-vcs/subversion-1.8.18/image//usr/bin/svn
/bin/sed: symbol lookup error: /usr/lib64/libserf-1.so.1: undefined symbol: BIO_set_data
/bin/sed: symbol lookup error: /usr/lib64/libserf-1.so.1: undefined symbol: BIO_set_data
libtool: warning: '../../subversion/libsvn_client/libsvn_client-1.la' has not been installed in '/usr/lib64'
/bin/sed: symbol lookup error: /usr/lib64/libserf-1.so.1: undefined symbol: BIO_set_data

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_libressl_20171207-183609

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-vcs/subversion
[ebuild  N    ] dev-vcs/subversion-1.8.18  USE="dso http nls -apache2 -berkdb -ctypes-python -debug -doc -extras -gnome-keyring -java -kwallet -perl -python -ruby -sasl {-test} -vim-syntax" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2017-12-12 20:25:51 UTC
Created attachment 509714 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-12 20:25:54 UTC
Created attachment 509716 [details]
dev-vcs:subversion-1.8.18:20171212-171308.log
Comment 3 Toralf Förster gentoo-dev 2017-12-12 20:25:57 UTC
Created attachment 509718 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-12-12 20:26:01 UTC
Created attachment 509720 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-12-12 20:26:04 UTC
Created attachment 509722 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-12 20:26:07 UTC
Created attachment 509724 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-12-12 20:26:10 UTC
Created attachment 509726 [details]
temp.tbz2
Comment 8 zym 2018-03-20 04:30:10 UTC
the problem here is the "http" USE flag will get net-libs/serf depends which then depend on libressl or openssl, but when linking here, does not honor the net-libs/serf depends. 

bug confirmed on latest version:
dev-vcs/subversion-1.9.7-r1

# qdepends net-libs/serf
net-libs/serf-1.3.9: dev-libs/apr:1/1= dev-libs/apr-util:1/1= dev-libs/libressl:0/44= sys-libs/zlib:0/1= virtual/krb5 >=dev-util/scons-2.3.0 dev-util/scons

# cat /usr/lib64/pkgconfig/serf-1.pc
SERF_MAJOR_VERSION=1
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib64
includedir=${prefix}/include/serf-1

Name: serf
Description: HTTP client library
Version: 1.3.9
Requires.private: libssl libcrypto
Libs: -L${libdir} -lserf-${SERF_MAJOR_VERSION}
Libs.private: -laprutil-1 -lldap -llber -ldb-6.0 -lgdbm  -lexpat -lapr-1 -luuid -lrt -lcrypt  -lpthread -ldl -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64 -L/usr/lib64 -lgssapi -lz
Cflags: -I${includedir}

disable "http" USE flag will fix this building error.

not familiar with deep depend, hope someone take a look of this.

thanks
Comment 9 Toralf Förster gentoo-dev 2018-05-13 17:25:28 UTC
*** Bug 655316 has been marked as a duplicate of this bug. ***
Comment 10 WANG Xuerui gentoo-dev 2019-01-26 09:51:27 UTC
This is a net-libs/serf bug. From serf's build log:

<snip>
buckets/ssl_buckets.c: In function 'bio_set_data':
buckets/ssl_buckets.c:243:5: warning: implicit declaration of function 'BIO_set_data'; did you mean 'bio_set_data'? [-Wimplicit-function-declaration]
     BIO_set_data(bio, data);
     ^~~~~~~~~~~~
     bio_set_data
buckets/ssl_buckets.c: In function 'bio_get_data':
buckets/ssl_buckets.c:252:12: warning: implicit declaration of function 'BIO_get_data'; did you mean 'bio_get_data'? [-Wimplicit-function-declaration]
     return BIO_get_data(bio);
            ^~~~~~~~~~~~
            bio_get_data
buckets/ssl_buckets.c:252:12: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion]
     return BIO_get_data(bio);
            ^~~~~~~~~~~~~~~~~
<snip>

Seems the libressl ABI has changed between the releases and serf got hit.
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2019-05-17 12:46:29 UTC

*** This bug has been marked as a duplicate of bug 640722 ***