[PATCH] gnu: php: Update to 8.3.6.

  • Done
  • quality assurance status badge
Details
2 participants
  • Christopher Baines
  • Wilko Meyer
Owner
unassigned
Submitted by
Wilko Meyer
Severity
normal
W
W
Wilko Meyer wrote on 22 Apr 11:43 +0200
(address . guix-patches@gnu.org)(name . Wilko Meyer)(address . w@wmeyer.eu)
b67afb3d14e2b7d865fd04efc23faea2014660b8.1713778996.git.w@wmeyer.eu
* gnu/packages/php.scm (php): Update to 8.3.6.

Change-Id: I8f173558fc4098d6d72b42724e5e106d7dabb62a
---
Hi Guix,

This patch updates PHP, the new version successfully builds and runs locally:

~/devel/guix [env]$ php --version
PHP 8.3.6 (cli) (built: Jan 1 1970 00:00:01) (NTS)

I had to skip two failing tests, one which seems to be
unreliable/flaky according to reports[0], another one which seems to
address a Windows only bug[1]. Haven't spend too much time investigating
these further/trying to find ways of fixing at least the non-windows
one; maybe will do so if time isn't as limited as it is right now.


gnu/packages/php.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm
index 8419ac033b..72201770c7 100644
--- a/gnu/packages/php.scm
+++ b/gnu/packages/php.scm
@@ -62,7 +62,7 @@ (define-module (gnu packages php)
(define-public php
(package
(name "php")
- (version "8.2.13")
+ (version "8.3.6")
(home-page "https://www.php.net/")
(source (origin
(method url-fetch)
@@ -70,7 +70,7 @@ (define-public php
"php-" version ".tar.xz"))
(sha256
(base32
- "0js5bm8r3kngsgmxhyr681vrpl4gib3318k8428pigqp06hvna96"))
+ "1bjygxjaqmvccyk4ic3lrca5j34f0pjb6f1ldmi9gbr345mkij2k"))
(modules '((guix build utils)))
(snippet
'(with-directory-excursion "ext"
@@ -278,7 +278,10 @@ (define-public php
;; PCRE with/without JIT gives different result
"ext/pcre/tests/gh11374.phpt"
"ext/pcre/tests/gh11956.phpt"
-
+ ;; reported bug only seems to affect windows
+ "ext/standard/tests/directory/bug74589_utf8.phpt"
+ ;; this test seems to be unreliable/flaky
+ "sapi/cli/tests/php_cli_server_pdeathsig.phpt"
;; This test fails on most architectures.
"sapi/cli/tests/upload_2G.phpt"))

base-commit: a1d711c92e119f6b5b8e99a620cdba92a4ca3bfb
prerequisite-patch-id: 0f9de37cc18b327c988be58ed9280e06b73172d3
--
2.41.0
C
C
Christopher Baines wrote on 26 Apr 18:33 +0200
(name . Wilko Meyer)(address . w@wmeyer.eu)(address . 70512-done@debbugs.gnu.org)
87pluct770.fsf@cbaines.net
Wilko Meyer <w@wmeyer.eu> writes:

Toggle quote (23 lines)
> * gnu/packages/php.scm (php): Update to 8.3.6.
>
> Change-Id: I8f173558fc4098d6d72b42724e5e106d7dabb62a
> ---
> Hi Guix,
>
> This patch updates PHP, the new version successfully builds and runs locally:
>
> ~/devel/guix [env]$ php --version
> PHP 8.3.6 (cli) (built: Jan 1 1970 00:00:01) (NTS)
>
> I had to skip two failing tests, one which seems to be
> unreliable/flaky according to reports[0], another one which seems to
> address a Windows only bug[1]. Haven't spend too much time investigating
> these further/trying to find ways of fixing at least the non-windows
> one; maybe will do so if time isn't as limited as it is right now.
>
> [0]: https://github.com/php/php-src/issues/11401
> [1]: https://bugs.php.net/bug.php?id=74589
>
> gnu/packages/php.scm | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)

This looks good to me, I've pushed the patch to master as
d2a1a4efad4f1ee5b92320bdd7146411184652f9.

Chris
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmYr11NfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9Xczsg/9GTpgYUTUTd/4tRD3XvPAWHfO6i/Nm8MS
OBh+5ai8AERlT8BzdERFk/ONbPrL42cSYzhhtOIMWeOXI8u6WmeR/KIA/TFk62dF
QDVbUkVrMCWimI9YhC7ZZfPS2dlSPutWNR2lVvlEcg23ZY4U3+8BX3AGvuGEqbH0
FYexyRsRXDzeScPmfSQ0G5aQO4otXODZ/wKUQ9NmmuXzH/n+2mQDFbJTOo9G74yl
pmhJs1pBrDJa/4Sns/O+BKb0Hok9dMQo0Zca5SkE0Syv0Dcs79vullFiCTFapxOw
vlyguTkFJTJr0U1894Yv4rFISi6jOp2UxiEwehFSJ0m0GBihNlBxm+DDR9gSs7/R
BhoqyzJpIBG1dSHUFK1Tj05ENLSMBUlN8E4/RoYvPhgFFCPXCzXvoLSQW38VkLy1
lxqZwRlXOE8sf2pcFZ9p3hRMQDbK7glW6RTR9KQ1CtFAoIl9muoLx+UrzqmvcKdC
puER8Ur1HHvSqpviuN7nOs2qNK4/sSMBEBHtKicPVC26+uQckEPDoHkdV0IpfoCz
XLVNutvDzhL5nNQnf5aihUP9KdHVa6RLUUBg4xGnhCLswWvb/wfR0VNl3o3YmrR4
bWr0zdBE+2UUBmUj/BDXxeMrfk2Q3vHrgnmkIRF9DTI4M3XbOzq+xQRNnXpwHduu
BeJJ3kMNYhs=
=Nvpb
-----END PGP SIGNATURE-----

Closed
?