* bug#72967: PHP not building
@ 2024-09-02 13:37 Andreas Enge
2024-09-02 17:00 ` Rutherther via Bug reports for GNU Guix
2024-09-02 17:01 ` Rutherther via Bug reports for GNU Guix
0 siblings, 2 replies; 4+ messages in thread
From: Andreas Enge @ 2024-09-02 13:37 UTC (permalink / raw)
To: 72967
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#72967: PHP not building
2024-09-02 13:37 bug#72967: PHP not building Andreas Enge
@ 2024-09-02 17:00 ` Rutherther via Bug reports for GNU Guix
2024-09-02 18:42 ` Andreas Enge
2024-09-02 17:01 ` Rutherther via Bug reports for GNU Guix
1 sibling, 1 reply; 4+ messages in thread
From: Rutherther via Bug reports for GNU Guix @ 2024-09-02 17:00 UTC (permalink / raw)
To: 72967; +Cc: Andreas Enge
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#72967: PHP not building
2024-09-02 17:00 ` Rutherther via Bug reports for GNU Guix
@ 2024-09-02 18:42 ` Andreas Enge
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Enge @ 2024-09-02 18:42 UTC (permalink / raw)
To: Rutherther; +Cc: 72967-done
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#72967: PHP not building
2024-09-02 13:37 bug#72967: PHP not building Andreas Enge
2024-09-02 17:00 ` Rutherther via Bug reports for GNU Guix
@ 2024-09-02 17:01 ` Rutherther via Bug reports for GNU Guix
1 sibling, 0 replies; 4+ messages in thread
From: Rutherther via Bug reports for GNU Guix @ 2024-09-02 17:01 UTC (permalink / raw)
To: 72967; +Cc: Andreas Enge
I am sorry, I forgot to put in the number of the issue, here it is #72943
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-03 3:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02 13:37 bug#72967: PHP not building Andreas Enge
2024-09-02 17:00 ` Rutherther via Bug reports for GNU Guix
2024-09-02 18:42 ` Andreas Enge
2024-09-02 17:01 ` Rutherther via Bug reports for GNU Guix
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.