Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750842 - app-admin/rsyslog-8.2010.0 : nsd_ossl.c: error: implicit declaration of function SSL_get_shared_curve
Summary: app-admin/rsyslog-8.2010.0 : nsd_ossl.c: error: implicit declaration of funct...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-23 15:06 UTC by Toralf Förster
Modified: 2022-06-12 20:33 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.44 KB, text/plain)
2020-10-23 15:06 UTC, Toralf Förster
Details
app-admin:rsyslog-8.2010.0:20201022-193455.log (app-admin:rsyslog-8.2010.0:20201022-193455.log,188.50 KB, text/plain)
2020-10-23 15:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,362.55 KB, text/plain)
2020-10-23 15:06 UTC, Toralf Förster
Details
environment (environment,138.03 KB, text/plain)
2020-10-23 15:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,52.11 KB, application/x-bzip)
2020-10-23 15:07 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,31.86 KB, application/x-bzip)
2020-10-23 15:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,43.45 KB, application/x-bzip)
2020-10-23 15:07 UTC, Toralf Förster
Details
patch to mask use of SSL_get_shared_curve when using libressl (fix-libressl-ssl_get_shared_curve.patch,567 bytes, patch)
2021-01-16 10:04 UTC, Bradley Jarvis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-10-23 15:06:53 UTC
nsd_ossl.c: In function ‘osslPostHandshakeCheck’:
nsd_ossl.c:1385:5: error: implicit declaration of function ‘SSL_get_shared_curve’; did you mean ‘SSL_get_shared_ciphers’? [-Werror=implicit-function-declaration]
 1385 |  if(SSL_get_shared_curve(pNsd->ssl, -1) == 0) {
      |     ^~~~~~~~~~~~~~~~~~~~
      |     SSL_get_shared_ciphers

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-libressl-20201008-134631

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.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)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.47.0
  [2]   rust-1.47.0 *
The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Oct 22 07:05:42 PM UTC 2020
/var/db/repos/libressl	Sun Oct 18 04:35:14 PM UTC 2020

emerge -qpvO app-admin/rsyslog
[ebuild     U ] app-admin/rsyslog-8.2010.0 [8.2008.0] USE="gcrypt libressl openssl snmp ssl uuid -clickhouse -curl -dbi -debug -doc -elasticsearch -gnutls -imhttp% -impcap% -jemalloc -kafka -kerberos -kubernetes -mdblookup -mongodb -mysql -normalize -omhttp -omhttpfs -omudpspoof -postgres -rabbitmq -redis -relp -rfc3195 -rfc5424hmac -systemd -test -usertools -xxhash -zeromq"
Comment 1 Toralf Förster gentoo-dev 2020-10-23 15:06:54 UTC
Created attachment 668027 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-10-23 15:06:56 UTC
Created attachment 668030 [details]
app-admin:rsyslog-8.2010.0:20201022-193455.log
Comment 3 Toralf Förster gentoo-dev 2020-10-23 15:06:58 UTC
Created attachment 668033 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-10-23 15:07:00 UTC
Created attachment 668036 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-10-23 15:07:01 UTC
Created attachment 668039 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-10-23 15:07:03 UTC
Created attachment 668042 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-10-23 15:07:04 UTC
Created attachment 668045 [details]
temp.tbz2
Comment 8 Bradley Jarvis 2021-01-16 10:04:02 UTC
Created attachment 683122 [details, diff]
patch to mask use of SSL_get_shared_curve when using libressl

Mask the use of this function if LIBRESSL_VERSION_NUMBER is defined. This mechanism is used in other parts of the the file runtime/nsd_ossl.c and it also currently depends on openssl version being greater than or equal to 1.0.2.

Not sure if this is the best way to handle this issue but it does allow the code to compile.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-12 20:33:48 UTC
libressl support was dropped.