[Bug 271656] [exp-run] with OpenSSL 3.0 in the base system

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 26 May 2023 16:08:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271656

--- Comment #6 from Ed Maste <emaste@freebsd.org> ---
For php I'd say this is an issue to be fixed in the port:

/wrkdirs/usr/ports/lang/php80/work/php-8.0.28/ext/openssl/openssl.c:3804:18:
warning: 'RSA_new' is deprecated [-Wdeprecated-declarations]
                                                rsaparam = RSA_new();
                                                           ^
/usr/include/openssl/rsa.h:201:1: note: 'RSA_new' has been explicitly marked
deprecated here
OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro
'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro
'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^

compiling ossl.c
In file included from ossl.c:10:
In file included from ./ossl.h:31:
/usr/include/openssl/ts.h:32:11: fatal error: 'openssl/ess.h' file not found
# include <openssl/ess.h>
          ^~~~~~~~~~~~~~~
1 error generated.



For ruby31 we seem to have a missing header:

compiling ossl.c
In file included from ossl.c:10:
In file included from ./ossl.h:31:
/usr/include/openssl/ts.h:32:11: fatal error: 'openssl/ess.h' file not found
# include <openssl/ess.h>
          ^~~~~~~~~~~~~~~
1 error generated.



python2.7 looks like it's either incompatible or fails to detect OpenSSL
correctly:

1 warning generated.
warning: openssl 0x00000000 is too old for _hashlib
building dbm using ndbm

-- 
You are receiving this mail because:
You are on the CC list for the bug.