[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52513: php build failure
From: |
Diego Nicola Barbato |
Subject: |
bug#52513: php build failure |
Date: |
Thu, 16 Dec 2021 17:32:28 +0000 |
Hi Mathieu,
Mathieu Othacehe <othacehe@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