GNU bug report logs - #52513
php build failure

Previous Next

Package: guix;

Reported by: Mathieu Othacehe <othacehe <at> gnu.org>

Date: Wed, 15 Dec 2021 13:53:02 UTC

Severity: normal

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52513 in the body.
You can then email your comments to 52513 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#52513; Package guix. (Wed, 15 Dec 2021 13:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mathieu Othacehe <othacehe <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 15 Dec 2021 13:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: php build failure
Date: Wed, 15 Dec 2021 14:52:31 +0100
Hello,

The php package test suite is failing this way on master:

--8<---------------cut here---------------start------------->8---
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
int openssl_x509_checkpurpose ( mixed $x509cert , int $purpose [, array $cainfo = array() [, string $untrustedfile ]] ) function [ext/openssl/tests/openssl_x509_checkpurpose_basic.phpt]
=====================================================================

=====================================================================
WARNED TEST SUMMARY
---------------------------------------------------------------------
FPM: Buffered worker output decorated log with multiple continuous messages (stdout/stderr mixed) [sapi/fpm/tests/log-bwd-multiple-msgs-stdout-stderr.phpt] (warn: XFAIL section but test passes)
=====================================================================

You may have found a problem in PHP.
This report can be automatically sent to the PHP QA team at
http://qa.php.net/reports and http://news.php.net/php.qa.reports
This gives us a better understanding of PHP's behavior.
If you don't want to send the report immediately you can choose
option "s" to save it.	You can then email it to qa-reports <at> lists.php.net later.
Do you want to send this report now? [Yns]: 
Notice: Trying to access array offset on value of type bool in /tmp/guix-build-php-7.4.26.drv-0/php-7.4.26/run-tests.php on line 934

Please enter your email address.
(Your address will be mangled so that it will not go out on any
mailinglist in plain text): sh: line 1: autoconf: command not found

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /tmp/guix-build-php-7.4.26.drv-0/php-7.4.26/run-tests.php on line 1133

Warning: fsockopen(): unable to connect to qa.php.net:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /tmp/guix-build-php-7.4.26.drv-0/php-7.4.26/run-tests.php on line 1133

The test script was unable to automatically send the report to PHP's QA Team
Please send /tmp/guix-build-php-7.4.26.drv-0/php-7.4.26/php_test_results_20211215_1332.txt to qa-reports <at> lists.php.net manually, thank you.
make: *** [Makefile:238: test] Error 1

Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("test" "-j" "32") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `check' failed after 971.4 seconds
command "make" "test" "-j" "32" failed with status 2
builder for `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed with exit code 1
@ build-failed /gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv - 1 builder for `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed with exit code 1
derivation '/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' offloaded to '10.0.0.1' failed: build of `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed
build of /gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv failed
View build log at '/var/log/guix/drvs/qv/gr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv.bz2'.
guix build: error: build of `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed
--8<---------------cut here---------------end--------------->8---

The openssl_x509_checkpurpose test seems to blame.

Thanks,

Mathieu




Information forwarded to bug-guix <at> gnu.org:
bug#52513; Package guix. (Thu, 16 Dec 2021 17:33:01 GMT) Full text and rfc822 format available.

Message #8 received at 52513 <at> debbugs.gnu.org (full text, mbox):

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 52513 <at> debbugs.gnu.org
Subject: Re: bug#52513: php build failure
Date: Thu, 16 Dec 2021 17:32:28 +0000
Hi Mathieu,

Mathieu Othacehe <othacehe <at> gnu.org> writes:

> Hello,
>
> The php package test suite is failing this way on master:
>
> =====================================================================
>
> =====================================================================
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> int openssl_x509_checkpurpose ( mixed $x509cert , int $purpose [, array $cainfo = array() [, string $untrustedfile ]] ) function [ext/openssl/tests/openssl_x509_checkpurpose_basic.phpt]
> =====================================================================
>
> =====================================================================
> WARNED TEST SUMMARY
> ---------------------------------------------------------------------
> FPM: Buffered worker output decorated log with multiple continuous messages (stdout/stderr mixed) [sapi/fpm/tests/log-bwd-multiple-msgs-stdout-stderr.phpt] (warn: XFAIL section but test passes)
> =====================================================================

[...]

> Test suite failed, dumping logs.
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("test" "-j" "32") exit-status: 2 term-signal: #f stop-signal: #f> 
> phase `check' failed after 971.4 seconds
> command "make" "test" "-j" "32" failed with status 2
> builder for `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed with exit code 1
> @ build-failed /gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv - 1 builder for `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed with exit code 1
> derivation '/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' offloaded to '10.0.0.1' failed: build of `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed
> build of /gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv failed
> View build log at '/var/log/guix/drvs/qv/gr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv.bz2'.
> guix build: error: build of `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed
>
> The openssl_x509_checkpurpose test seems to blame.

The test fails because two of the certificates it uses have expired on
11 December 2021.  Upstream has already fixed it [1] but the change has
not made it into the 7.4.27 (!) release.  We could apply their fix with
a patch or just disable the openssl_x509_checkpurpose test.

[...]

HTH,

Diego

[1]: https://github.com/php/php-src/commit/98175fc7f1623873ceb2e9a017a319d19bfb3912




Information forwarded to bug-guix <at> gnu.org:
bug#52513; Package guix. (Thu, 16 Dec 2021 17:41:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Cc: Mathieu Othacehe <othacehe <at> gnu.org>, bug-guix <at> gnu.org,
 52513 <at> debbugs.gnu.org
Subject: Re: bug#52513: php build failure
Date: Thu, 16 Dec 2021 18:38:47 +0100
[Message part 1 (text/plain, inline)]
Diego,

I *just* pushed a commit disabling this test whilst I investigate 
further.

Diego Nicola Barbato 写道:
> The test fails because two of the certificates it uses have 
> expired on
> 11 December 2021.  Upstream has already fixed it [1] but the 
> change has
> not made it into the 7.4.27 (!) release.  We could apply their 
> fix with
> a patch or just disable the openssl_x509_checkpurpose test.

Hah, this was exactly what I suspected

 <nckx> (Hm, x509… Could it be a system time issue?)

thank you for doing the research!

I'll try cherry-picking their patch; or otherwise update the 
comment.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#52513; Package guix. (Thu, 16 Dec 2021 17:41:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#52513; Package guix. (Thu, 16 Dec 2021 19:29:02 GMT) Full text and rfc822 format available.

Message #17 received at 52513 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Cc: Mathieu Othacehe <othacehe <at> gnu.org>, 52513 <at> debbugs.gnu.org
Subject: Re: bug#52513: php build failure
Date: Thu, 16 Dec 2021 14:27:55 -0500
On Thu, Dec 16, 2021 at 05:32:28PM +0000, Diego Nicola Barbato wrote:
> The test fails because two of the certificates it uses have expired on
> 11 December 2021.  Upstream has already fixed it [1] but the change has
> not made it into the 7.4.27 (!) release.  We could apply their fix with
> a patch or just disable the openssl_x509_checkpurpose test.

Oof. This is common failure of programs that use X.509 certificates in
test suites, and it's problematic for Guix because it makes our codebase
"expire".




Information forwarded to bug-guix <at> gnu.org:
bug#52513; Package guix. (Sat, 18 Dec 2021 04:19:02 GMT) Full text and rfc822 format available.

Message #20 received at 52513 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 52513 <at> debbugs.gnu.org, Mathieu Othacehe <othacehe <at> gnu.org>,
 Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: Re: bug#52513: php build failure
Date: Fri, 17 Dec 2021 23:18:52 -0500
Hi,

Leo Famulari <leo <at> famulari.name> writes:

> On Thu, Dec 16, 2021 at 05:32:28PM +0000, Diego Nicola Barbato wrote:
>> The test fails because two of the certificates it uses have expired on
>> 11 December 2021.  Upstream has already fixed it [1] but the change has
>> not made it into the 7.4.27 (!) release.  We could apply their fix with
>> a patch or just disable the openssl_x509_checkpurpose test.
>
> Oof. This is common failure of programs that use X.509 certificates in
> test suites, and it's problematic for Guix because it makes our codebase
> "expire".

Yep.  I'd just disable the test to guard against future occurrences.
Test failures in PHP don't come in short supply...

Maxim




Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Sun, 19 Dec 2021 16:40:01 GMT) Full text and rfc822 format available.

Notification sent to Mathieu Othacehe <othacehe <at> gnu.org>:
bug acknowledged by developer. (Sun, 19 Dec 2021 16:40:01 GMT) Full text and rfc822 format available.

Message #25 received at 52513-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: 52513-done <at> debbugs.gnu.org
Subject: Re: bug#52513: php build failure
Date: Sun, 19 Dec 2021 17:38:53 +0100
This one is fixed, thanks to all the persons involved!

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 17 Jan 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.