Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 805164 - net-libs/libwebsockets-4.2.1 - /.../lws-genec.c: error: #error You probably need LWS_SUPPRESS_DEPRECATED_API_WARNINGS
Summary: net-libs/libwebsockets-4.2.1 - /.../lws-genec.c: error: #error You probably n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jaco Kroon
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2021-07-30 07:11 UTC by Toralf Förster
Modified: 2021-08-29 19:50 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.93 KB, text/plain)
2021-07-30 07:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,20.03 KB, text/plain)
2021-07-30 07:11 UTC, Toralf Förster
Details
environment (environment,88.64 KB, text/plain)
2021-07-30 07:11 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.96 KB, application/x-bzip)
2021-07-30 07:11 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.55 KB, application/x-bzip)
2021-07-30 07:11 UTC, Toralf Förster
Details
net-libs:libwebsockets-4.2.1:20210730-021016.log (net-libs:libwebsockets-4.2.1:20210730-021016.log,120.95 KB, text/plain)
2021-07-30 07:11 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.96 KB, application/x-bzip)
2021-07-30 07:11 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-07-30 07:11:40 UTC
/var/tmp/portage/net-libs/libwebsockets-4.2.1/work/libwebsockets-4.2.1/lib/tls/openssl/lws-genec.c:34:2: error: #error "You probably need LWS_SUPPRESS_DEPRECATED_API_WARNINGS"
   34 | #error "You probably need LWS_SUPPRESS_DEPRECATED_API_WARNINGS"
      |  ^~~~~
/var/tmp/portage/net-libs/libwebsockets-4.2.1/work/libwebsockets-4.2.1/lib/tls/openssl/lws-genec.c: In function ‘lws_genec_eckey_import’:
/var/tmp/portage/net-libs/libwebsockets-4.2.1/work/libwebsockets-4.2.1/lib/tls/openssl/lws-genec.c:107:9: warning: ‘EC_KEY_new_by_curve_name’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j3_abi32+64_debug-20210729-185806

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/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 *

  HEAD of ::gentoo
commit e3437b283953509bb72d23d62cd06f3dd9a42972
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jul 30 01:21:42 2021 +0000

    2021-07-30 01:21:41 UTC

emerge -qpvO net-libs/libwebsockets
[ebuild  N    ] net-libs/libwebsockets-4.2.1  USE="cgi dbus ipv6 lejp ssl -access-log -caps -client -generic-sessions -http-proxy -http2 -libev -libevent -libuv -mbedtls -peer-limits -server-status -smtp -socks5 -sqlite3 -threads -zip"
Comment 1 Toralf Förster gentoo-dev 2021-07-30 07:11:41 UTC
Created attachment 728073 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-30 07:11:42 UTC
Created attachment 728076 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-07-30 07:11:44 UTC
Created attachment 728079 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-07-30 07:11:45 UTC
Created attachment 728082 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-07-30 07:11:46 UTC
Created attachment 728085 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-30 07:11:47 UTC
Created attachment 728088 [details]
net-libs:libwebsockets-4.2.1:20210730-021016.log
Comment 7 Toralf Förster gentoo-dev 2021-07-30 07:11:48 UTC
Created attachment 728091 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-08-29 19:50:43 UTC
The bug has been closed via the following commit(s):

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

commit 6abbca1de3c6edd85e9e3361aaa7b39d98365443
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2021-08-29 19:48:49 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2021-08-29 19:50:23 +0000

    net-libs/libwebsockets: Turn off deprecated API warnings in 4.2.1
    
    * This is added upstream as a general openssl-3 workaround for now
    
    Closes: https://bugs.gentoo.org/805164
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 net-libs/libwebsockets/libwebsockets-4.2.1.ebuild | 1 +
 1 file changed, 1 insertion(+)