Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906123 - dev-vcs/subversion-1.14.2-r1 - /.../ld: .../libserf-1.so: undefined reference to CRYPTO_malloc_init
Summary: dev-vcs/subversion-1.14.2-r1 - /.../ld: .../libserf-1.so: undefined reference...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-05-11 08:14 UTC by Toralf Förster
Modified: 2023-05-11 21:05 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.05 KB, text/plain)
2023-05-11 08:14 UTC, Toralf Förster
Details
dev-vcs:subversion-1.14.2-r1:20230511-005704.log.bz2 (dev-vcs:subversion-1.14.2-r1:20230511-005704.log.bz2,10.97 KB, application/x-bzip)
2023-05-11 08:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,21.50 KB, text/plain)
2023-05-11 08:14 UTC, Toralf Förster
Details
environment (environment,223.78 KB, text/plain)
2023-05-11 08:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.81 KB, application/x-bzip)
2023-05-11 08:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.54 KB, application/x-bzip)
2023-05-11 08:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,59.92 KB, application/x-bzip)
2023-05-11 08:14 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 2023-05-11 08:14:04 UTC
too long lines were shrinked:

cd tools/server-side && /bin/sh "/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/work/subversion-1.14.2/libtool" --tag=CC --silent --mode=link x86_64-pc-linux-gnu-gcc -shared  -O2 -pipe -march=native -fno-diagnostics-color   -O2 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl,-
cd subversion/libsvn_ra && /bin/sh "/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/work/subversion-1.14.2/libtool" --tag=CC --silent --mode=link x86_64-pc-linux-gnu-gcc -shared  -O2 -pipe -march=native -fno-diagnostics-color   -O2 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-needed -W
if false ; then cd tools/server-side/mod_dontdothat && /bin/sh "/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/work/subversion-1.14.2/libtool" --tag=CC --silent --mode=link x86_64-pc-linux-gnu-gcc -shared  -O2 -pipe -march=native -fno-diagnostics-color   -O2 -pipe -march=native -fno-diagnostics-color
cd subversion/tests/libsvn_fs_fs && /bin/sh "/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/work/subversion-1.14.2/libtool" --tag=CC --silent --mode=link x86_64-pc-linux-gnu-gcc -shared  -O2 -pipe -march=native -fno-diagnostics-color   -O2 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-
cd subversion/libsvn_client && /bin/sh "/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/work/subversion-1.14.2/libtool" --tag=CC --silent --mode=link x86_64-pc-linux-gnu-gcc -shared  -O2 -pipe -march=native -fno-diagnostics-color   -O2 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-neede
cd subversion/svnsync && /bin/sh "/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/work/subversion-1.14.2/libtool" --tag=CC --silent --mode=link x86_64-pc-linux-gnu-gcc -shared  -O2 -pipe -march=native -fno-diagnostics-color   -O2 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl,
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libserf-1.so: undefined reference to `CRYPTO_malloc_init'
collect2: error: ld returned 1 exit status
make: *** [build-outputs.mk:1014: subversion/svnsync/svnsync] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20230510-184538

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
Python 3.11.3
Available Rust versions:
  [1]   rust-1.69.0 *
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
php cli (if any):

  HEAD of ::gentoo
commit a90e64426b8faa0ffa67fc8809c41be9ce61aa1d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed May 10 18:19:25 2023 +0000

    2023-05-10 18:19:23 UTC

emerge -qpvO dev-vcs/subversion
[ebuild  N    ] dev-vcs/subversion-1.14.2-r1  USE="berkdb nls perl sasl -apache2 -debug -doc -extras -gnome-keyring -java -kwallet -plaintext-password-storage -ruby -test"
Comment 1 Toralf Förster gentoo-dev 2023-05-11 08:14:05 UTC
Created attachment 861480 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-11 08:14:06 UTC
Created attachment 861481 [details]
dev-vcs:subversion-1.14.2-r1:20230511-005704.log.bz2
Comment 3 Toralf Förster gentoo-dev 2023-05-11 08:14:07 UTC
Created attachment 861482 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-05-11 08:14:08 UTC
Created attachment 861483 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-05-11 08:14:09 UTC
Created attachment 861484 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-11 08:14:10 UTC
Created attachment 861485 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-05-11 08:14:11 UTC
Created attachment 861486 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2023-05-11 21:05:34 UTC
The bug has been closed via the following commit(s):

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

commit c91cafb9e46fa580f698a54eecf1752aab89ab2a
Author:     orbea <orbea@riseup.net>
AuthorDate: 2023-05-11 14:37:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-11 21:05:16 +0000

    net-libs/serf: fix dev-vcs/subversion build fail
    
    With the previous backported LibreSSL patch the build in
    dev-vcs/subversion fails with an undefined reference to
    CRYPTO_malloc_init() which should be used with LibreSSL
    and not OpenSSL. To avoid this unintended issue the patch
    is changed to check only for LIBRESSL_VERSION_NUMBER.
    
    When the next serf release happens this patch can be removed
    and the new upstream cmake build system may be preferable.
    
    Closes: https://bugs.gentoo.org/906123
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/30992
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/serf/files/serf-1.3.9-libressl.patch      | 28 +++++-----------------
 .../{serf-1.3.9-r3.ebuild => serf-1.3.9-r4.ebuild} |  2 +-
 2 files changed, 7 insertions(+), 23 deletions(-)