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

Bug 729820

Summary: net-im/coturn-4.5.1.2 : /.../ns_turn_msg.c:247: undefined reference to FIPS_mode
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Andreas Schürch <nativemad>
Status: RESOLVED FIXED    
Severity: normal CC: cedk, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/coturn/coturn/issues/886
https://github.com/coturn/coturn/issues/552
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 797325, 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-im:coturn-4.5.1.2:20200627-001248.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-06-27 08:08:50 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib//libc.a when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib/libturnclient.a(ns_turn_msg.o): in function `stun_produce_integrity_key_str':
/var/tmp/portage/net-im/coturn-4.5.1.2/work/coturn-4.5.1.2/src/client/ns_turn_msg.c:247: undefined reference to `FIPS_mode'
collect2: error: ld returned 1 exit status
make: *** [Makefile:121: bin/turnutils_oauth] Error 1
 * ERROR: net-im/coturn-4.5.1.2::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20200623-041854

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

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.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri 26 Jun 2020 11:09:23 PM UTC
/var/db/repos/libressl	Fri 19 Jun 2020 10:37:45 AM UTC

emerge -qpvO net-im/coturn
[ebuild  N    ] net-im/coturn-4.5.1.2  USE="-mongodb -mysql -postgres -redis -sqlite"
Comment 1 Toralf Förster gentoo-dev 2020-06-27 08:08:53 UTC
Created attachment 646648 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-06-27 08:08:57 UTC
Created attachment 646650 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-06-27 08:09:00 UTC
Created attachment 646652 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-06-27 08:09:03 UTC
Created attachment 646654 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-06-27 08:09:05 UTC
Created attachment 646656 [details]
net-im:coturn-4.5.1.2:20200627-001248.log
Comment 6 Toralf Förster gentoo-dev 2020-06-27 08:09:09 UTC
Created attachment 646658 [details]
temp.tbz2
Comment 7 Cédric Krier gentoo-dev 2020-07-19 08:54:44 UTC
It seems to be related to https://github.com/coturn/coturn/issues/552
Comment 8 Kobboi 2022-05-17 20:24:52 UTC
How exactly does this work? As fas as I can see, coturn does not even depend on openssl?
Comment 9 Larry the Git Cow gentoo-dev 2022-05-19 03:43:27 UTC
The bug has been referenced in the following commit(s):

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

commit 23af4fed2d7cc961e7df0ccb0765e590e673f9ab
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-19 03:41:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-19 03:41:36 +0000

    net-im/coturn: fix automagic OpenSSL dep
    
    Also:
    - Fix calling AR, CC directly
    - Fix TMPDIR usage
    
    Bug: https://bugs.gentoo.org/729820
    Closes: https://bugs.gentoo.org/835652
    Closes: https://bugs.gentoo.org/724918
    Signed-off-by: Sam James <sam@gentoo.org>

 net-im/coturn/coturn-4.5.2-r1.ebuild               | 17 +++++++++---
 net-im/coturn/coturn-9999.ebuild                   | 31 +++++++++++++++-------
 .../coturn/files/coturn-4.5.2-respect-TMPDIR.patch | 24 +++++++++++++++++
 3 files changed, 59 insertions(+), 13 deletions(-)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-22 14:19:18 UTC
*** Bug 846920 has been marked as a duplicate of this bug. ***
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-11 06:56:30 UTC
*** Bug 857558 has been marked as a duplicate of this bug. ***
Comment 12 Toralf Förster gentoo-dev 2022-07-11 07:31:51 UTC
not yet fixed (see dups)
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-29 09:53:53 UTC
*** Bug 878631 has been marked as a duplicate of this bug. ***
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-29 09:54:07 UTC
*** Bug 874099 has been marked as a duplicate of this bug. ***
Comment 15 Larry the Git Cow gentoo-dev 2022-10-31 01:43:13 UTC
The bug has been closed via the following commit(s):

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

commit c0ca7de3d5a6cf9272978d19b813c5697abba710
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-31 01:24:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-31 01:42:25 +0000

    net-im/coturn: add 4.6.0
    
    Closes: https://bugs.gentoo.org/729820
    Signed-off-by: Sam James <sam@gentoo.org>

 net-im/coturn/Manifest                          |   1 +
 net-im/coturn/coturn-4.6.0.ebuild               |  98 +++++++
 net-im/coturn/coturn-9999.ebuild                |  31 ++-
 net-im/coturn/files/coturn-4.6.0-openssl3.patch | 356 ++++++++++++++++++++++++
 4 files changed, 476 insertions(+), 10 deletions(-)