Date: Sun, 13 Aug 2023 23:30:48 +0300 From: Gleb Popov <arrowd@freebsd.org> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: OpenSSL 3 ports fallout Message-ID: <CALH631nccxAiUB=P8LoPS4_dZX5BEeGvt8G8==-0c-27wBNmdg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Some of the ports I'm using are failing to build after OpenSSL 3 import due to the following problem. OpenSSL headers that are shipped in base contain declarations of various deprecated functions for which libcrypto.so doesn't contain definitions. Some of them are RSA_generate_key and ERR_* family. These declarations aren't guarded by any #ifdef and are visible for ports software. VirtualBox and net-p2p/cardano-node detect these functions, try to use them and then fail to link due to undefined references. I believe this should be fixed in the base rather than patching each port?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631nccxAiUB=P8LoPS4_dZX5BEeGvt8G8==-0c-27wBNmdg>