Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 725776

Summary: dev-vcs/subversion-1.14.0 : /.../ld: /.../libserf-1.so: undefined reference to OPENSSL_malloc_init
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo LibreSSL <libressl>
Status: RESOLVED FIXED    
Severity: normal CC: dilfridge, zlogene
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: emerge-info.txt
dev-vcs:subversion-1.14.0:20200527-221627.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-05-28 07:21:03 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/libserf-1.so: undefined reference to OPENSSL_malloc_init
collect2: error: ld returned 1 exit status
make: *** [build-outputs.mk:894: subversion/svn/svn] Error 1
 * ERROR: dev-vcs/subversion-1.14.0::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl-20200525-131613

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.8 (fallback)
  [3]   python3.6 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.43.1 *
The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed 27 May 2020 10:05:33 PM UTC
/var/db/repos/libressl	Wed 27 May 2020 08:36:56 AM UTC

emerge -qpvO dev-vcs/subversion
[ebuild  N    ] dev-vcs/subversion-1.14.0  USE="nls -apache2 -berkdb -ctypes-python -debug -doc -extras -gnome-keyring -java -kwallet -perl -python -ruby -sasl -test" PYTHON_TARGETS="python3_7 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2020-05-28 07:21:07 UTC
Created attachment 642222 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-28 07:21:10 UTC
Created attachment 642226 [details]
dev-vcs:subversion-1.14.0:20200527-221627.log
Comment 3 Toralf Förster gentoo-dev 2020-05-28 07:21:14 UTC
Created attachment 642228 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-05-28 07:21:17 UTC
Created attachment 642230 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-05-28 07:21:20 UTC
Created attachment 642232 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-28 07:21:24 UTC
Created attachment 642236 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-05-28 07:21:27 UTC
Created attachment 642238 [details]
temp.tbz2
Comment 8 Stefan Strogin gentoo-dev 2020-05-28 09:03:46 UTC
The bug is essentially in net-libs/serf. I'll make a [one line] patch to fix it.
Comment 9 Larry the Git Cow gentoo-dev 2020-05-28 09:37:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b535d26d851e7fc8adfe1067016ac70359fd293a

commit b535d26d851e7fc8adfe1067016ac70359fd293a
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2020-05-28 09:28:08 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2020-05-28 09:37:28 +0000

    net-libs/serf: add patch for LibreSSL
    
    Closes: https://bugs.gentoo.org/725776
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 net-libs/serf/files/serf-1.3.9-libressl.patch | 13 +++++
 net-libs/serf/serf-1.3.9-r2.ebuild            | 75 +++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)