GNU bug report logs - #72967
PHP not building

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Mon, 2 Sep 2024 13:41:03 UTC

Severity: normal

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72967 in the body.
You can then email your comments to 72967 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#72967; Package guix. (Mon, 02 Sep 2024 13:41:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 02 Sep 2024 13:41:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: bug-guix <at> gnu.org
Subject: PHP not building
Date: Mon, 2 Sep 2024 15:37:24 +0200
Hello,

after the core-updates merge, I noticed that php does not build any more.
I thought that maybe commit adfb0be57fd036dded0225a3ff1eb13f6646ee00, which
had updated the version from 8.3.9 to 8.3.10, was to be blamed; has his
gone through QA?

In any case, reverting the commit does not help. So maybe it is a problem
between the former core-updates and master.

The first problem is that gd requires to add fontconfig, freetype and
libjpeg through the Requires.private field of its pkg-config file.

After doing this, one of the tests fails:
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #79676 (imagescale adds black border with IMG_BICUBIC) [ext/gd/tests/bug79676.phpt]
imagegetinterpolation() and imagesetinterpolation() basic test [ext/gd/tests/imageinterpolation_basic.phpt]
Scale images and preserve aspect ratio [ext/gd/tests/imagescale_preserve_ratio.phpt]
=====================================================================

Andreas





Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Mon, 02 Sep 2024 18:45:02 GMT) Full text and rfc822 format available.

Notification sent to Andreas Enge <andreas <at> enge.fr>:
bug acknowledged by developer. (Mon, 02 Sep 2024 18:45:02 GMT) Full text and rfc822 format available.

Message #10 received at 72967-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Rutherther <rutherther <at> protonmail.com>
Cc: 72967-done <at> debbugs.gnu.org
Subject: Re: PHP not building
Date: Mon, 2 Sep 2024 20:42:59 +0200
Hello Rutherther,

Am Mon, Sep 02, 2024 at 05:00:25PM +0000 schrieb Rutherther:
> the main problem is a removed patch inside of core-updates.
> See this issue #

ah indeed, I should have checked first whether the problem was already
reported! As there are already several issues and mine does not contribute
anything new, I will not merge it, but simply close it.

Thanks for bringing this to my attention!

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#72967; Package guix. (Mon, 02 Sep 2024 21:56:03 GMT) Full text and rfc822 format available.

Message #13 received at 72967 <at> debbugs.gnu.org (full text, mbox):

From: Rutherther <rutherther <at> protonmail.com>
To: 72967 <at> debbugs.gnu.org
Cc: Andreas Enge <andreas <at> enge.fr>
Subject: Re: PHP not building
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






Information forwarded to bug-guix <at> gnu.org:
bug#72967; Package guix. (Mon, 02 Sep 2024 21:56:03 GMT) Full text and rfc822 format available.

Message #16 received at 72967 <at> debbugs.gnu.org (full text, mbox):

From: Rutherther <rutherther <at> protonmail.com>
To: 72967 <at> debbugs.gnu.org
Cc: Andreas Enge <andreas <at> enge.fr>
Subject: Re: PHP not building
Date: Mon, 02 Sep 2024 17:01:29 +0000
I am sorry, I forgot to put in the number of the issue, here it is #72943





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Oct 2024 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.