Bug #76621 [Nab]: phar compilation failed

From: Date: Sat, 14 Jul 2018 06:34:02 +0000
Subject: Bug #76621 [Nab]: phar compilation failed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-216314@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76621&edit=1 ID: 76621 Updated by: requinix@php.net Reported by: mail at surjitsidhu dot com Summary: phar compilation failed Status: Not a bug Type: Bug Package: Compile Failure Operating System: Ubuntu 18.04 PHP Version: 5.6.36 Block user comment: N Private report: N New Comment: It seems OpenSSL 1.1.0 has source changes making it incompatible. Try 1.0.2 or 0.9.8. https://www.openssl.org/source/ Previous Comments: ------------------------------------------------------------------------ [2018-07-14 06:22:29] mail at surjitsidhu dot com OpenSSL 1.1.0g 2 Nov 2017 is installed ------------------------------------------------------------------------ [2018-07-14 06:05:30] requinix@php.net PHP 5.6 is no longer supported. Are you compiling against OpenSSL >= 0.9.8 as mentioned in the documentation? http://php.net/manual/en/openssl.requirements.php ------------------------------------------------------------------------ [2018-07-14 05:50:31] mail at surjitsidhu dot com Description: ------------ niguruma -I/home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/mbstring/libmbfl -I/home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/mbstring/libmbfl/mbfl -I/usr/include/postgresql -I/usr/include/pspell -I/usr/include/tidy -I/home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/zip/lib -I/home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/TSRM -I/home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/Zend -I/usr/include -g -O2 -fvisibility=hidden -prefer-pic -c /home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/phar/util.c -o ext/phar/util.lo /home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/phar/util.c: In function ‘phar_verify_signature’: /home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/phar/util.c:1534:15: error: storage size of ‘md_ctx’ isn’t known EVP_MD_CTX md_ctx; ^~~~~~ /home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/phar/util.c:1633:5: warning: implicit declaration of function ‘EVP_MD_CTX_cleanup’; did you mean ‘EVP_MD_CTX_create’? [-Wimplicit-function-declaration] EVP_MD_CTX_cleanup(&md_ctx); ^~~~~~~~~~~~~~~~~~ EVP_MD_CTX_create root@ubuntu:/home/scripts# Makefile:1684: recipe for target 'ext/phar/util.lo' failed make: *** [ext/phar/util.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76621&edit=1

« previous php.bugs (#216314) next »