unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70512] [PATCH] gnu: php: Update to 8.3.6.
@ 2024-04-22  9:43 Wilko Meyer
  2024-04-26 16:33 ` bug#70512: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Wilko Meyer @ 2024-04-22  9:43 UTC (permalink / raw)
  To: 70512; +Cc: Wilko Meyer

* 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(-)

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#70512: [PATCH] gnu: php: Update to 8.3.6.
  2024-04-22  9:43 [bug#70512] [PATCH] gnu: php: Update to 8.3.6 Wilko Meyer
@ 2024-04-26 16:33 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2024-04-26 16:33 UTC (permalink / raw)
  To: Wilko Meyer; +Cc: 70512-done

[-- Attachment #1: Type: text/plain, Size: 974 bytes --]

Wilko Meyer <w@wmeyer.eu> writes:

> * 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-26 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-22  9:43 [bug#70512] [PATCH] gnu: php: Update to 8.3.6 Wilko Meyer
2024-04-26 16:33 ` bug#70512: " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).