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

Bug 805269

Summary: net-dialup/freeradius-3.0.22-r2 - tls.c:(.text+<snip>): undefined reference to FIPS_mode
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: RESOLVED FIXED    
Severity: normal CC: reuben-gentoo-bugzilla
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: Will be fixed in freeradius-3.0.26 release
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 797325    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-dialup:freeradius-3.0.22-r2:20210730-154213.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-07-30 17:03:09 UTC
Executing: /bin/sh -c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o build/bin/local/radsniff build/objs/src/main/radsniff.o build/objs/src/main/collectd.o -L build/lib/local/.libs -lfreeradius-radius -Wl,-rpath=/var/tmp/portage/net-dialup/freeradius-3.0.22-r2/work/freeradius-server-3.0.22/build/lib/local//.libs -lcrypto -lssl -ltalloc -latomic -lpcre -lcap -lnsl -lresolv -ldl -lpthread -lreadline -lpcap -lcrypto -lssl -ltalloc -latomic -lpcre -lcap -lnsl -lresolv -ldl -lpthread -lreadline -lpcap -Wl,-export-dynamic  
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: build/objs/src/main/tls.o: in function `load_dh_params':
tls.c:(.text+0x31fc): undefined reference to `FIPS_mode'
collect2: error: ld returned 1 exit status
make: *** [scripts/boiler.mk:629: build/bin/local/radiusd] Error 1
make: *** Waiting for unfinished jobs....
Executing: touch build/bin/local/radsniff 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j3-20210729-224739

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 456cab1f10ef9b3a5eb77216e82b89fd5c55c90d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jul 30 15:06:43 2021 +0000

    2021-07-30 15:06:42 UTC

emerge -qpvO net-dialup/freeradius
[ebuild  N    ] net-dialup/freeradius-3.0.22-r2  USE="pam readline ssl -debug -firebird -iodbc -kerberos -ldap -memcached -mongodb -mysql -odbc -oracle -pcap -postgres -python -redis -rest -samba -sqlite -systemd" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2021-07-30 17:03:10 UTC
Created attachment 728379 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-30 17:03:12 UTC
Created attachment 728382 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-07-30 17:03:13 UTC
Created attachment 728385 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-07-30 17:03:14 UTC
Created attachment 728388 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-07-30 17:03:16 UTC
Created attachment 728391 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-30 17:03:18 UTC
Created attachment 728394 [details]
net-dialup:freeradius-3.0.22-r2:20210730-154213.log
Comment 7 Toralf Förster gentoo-dev 2021-07-30 17:03:19 UTC
Created attachment 728397 [details]
temp.tar.bz2
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2022-03-08 13:07:38 UTC
I've looked into upstream's v3.0.x branch and the openssl-3 fixes are scattered over a huge amount of small commits which are unfortunately even named confusing (for example "let's see if this helps" or "make it ifdef" or "typo") so one has to look into each and every commit in order to verify if it's required for backporting or not. So after cherry-picking at least two dozens of commits, I gave up and think it's better to simply wait for the 3.0.26 release to appear in order to have this fixed...
Comment 9 Rachid Achellal 2022-05-19 04:16:55 UTC
This issue is fixed in release 3.2.0.
Please add the new package version
Comment 10 Larry the Git Cow gentoo-dev 2022-06-11 05:02:01 UTC
The bug has been closed via the following commit(s):

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

commit c42cf46c03f80f53bd1cad1d287c50064509567a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-11 04:53:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-11 05:01:54 +0000

    net-dialup/freeradius: add 3.2.0
    
    Closes: https://bugs.gentoo.org/805269
    Closes: https://bugs.gentoo.org/779631
    Signed-off-by: Sam James <sam@gentoo.org>

 net-dialup/freeradius/Manifest                |   1 +
 net-dialup/freeradius/freeradius-3.2.0.ebuild | 309 ++++++++++++++++++++++++++
 2 files changed, 310 insertions(+)