Your message dated Tue, 10 May 2022 16:49:22 +0000
with message-id <[email protected]>
and subject line Bug#1006245: fixed in libwebsockets 4.0.20-3
has caused the Debian Bug report #1006245,
regarding libwebsockets: FTBFS with OpenSSL 3.0
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1006245: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006245
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libwebsockets
Version: 4.0.20-2
Severity: important
Tags: bookworm sid
User: [email protected]
Usertags: ftbfs-3.0
Your package is failing to build using OpenSSL 3.0 with the
following error:
| [ 31%] Building C object
CMakeFiles/websockets.dir/lib/tls/openssl/openssl-server.c.o
| /usr/bin/cc -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/plugins
-I/<<PKGBUILDDIR>>/lib/core -I/<<PKGBUILDDIR>>/lib/core-net
-I/<<PKGBUILDDIR>>/lib/event-libs -I/<<PKGBUILDDIR>>/include/abstract
-I/<<PKGBUILDDIR>>/lib/tls -I/<<PKGBUILDDIR>>/lib/roles
-I/<<PKGBUILDDIR>>/lib/event-libs/libuv -I/<<PKGBUILDDIR>>/lib/event-libs/poll
-I/<<PKGBUILDDIR>>/lib/event-libs/libevent
-I/<<PKGBUILDDIR>>/lib/event-libs/glib -I/<<PKGBUILDDIR>>/lib/event-libs/libev
-I/<<PKGBUILDDIR>>/lib/jose/jwe -I/<<PKGBUILDDIR>>/lib/jose/jws
-I/<<PKGBUILDDIR>>/lib/jose -I/<<PKGBUILDDIR>>/lib/misc
-I/<<PKGBUILDDIR>>/lib/roles/http -I/<<PKGBUILDDIR>>/lib/roles/http/compression
-I/<<PKGBUILDDIR>>/lib/roles/h1 -I/<<PKGBUILDDIR>>/lib/roles/h2
-I/<<PKGBUILDDIR>>/lib/roles/ws -I/<<PKGBUILDDIR>>/lib/roles/cgi
-I/<<PKGBUILDDIR>>/lib/roles/dbus -I/<<PKGBUILDDIR>>/lib/roles/raw-proxy
-I/<<PKGBUILDDIR>>/lib/abstract -I/<<PKGBUILDDIR>>/lib/system/async-dns
-I/<<PKGBUILDDIR>>/lib/roles/mqtt -I/<<PKGBUILDDIR>>/lib/plat/unix
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/lib -Wall
-Wsign-compare -Wstrict-aliasing -Wuninitialized -Werror -fvisibility=hidden
-Wundef -Wtype-limits -Wignored-qualifiers -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -Wno-error=format-truncation
-Wno-error=format-overflow -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MT
CMakeFiles/websockets.dir/lib/tls/openssl/openssl-server.c.o -MF
CMakeFiles/websockets.dir/lib/tls/openssl/openssl-server.c.o.d -o
CMakeFiles/websockets.dir/lib/tls/openssl/openssl-server.c.o -c
/<<PKGBUILDDIR>>/lib/tls/openssl/openssl-server.c
| /<<PKGBUILDDIR>>/lib/tls/openssl/openssl-server.c: In function
‘lws_tls_server_certs_load’:
| /<<PKGBUILDDIR>>/lib/tls/openssl/openssl-server.c:403:9: error:
‘EC_KEY_new_by_curve_name’ is deprecated: Since OpenSSL 3.0
[-Werror=deprecated-declarations]
| 403 | ecdh = EC_KEY_new_by_curve_name(ecdh_nid);
| | ^~~~
| In file included from /usr/include/openssl/x509.h:33,
| from /usr/include/openssl/ssl.h:31,
| from /<<PKGBUILDDIR>>/include/libwebsockets.h:250,
| from /<<PKGBUILDDIR>>/lib/core/private-lib-core.h:135,
| from /<<PKGBUILDDIR>>/lib/tls/openssl/openssl-server.c:25:
| /usr/include/openssl/ec.h:996:31: note: declared here
| 996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
| | ^~~~~~~~~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/lib/tls/openssl/openssl-server.c:409:9: error:
‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0
[-Werror=deprecated-declarations]
| 409 | EC_KEY_free(ecdh);
| | ^~~~~~~~~~~
| In file included from /usr/include/openssl/x509.h:33,
| from /usr/include/openssl/ssl.h:31,
| from /<<PKGBUILDDIR>>/include/libwebsockets.h:250,
| from /<<PKGBUILDDIR>>/lib/core/private-lib-core.h:135,
| from /<<PKGBUILDDIR>>/lib/tls/openssl/openssl-server.c:25:
| /usr/include/openssl/ec.h:1001:28: note: declared here
| 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| | ^~~~~~~~~~~
| /<<PKGBUILDDIR>>/lib/tls/openssl/openssl-server.c:451:9: error:
‘EVP_PKEY_get1_EC_KEY’ is deprecated: Since OpenSSL 3.0
[-Werror=deprecated-declarations]
| 451 | EC_key = EVP_PKEY_get1_EC_KEY(pkey);
| | ^~~~~~
| In file included from /usr/include/openssl/x509.h:29,
| from /usr/include/openssl/ssl.h:31,
| from /<<PKGBUILDDIR>>/include/libwebsockets.h:250,
| from /<<PKGBUILDDIR>>/lib/core/private-lib-core.h:135,
| from /<<PKGBUILDDIR>>/lib/tls/openssl/openssl-server.c:25:
| /usr/include/openssl/evp.h:1374:19: note: declared here
| 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
| | ^~~~~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/lib/tls/openssl/openssl-server.c:459:9: error:
‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0
[-Werror=deprecated-declarations]
| 459 | EC_KEY_free(EC_key);
| | ^~~~~~~~~~~
| In file included from /usr/include/openssl/x509.h:33,
| from /usr/include/openssl/ssl.h:31,
| from /<<PKGBUILDDIR>>/include/libwebsockets.h:250,
| from /<<PKGBUILDDIR>>/lib/core/private-lib-core.h:135,
| from /<<PKGBUILDDIR>>/lib/tls/openssl/openssl-server.c:25:
| /usr/include/openssl/ec.h:1001:28: note: declared here
| 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| | ^~~~~~~~~~~
| cc1: all warnings being treated as errors
| make[3]: *** [CMakeFiles/websockets.dir/build.make:765:
CMakeFiles/websockets.dir/lib/tls/openssl/openssl-server.c.o] Error 1
For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html
Sebastian
--- End Message ---
--- Begin Message ---
Source: libwebsockets
Source-Version: 4.0.20-3
Done: Laszlo Boszormenyi (GCS) <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libwebsockets, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Laszlo Boszormenyi (GCS) <[email protected]> (supplier of updated libwebsockets
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 10 May 2022 18:07:21 +0200
Source: libwebsockets
Architecture: source
Version: 4.0.20-3
Distribution: unstable
Urgency: medium
Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Changed-By: Laszlo Boszormenyi (GCS) <[email protected]>
Closes: 1006245
Changes:
libwebsockets (4.0.20-3) unstable; urgency=medium
.
* Sync with Ubuntu.
.
[ Simon Chopin <[email protected]> ]
* d/rules: downgrade deprecation errors into warnings to fix the build
against OpenSSL3 (closes: #1006245).
Checksums-Sha1:
31af6d3218506bbac75cb1c906446f82dd71e05c 2297 libwebsockets_4.0.20-3.dsc
fbacedfca57063af8c9e825ad45924571c46528c 18408
libwebsockets_4.0.20-3.debian.tar.xz
Checksums-Sha256:
d3567b0b63f3b403afe7bfff03a4c21079d8c7a24cf6b0cc4b062f42bc9226e0 2297
libwebsockets_4.0.20-3.dsc
0160c9ed18beb8ac6327330f534f683ff00ad8dcba8410c6915a80efa042e71d 18408
libwebsockets_4.0.20-3.debian.tar.xz
Files:
c7cf7fe83de3733a9b05a1d5546ef192 2297 libs optional libwebsockets_4.0.20-3.dsc
bc42bcbcb1c71903dd40705d4ecbb8b3 18408 libs optional
libwebsockets_4.0.20-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAmJ6kO0ACgkQ3OMQ54ZM
yL8hbA//SVymMYtCgYGJly4Is7nX6ogX8mZ8QcmrT0qfPPGdaSapus1pgMZBroGP
aSSez5vlhRePWx6GZBEdhHdUZZjk14yZ9VnyG9Bjsf0XVv63BOMza3NItrK5DAME
0j4316s7E0ZgcGZCEIIBNMniDeC6z+sv/BmJRCBkR7m5AgGzx+81l1YQxoMnxUP9
2MRK+AH5qatp6/Kzts5/eqY3rbuc7xKg42NXMs7LD3qE+ysO3vhAu6YDB1mY08BT
vq19HZ3xdHYs8vbZQ6P3Qn3yKzYySJPnP2ift32wShj3JMKmXh5AuwFruoRJi1Bm
puF5UXHGjwJr2Hu/BCE7J1I4iAU3pxKkJDXWVfr/T97FKzbFKeq5xL6qmwbfh3XS
w6eLUMRD3fTpEPRJKqYHcHvoxtNBq17mk425ba9gyRmGYK+qntafbhgYbPSbKFXd
8HT715buAkW4fhho4FzB2T1Bs0z8WtmQpkjt7tAhWfWUCM7BcOOsP8TMwi1ElZgn
p2H0una2iApmy9IfHpmYcoeNb84eZ6BX0IhDwvPbdmfQMQSD6Q7nqK8i+yqa3YZi
PZa32sKaCfHwrngk+etEkUr6b9yHwHx403cGg4ya+zSwz3EYpw6UDCb+R3tfS12m
vyKBdd7dXyoZfDdoSY/3bbzuNLEi/7EcD9NJM5aDdlsBJdrD5jM=
=7B95
-----END PGP SIGNATURE-----
--- End Message ---