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

Bug 851546

Summary: net-libs/sofia-sip-1.13.8[-ssl]: /.../ld: ../.../libsofia-sip-ua.so: undefined reference to SSL_get_error
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/freeswitch/sofia-sip/issues/27
https://github.com/gentoo/gentoo/pull/35243
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
logs.tar.bz2
net-libs:sofia-sip-1.13.8:20220612-122519.log
temp.tar.bz2
build.log (sam)

Description Toralf Förster gentoo-dev 2022-06-12 13:05:01 UTC
	 COMPILE sip-dig.o
	 COMPILE sip-options.o
	 LINK sip-date
	 LINK sip-options
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to `SSL_get_error'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to `TLS_server_method'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to `SSL_CTX_set_options'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220531-135334

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.5
Python 3.9.13
Available Rust versions:
  [1]   rust-bin-1.61.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 01c19ccff556e96e786cb47446354e078d52bda2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jun 12 12:03:17 2022 +0000

    2022-06-12 12:03:16 UTC

emerge -qpvO net-libs/sofia-sip
[ebuild  N    ] net-libs/sofia-sip-1.13.8  USE="-ssl -test"
Comment 1 Toralf Förster gentoo-dev 2022-06-12 13:05:02 UTC
Created attachment 784331 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-12 13:05:03 UTC
Created attachment 784334 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-06-12 13:05:05 UTC
Created attachment 784337 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-06-12 13:05:06 UTC
Created attachment 784340 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-06-12 13:05:07 UTC
Created attachment 784343 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-12 13:05:09 UTC
Created attachment 784346 [details]
net-libs:sofia-sip-1.13.8:20220612-122519.log
Comment 7 Toralf Förster gentoo-dev 2022-06-12 13:05:10 UTC
Created attachment 784349 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-06 00:41:27 UTC
Actually, this log (toralf's) is from an OpenSSL 3 build, but it's still USE=-ssl, and I see something similar with openssl 1.1.x.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-06 00:42:01 UTC
Created attachment 790289 [details]
build.log (sam)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-06 00:44:41 UTC
Kind of related to https://github.com/freeswitch/sofia-sip/issues/27. Implies upstream aren't really testing it / interested in this case.
Comment 11 Rolf Eike Beer archtester 2023-10-17 18:41:31 UTC
Same with 1.13.16.