Bug #79401 [NEW]: openssl.c:1182:24: error: no member 'req_config' (and 'global_config')
| From: | omero72 at hotmail dot de | Date: | Fri, 20 Mar 2020 21:13:28 +0000 |
| Subject: | Bug #79401 [NEW]: openssl.c:1182:24: error: no member 'req_config' (and 'global_config') | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-226193@lists.php.net to get a copy of this message | ||
From: omero72 at hotmail dot de
Operating system: macOS 10.10.5 (Yosemite)
PHP version: 7.4.4
Package: Compile Failure
Bug Type: Bug
Bug description:openssl.c:1182:24: error: no member 'req_config' (and
'global_config')
Description:
------------
./configure --prefix=$PHP7 --mandir=/usr/share/man
--infodir=/usr/share/info --sysconfdir=/etc --with-config-file-path=/etc
--with-zlib --with-zlib-dir=/usr --with-iconv --enable-exif --enable-ftp
--enable-mbstring --enable-mbregex --enable-sockets --with-pdo-mysql
--with-mysqli --with-openssl=/usr/local/openssl-1.1.1d --with-curl
--enable-fpm
configures fine but, make fails with (truncated)
/Users/yose/Downloads/php-7.4.4/ext/openssl/openssl.c:1150:7: error: no
member named 'global_config' in
'struct php_x509_request'
req->global_config = CONF_load(NULL, default_ssl_conf_filename,
NULL);
~~~ ^
/Users/yose/Downloads/php-7.4.4/ext/openssl/openssl.c:1150:23: warning:
'CONF_load' is deprecated: first deprecated in
OS X 10.7 [-Wdeprecated-declarations]
req->global_config = CONF_load(NULL, default_ssl_conf_filename,
NULL);
^
/usr/include/openssl/conf.h:123:8: note: 'CONF_load' has been explicitly
marked deprecated here
LHASH *CONF_load(LHASH *conf,const char *file,long *eline)
DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
/Users/yose/Downloads/php-7.4.4/ext/openssl/openssl.c:1151:11: error: no
member named 'global_config' in
'struct php_x509_request'
if (req->global_config == NULL) {
~~~ ^
...
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Compiler is GCC-10.0
--
Edit bug report at https://bugs.php.net/bug.php?id=79401&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79401&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79401&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79401&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79401&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79401&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79401&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79401&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79401&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79401&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79401&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79401&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79401&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79401&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79401&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79401&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79401&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79401&r=mysqlcfg