Your message dated Wed, 11 May 2022 11:06:46 +0000
with message-id <4c790d5c9994396e5598e4a941d5361cde2393e9.ca...@calenhad.com>
and subject line Re: Bug#1006517: openrct2: FTBFS with OpenSSL 3.0
has caused the Debian Bug report #1006517,
regarding openrct2: 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 ow...@bugs.debian.org
immediately.)


-- 
1006517: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006517
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: openrct2
Version: 0.3.5.1+ds-3
Severity: important
Tags: bookworm sid
User: pkg-openssl-de...@lists.alioth.debian.org
Usertags: ftbfs-3.0

Your package is failing to build using OpenSSL 3.0 with the
following error:

| [ 22%] Building CXX object 
CMakeFiles/libopenrct2.dir/src/openrct2/core/Crypt.OpenSSL.cpp.o
| /usr/bin/c++ -DOPENGL_NO_LINK -DUSE_BENCHMARK 
-D__WARN_SUGGEST_FINAL_METHODS__ -D__WARN_SUGGEST_FINAL_TYPES__ 
-I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/libopenrct2 -isystem 
/usr/include/freetype2 -isystem /usr/include/libpng16 -isystem 
/usr/include/uuid -isystem /<<PKGBUILDDIR>>/src/openrct2/../thirdparty -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 
-fstrict-overflow -fstrict-aliasing -Werror -Wundef -Wmissing-declarations 
-Winit-self -Wall -Wextra -Wshadow -Wno-unknown-pragmas -Wno-missing-braces 
-Wno-comment -Wnonnull -Wno-unused-parameter -DDEBUG=0 -fPIC -Wsuggest-override 
-Wduplicated-cond -Wnon-virtual-dtor -Wduplicated-branches -Wrestrict 
-Wmissing-field-initializers -Wlogical-op -Wold-style-cast 
-Wunused-const-variable=1 -Wno-clobbered -Wredundant-decls -Wnull-dereference 
-Wsuggest-final-types -Wsuggest-final-methods -Wignored-qualifiers 
-Wstrict-overflow=1 -D__ENABLE_LIGHTFX__ -DENABLE_SCRIPTING -std=gnu++17 -MD 
-MT CMakeFiles/libopenrct2.dir/src/openrct2/core/Crypt.OpenSSL.cpp.o -MF 
CMakeFiles/libopenrct2.dir/src/openrct2/core/Crypt.OpenSSL.cpp.o.d -o 
CMakeFiles/libopenrct2.dir/src/openrct2/core/Crypt.OpenSSL.cpp.o -c 
/<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp
| /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp: In member function 
‘void OpenSSLRsaKey::SetKey(std::string_view, bool)’:
| /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:191:58: error: ‘RSA* 
PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), 
void*)’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
|   191 |         auto rsa = isPrivate ? PEM_read_bio_RSAPrivateKey(bio, 
nullptr, nullptr, nullptr)
|       |                                
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:15:
| /usr/include/openssl/pem.h:447:1: note: declared here
|   447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
|       | ^~~~~~~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:192:57: error: ‘RSA* 
PEM_read_bio_RSAPublicKey(BIO*, RSA**, int (*)(char*, int, int, void*), 
void*)’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
|   192 |                              : PEM_read_bio_RSAPublicKey(bio, 
nullptr, nullptr, nullptr);
|       |                                
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:15:
| /usr/include/openssl/pem.h:448:1: note: declared here
|   448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA)
|       | ^~~~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:201:40: error: ‘int 
RSA_check_key(const RSA*)’ is deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]
|   201 |         if (isPrivate && !RSA_check_key(rsa))
|       |                           ~~~~~~~~~~~~~^~~~~
| In file included from /usr/include/openssl/x509.h:36,
|                  from /usr/include/openssl/pem.h:23,
|                  from /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:15:
| /usr/include/openssl/rsa.h:278:27: note: declared here
|   278 | OSSL_DEPRECATEDIN_3_0 int RSA_check_key(const RSA *);
|       |                           ^~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:203:21: error: ‘void 
RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]
|   203 |             RSA_free(rsa);
|       |             ~~~~~~~~^~~~~
| In file included from /usr/include/openssl/x509.h:36,
|                  from /usr/include/openssl/pem.h:23,
|                  from /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:15:
| /usr/include/openssl/rsa.h:293:28: note: declared here
|   293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
|       |                            ^~~~~~~~
| /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:210:26: error: ‘int 
EVP_PKEY_set1_RSA(EVP_PKEY*, rsa_st*)’ is deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]
|   210 |         EVP_PKEY_set1_RSA(_evpKey, rsa);
|       |         ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:14:
| /usr/include/openssl/evp.h:1344:5: note: declared here
|  1344 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key);
|       |     ^~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:211:17: error: ‘void 
RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]
|   211 |         RSA_free(rsa);
|       |         ~~~~~~~~^~~~~
| In file included from /usr/include/openssl/x509.h:36,
|                  from /usr/include/openssl/pem.h:23,
|                  from /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:15:
| /usr/include/openssl/rsa.h:293:28: note: declared here
|   293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
|       |                            ^~~~~~~~
| /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp: In member function 
‘std::string OpenSSLRsaKey::GetKey(bool)’:
| /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:221:37: error: 
‘rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]
|   221 |         auto rsa = EVP_PKEY_get1_RSA(_evpKey);
|       |                    ~~~~~~~~~~~~~~~~~^~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:14:
| /usr/include/openssl/evp.h:1348:16: note: declared here
|  1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
|       |                ^~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:233:62: error: ‘int 
PEM_write_bio_RSAPrivateKey(BIO*, const RSA*, const EVP_CIPHER*, const unsigned 
char*, int, int (*)(char*, int, int, void*), void*)’ is deprecated: Since 
OpenSSL 3.0 [-Werror=deprecated-declarations]
|   233 |         auto status = isPrivate ? PEM_write_bio_RSAPrivateKey(bio, 
rsa, nullptr, nullptr, 0, nullptr, nullptr)
|       |                                   
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:15:
| /usr/include/openssl/pem.h:447:1: note: declared here
|   447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
|       | ^~~~~~~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:234:61: error: ‘int 
PEM_write_bio_RSAPublicKey(BIO*, const RSA*)’ is deprecated: Since OpenSSL 
3.0 [-Werror=deprecated-declarations]
|   234 |                                 : PEM_write_bio_RSAPublicKey(bio, 
rsa);
|       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:15:
| /usr/include/openssl/pem.h:448:1: note: declared here
|   448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA)
|       | ^~~~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:238:21: error: ‘void 
RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]
|   238 |             RSA_free(rsa);
|       |             ~~~~~~~~^~~~~
| In file included from /usr/include/openssl/x509.h:36,
|                  from /usr/include/openssl/pem.h:23,
|                  from /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:15:
| /usr/include/openssl/rsa.h:293:28: note: declared here
|   293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
|       |                            ^~~~~~~~
| /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:241:17: error: ‘void 
RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]
|   241 |         RSA_free(rsa);
|       |         ~~~~~~~~^~~~~
| In file included from /usr/include/openssl/x509.h:36,
|                  from /usr/include/openssl/pem.h:23,
|                  from /<<PKGBUILDDIR>>/src/openrct2/core/Crypt.OpenSSL.cpp:15:
| /usr/include/openssl/rsa.h:293:28: note: declared here
|   293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
|       |                            ^~~~~~~~
| cc1plus: all warnings being treated as errors
| make[3]: *** [CMakeFiles/libopenrct2.dir/build.make:1829: 
CMakeFiles/libopenrct2.dir/src/openrct2/core/Crypt.OpenSSL.cpp.o] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| make[2]: *** [CMakeFiles/Makefile2:92: CMakeFiles/libopenrct2.dir/all] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| make[1]: *** [Makefile:139: all] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install 
--strip-program=true" VERBOSE=1 returned exit code 2
| make: *** [debian/rules:9: binary] Error 25

For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html

Sebastian

--- End Message ---
--- Begin Message ---
fixed 1006517 0.4.0+ds-1
thanks

  Upstream has merged a temporary fix for compiling with OpenSSL 3.0
(https://github.com/OpenRCT2/OpenRCT2/pull/17056) which was included in
the 0.4.0 release. I've verified the package builds properly with the
version of OpenSSL 3.0 from experimental, and since version 0.4.0 has
already been uploaded to unstable there's nothing more needed to be
done at the moment, other than closing out this bug.

Thanks,
Mathias

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to