Bug #81327 [Com]: Error build openssl extension on php 7.4.22

From: Date: Tue, 03 Aug 2021 18:18:14 +0000
Subject: Bug #81327 [Com]: Error build openssl extension on php 7.4.22
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235577@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81327&edit=1 ID: 81327 Comment by: izorkin at elven dot pw Reported by: izorkin at elven dot pw Summary: Error build openssl extension on php 7.4.22 Status: Feedback Type: Bug Package: Compile Failure Operating System: NixOS PHP Version: 7.4.22 Assigned To: cmb Block user comment: N Private report: N New Comment: Sorry. I wrong checking. At first I tried to build with libressl 3.2.5. Replaced libressl with openssl in the build configuration - error build. I had to replace libressl with openssl in dependent packages. After that, it got building normally. But with libressl 3.2.5 it is not possible to build. Previous Comments: ------------------------------------------------------------------------ [2021-08-03 17:09:08] cmb@php.net From what I can tell, ASN1_INTEGER_set_int64() should be available unconditionally as of OpenSSL 1.1.0. > Use Openssl version 1.1.1k. Are you sure? Does config.log provide further info? ------------------------------------------------------------------------ [2021-08-03 16:12:07] izorkin at elven dot pw Description: ------------ After this fix https://bugs.php.net/bug.php?id=52093 occurs error build php 7.4 and php 8.0: ``` /build/php-src-7.4.22/ext/openssl/openssl.c: In function 'zif_openssl_csr_sign': /build/php-src-7.4.22/ext/openssl/openssl.c:3528:2: warning: implicit declaration of function 'ASN1_INTEGER_set_int64'; did you mean 'ASN1_INTEGER_set'? [^[]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration^G-Wimplicit-function-declaration^[]8;;^G] 3528 | ASN1_INTEGER_set_int64(X509_get_serialNumber(new_cert), serial); | ^~~~~~~~~~~~~~~~~~~~~~ | ASN1_INTEGER_set ``` Use Openssl version 1.1.1k. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=81327&edit=1

« previous php.bugs (#235577) next »