Bug #80368 [NEW]: Error build with openssl extension
From: izorkin at elven dot pw
Operating system: NixOS 20.09
PHP version: 8.0.0RC4
Package: Compile Failure
Bug Type: Bug
Bug description:Error build with openssl extension
Description:
------------
Error build openssl extension with libressl 3.1.4
Output error:
/build/php-src-8.0.0-rc-4/ext/openssl/openssl.c: In function
'php_openssl_load_cipher_mode':
/build/php-src-8.0.0-rc-4/ext/openssl/openssl.c:6906:8: error:
'EVP_CIPH_OCB_MODE' undeclared (first use in this function); did you
mean 'EVP_CIPH_OFB_MODE'?
6906 | case EVP_CIPH_OCB_MODE:
| ^~~~~~~~~~~~~~~~~
| EVP_CIPH_OFB_MODE
/build/php-src-8.0.0-rc-4/ext/openssl/openssl.c:6906:8: note: each
undeclared identifier is reported only once for each function it appears
in
/build/php-src-8.0.0-rc-4/ext/openssl/openssl.c:6914:30: error:
'EVP_CTRL_AEAD_GET_TAG' undeclared (first use in this function); did you
mean 'EVP_CTRL_CCM_GET_TAG'?
6914 | mode->aead_get_tag_flag = EVP_CTRL_AEAD_GET_TAG;
| ^~~~~~~~~~~~~~~~~~~~~
| EVP_CTRL_CCM_GET_TAG
/build/php-src-8.0.0-rc-4/ext/openssl/openssl.c:6915:30: error:
'EVP_CTRL_AEAD_SET_TAG' undeclared (first use in this function); did you
mean 'EVP_CTRL_GCM_SET_TAG'?
6915 | mode->aead_set_tag_flag = EVP_CTRL_AEAD_SET_TAG;
| ^~~~~~~~~~~~~~~~~~~~~
| EVP_CTRL_GCM_SET_TAG
/build/php-src-8.0.0-rc-4/ext/openssl/openssl.c:6916:28: error:
'EVP_CTRL_AEAD_SET_IVLEN' undeclared (first use in this function); did
you mean 'EVP_CTRL_GCM_SET_IVLEN'?
6916 | mode->aead_ivlen_flag = EVP_CTRL_AEAD_SET_IVLEN;
| ^~~~~~~~~~~~~~~~~~~~~~~
| EVP_CTRL_GCM_SET_IVLEN
make: *** [Makefile:798: ext/openssl/openssl.lo] Error 1
make: *** Waiting for unfinished jobs....
--
Edit bug report at https://bugs.php.net/bug.php?id=80368&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80368&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80368&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80368&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80368&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80368&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80368&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80368&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80368&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80368&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80368&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80368&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80368&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80368&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80368&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80368&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80368&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80368&r=mysqlcfg
Thread (10 messages)
- izorkin at elven dot pw