all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Noé Lopez via Bug reports for GNU Guix" <bug-guix@gnu.org>
To: 72968@debbugs.gnu.org
Subject: bug#72968: [PATCH] gnu: php: Fix build.
Date: Mon, 02 Sep 2024 16:42:05 +0200	[thread overview]
Message-ID: <87a5gq2k3m.fsf@xn--no-cja.eu> (raw)

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

Hi,

Here is a patch to fix the PHP build.

Have a good day,
Noé Lopez


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-php-Fix-build.patch --]
[-- Type: text/x-patch, Size: 1650 bytes --]

From 225bbd80ed6d67f4c9157ad31a344bae42ffb998 Mon Sep 17 00:00:00 2001
Message-ID: <225bbd80ed6d67f4c9157ad31a344bae42ffb998.1725287764.git.noelopez@free.fr>
From: =?UTF-8?q?No=C3=A9=20Lopez?= <noelopez@free.fr>
Date: Mon, 2 Sep 2024 15:54:29 +0200
Subject: [PATCH] gnu: php: Fix build.

* gnu/packages/php.scm (php): Add missing dependencies and
disable failing tests.

Change-Id: I3ddc47e5ad121a8177e3a12c5dfe154a8d6029b6
---
 gnu/packages/php.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm
index 8f879dbdca..2f031ecd3d 100644
--- a/gnu/packages/php.scm
+++ b/gnu/packages/php.scm
@@ -252,6 +252,10 @@ (define-public php
                          "ext/gd/tests/bug72339.phpt"
                          ;; AVIF support disabled
                          "ext/gd/tests/imagecreatefromstring_avif.phpt"
+                         ;; No idea why
+                         "ext/gd/tests/bug79676.phpt"
+                         "ext/gd/tests/imageinterpolation_basic.phpt"
+                         "ext/gd/tests/imagescale_preserve_ratio.phpt"
 
                          ;; XXX: These test failures appear legitimate, needs investigation.
                          ;; open_basedir() restriction failure.
@@ -306,6 +310,10 @@ (define-public php
        ("bzip2" ,bzip2)
        ("curl" ,curl)
        ("cyrus-sasl" ,cyrus-sasl)
+       ("freetype" ,freetype)
+       ("fontconfig" ,fontconfig)
+       ("libjpeg-turbo" ,libjpeg-turbo)
+       ("libpng" ,libpng)
        ("gd" ,gd)
        ("gdbm" ,gdbm)
        ("gmp" ,gmp)

base-commit: e1c92c98f7afff13fb7060199ba0dd4d9c5c2c53
-- 
2.45.2


             reply	other threads:[~2024-09-02 14:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-02 14:42 Noé Lopez via Bug reports for GNU Guix [this message]
2024-09-02 16:54 ` bug#72968: [PATCH] gnu: php: Fix build Rutherther via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a5gq2k3m.fsf@xn--no-cja.eu \
    --to=bug-guix@gnu.org \
    --cc=72968@debbugs.gnu.org \
    --cc=noe@xn--no-cja.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.