Subject: bug#72967: PHP not building

From: Rutherther <[email-masked]>
Date: Mon, 02 Sep 2024 17:00:25 +0000

Hello Andreas,

the main problem is a removed patch inside of core-updates.
See this issue #

A separate problem is that three tests, related to gd,
are not passing.

As a temporary workaround, you can use the attached code to obtain a
buildable php.

Regards,
Rutherther

---
(use-modules
 (guix packages)
 (gnu packages gd)
 (gnu packages php))

(define gd-fixed
  (package/inherit gd
    (name "gd-fixed")
    (propagated-inputs
     (package-inputs gd))))

(define php
  (package/inherit php
    (inputs (modify-inputs (package-inputs php)
              (replace "gd" gd-fixed)))))

php