php-7.4.13 fails to compile against libressl-3.3.0 Reproducible: Always Steps to Reproduce: 1. emerge =dev-lang/php-7.4.14 Actual Results: >>> Failed to emerge dev-lang/php-7.4.13 * ERROR: dev-lang/php-7.4.13::gentoo failed (compile phase): * emake failed Expected Results: >>> Installing (1 of 1) dev-lang/php-7.4.13::gentoo this is possible an libressl upstream issue. until addressed, a workaround is needed
Full build.log and emerge —info please
For completeness please post the output of emerge --info dev-lang/php dev-libs/libressl to this bug and attach the build.log file that contains the build issue.
Created attachment 675268 [details] emerge --info dev-lang/php dev-libs/libressl emerge --info dev-lang/php dev-libs/libressl
Created attachment 675271 [details] php-7.4.13 compile failure build.log when trying to attach the build.log (184kb) I get: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@gentoo.org to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Apache Server at bugs.gentoo.org Port 443
(In reply to Alexandros C. Couloumbis from comment #4) > Created attachment 675271 [details] > php-7.4.13 compile failure build.log > > when trying to attach the build.log (184kb) I get: > > Internal Server Error > > The server encountered an internal error or misconfiguration and was unable > to complete your request. > > Please contact the server administrator at webmaster@gentoo.org to inform > them of the time this error occurred, and the actions you performed just > before this error. > > More information about this error may be available in the server error log. > Apache Server at bugs.gentoo.org Port 443 Probably the user running the browser doesn't have access to build.log. Check the permissions on it.
(In reply to Tomáš Mózes from comment #5) > (In reply to Alexandros C. Couloumbis from comment #4) > > Created attachment 675271 [details] > > php-7.4.13 compile failure build.log > > > > when trying to attach the build.log (184kb) I get: > > > > Internal Server Error > > > > The server encountered an internal error or misconfiguration and was unable > > to complete your request. > > > > Please contact the server administrator at webmaster@gentoo.org to inform > > them of the time this error occurred, and the actions you performed just > > before this error. > > > > More information about this error may be available in the server error log. > > Apache Server at bugs.gentoo.org Port 443 > > Probably the user running the browser doesn't have access to build.log. > Check the permissions on it.
Created attachment 675280 [details] php-7.4.13 compile failure build.log indeed, the problem was the file permissions
Patch found at: https://bugs.php.net/bug.php?id=80368
Created attachment 676006 [details, diff] SSL Patch
Created attachment 676012 [details, diff] check for SSL OCB support the last patch compiled fine php-7.4.13 on my 32bit gentoo-current with libressl-3.3.0 installed. I guess this patch needs also testing against a gentoo/openssl system
*** Bug 757288 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac8830e5ca56ab4ba2a047220e5462024b32444d commit ac8830e5ca56ab4ba2a047220e5462024b32444d Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-12-03 20:47:25 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-12-03 20:48:16 +0000 dev-lang/php: fix building against libressl Fixes ext/openssl/openssl.c:6501:8: error: ‘EVP_CIPH_OCB_MODE’ undeclared (first use in this function) when building against >=dev-libs/libressl-3.3. Closes: https://bugs.gentoo.org/757123 Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-lang/php/files/php-7.4.13-issue80368.patch | 17 +++++++++++++++++ dev-lang/php/php-7.4.13.ebuild | 5 ++++- 2 files changed, 21 insertions(+), 1 deletion(-)