Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 805896 - net-nntp/nzbget-21.1-r1 - daemon/.../TlsSocket.cpp: error: FIPS_mode_set was not declared in this scope
Summary: net-nntp/nzbget-21.1-r1 - daemon/.../TlsSocket.cpp: error: FIPS_mode_set was ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2021-08-01 09:05 UTC by Toralf Förster
Modified: 2022-08-24 10:42 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.96 KB, text/plain)
2021-08-01 09:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,172.32 KB, text/plain)
2021-08-01 09:05 UTC, Toralf Förster
Details
environment (environment,74.26 KB, text/plain)
2021-08-01 09:05 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.38 KB, application/x-bzip)
2021-08-01 09:05 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.61 KB, application/x-bzip)
2021-08-01 09:05 UTC, Toralf Förster
Details
net-nntp:nzbget-21.1-r1:20210731-224206.log (net-nntp:nzbget-21.1-r1:20210731-224206.log,11.81 KB, text/plain)
2021-08-01 09:05 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.78 KB, application/x-bzip)
2021-08-01 09:05 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 2021-08-01 09:05:18 UTC
      |                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daemon/connect/TlsSocket.cpp: In static member function ‘static void TlsSocket::Final()’:
daemon/connect/TlsSocket.cpp:192:9: error: ‘FIPS_mode_set’ was not declared in this scope
  192 |         FIPS_mode_set(0);
      |         ^~~~~~~~~~~~~
daemon/connect/TlsSocket.cpp: In member function ‘bool TlsSocket::Start()’:
daemon/connect/TlsSocket.cpp:392:56: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]

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

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

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

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
  (none found)

  HEAD of ::gentoo
commit ff482e7f02da75446774066828574035dc678ec4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jul 31 22:21:33 2021 +0000

    2021-07-31 22:21:29 UTC

emerge -qpvO net-nntp/nzbget
[ebuild  N    ] net-nntp/nzbget-21.1-r1  USE="ncurses parcheck ssl zlib -debug -gnutls -test"
Comment 1 Toralf Förster gentoo-dev 2021-08-01 09:05:19 UTC
Created attachment 728973 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-01 09:05:21 UTC
Created attachment 728976 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-01 09:05:22 UTC
Created attachment 728979 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-01 09:05:23 UTC
Created attachment 728982 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-01 09:05:24 UTC
Created attachment 728985 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-01 09:05:25 UTC
Created attachment 728988 [details]
net-nntp:nzbget-21.1-r1:20210731-224206.log
Comment 7 Toralf Förster gentoo-dev 2021-08-01 09:05:26 UTC
Created attachment 728991 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-18 17:35:25 UTC
sbraz: this patch is quite small and given Ubuntu is shipping it, could you consider adding it? Thanks!
Comment 9 Louis Sautier (sbraz) gentoo-dev 2022-08-23 23:39:01 UTC
(In reply to Sam James from comment #8)
> sbraz: this patch is quite small and given Ubuntu is shipping it, could you
> consider adding it? Thanks!

Sure Sam, I was just a bit cautious as I didn't have a way to test it with OpenSSL 3. I'll add it.
Comment 10 Larry the Git Cow gentoo-dev 2022-08-24 10:42:37 UTC
The bug has been closed via the following commit(s):

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

commit c1be114570a325d593fcc30c72e197e7fa015c52
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2022-08-24 10:35:25 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2022-08-24 10:39:32 +0000

    net-nntp/nzbget: fix build with OpenSSL 3, bump to EAPI 8
    
    Closes: https://bugs.gentoo.org/805896
    Signed-off-by: Louis Sautier <sbraz@gentoo.org>

 net-nntp/nzbget/files/nzbget-21.1-openssl-3.patch |  28 +++++
 net-nntp/nzbget/nzbget-21.1-r2.ebuild             | 118 ++++++++++++++++++++++
 2 files changed, 146 insertions(+)