From unknown Sat Aug 16 11:11:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72967: PHP not building Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 02 Sep 2024 13:41:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 72967@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172528441019549 (code B ref -1); Mon, 02 Sep 2024 13:41:03 +0000 Received: (at submit) by debbugs.gnu.org; 2 Sep 2024 13:40:10 +0000 Received: from localhost ([127.0.0.1]:48730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sl7Ht-00055A-Qt for submit@debbugs.gnu.org; Mon, 02 Sep 2024 09:40:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:51418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sl7GO-00050Q-Lh for submit@debbugs.gnu.org; Mon, 02 Sep 2024 09:38:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sl7FP-00080A-HS for bug-guix@gnu.org; Mon, 02 Sep 2024 09:37:35 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sl7FN-0008K5-JQ for bug-guix@gnu.org; Mon, 02 Sep 2024 09:37:35 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6CFA2799; Mon, 2 Sep 2024 15:37:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EIcW9CwURss4; Mon, 2 Sep 2024 15:37:25 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B52395B; Mon, 2 Sep 2024 15:37:25 +0200 (CEST) Date: Mon, 2 Sep 2024 15:37:24 +0200 From: Andreas Enge Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=2a0c:e300::1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From unknown Sat Aug 16 11:11:53 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Andreas Enge Subject: bug#72967: closed (Re: PHP not building) Message-ID: References: X-Gnu-PR-Message: they-closed 72967 X-Gnu-PR-Package: guix Reply-To: 72967@debbugs.gnu.org Date: Mon, 02 Sep 2024 18:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1725302702-4362-1" This is a multi-part message in MIME format... ------------=_1725302702-4362-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #72967: PHP not building which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 72967@debbugs.gnu.org. --=20 72967: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72967 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1725302702-4362-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 72967-done) by debbugs.gnu.org; 2 Sep 2024 18:44:12 +0000 Received: from localhost ([127.0.0.1]:51923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slC27-00015e-V9 for submit@debbugs.gnu.org; Mon, 02 Sep 2024 14:44:12 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:58664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slC25-00015D-W9 for 72967-done@debbugs.gnu.org; Mon, 02 Sep 2024 14:44:10 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 41DFECFB; Mon, 2 Sep 2024 20:43:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cpYF4_j5kiOT; Mon, 2 Sep 2024 20:43:01 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id AACD5D9; Mon, 2 Sep 2024 20:43:01 +0200 (CEST) Date: Mon, 2 Sep 2024 20:42:59 +0200 From: Andreas Enge To: Rutherther Subject: Re: PHP not building Message-ID: References: <87r0a2m1nd.fsf@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87r0a2m1nd.fsf@protonmail.com> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 72967-done Cc: 72967-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 ------------=_1725302702-4362-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Sep 2024 13:40:10 +0000 Received: from localhost ([127.0.0.1]:48730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sl7Ht-00055A-Qt for submit@debbugs.gnu.org; Mon, 02 Sep 2024 09:40:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:51418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sl7GO-00050Q-Lh for submit@debbugs.gnu.org; Mon, 02 Sep 2024 09:38:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sl7FP-00080A-HS for bug-guix@gnu.org; Mon, 02 Sep 2024 09:37:35 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sl7FN-0008K5-JQ for bug-guix@gnu.org; Mon, 02 Sep 2024 09:37:35 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6CFA2799; Mon, 2 Sep 2024 15:37:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EIcW9CwURss4; Mon, 2 Sep 2024 15:37:25 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B52395B; Mon, 2 Sep 2024 15:37:25 +0200 (CEST) Date: Mon, 2 Sep 2024 15:37:24 +0200 From: Andreas Enge To: bug-guix@gnu.org Subject: PHP not building Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=2a0c:e300::1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 ------------=_1725302702-4362-1-- From unknown Sat Aug 16 11:11:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72967: PHP not building References: In-Reply-To: Resent-From: Rutherther Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 02 Sep 2024 21:56:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 72967@debbugs.gnu.org Cc: Andreas Enge Received: via spool by 72967-submit@debbugs.gnu.org id=B72967.172531413630084 (code B ref 72967); Mon, 02 Sep 2024 21:56:03 +0000 Received: (at 72967) by debbugs.gnu.org; 2 Sep 2024 21:55:36 +0000 Received: from localhost ([127.0.0.1]:52804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slF1L-0007p1-Sy for submit@debbugs.gnu.org; Mon, 02 Sep 2024 17:55:36 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:12921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slAQs-0005bR-11 for 72967@debbugs.gnu.org; Mon, 02 Sep 2024 13:01:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1725296429; x=1725555629; bh=eWferN/z7dbYCo93D+j6+Nw9hiwK9nunE7z7/ZXokHI=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=A2Q5JYnnvUJOfIV2uBYgLbtwnAr6MZkPOZTqg2ravSPb/MbUwmSFAh72n1r1wH1FW W5pQjEXdTE6+xOzjg00Rb3tNfvzwZi895yPA/XUrpDDkGTNM6lMl4eLm2+s2Gc4t/1 6c/zr1g5gyjtnWOxKdnbC0iaiYaybGRpN4ZiYjy9j+k+oT/EruldFexTXD4Z5E1I2l 1lzmKBnNVHwIJfVtrdI/DQlC0wbb3ypiUp0Mmpd4uZ4USCd6SwHy8tzZ9vCE3/b+pK KJsVGQzrBhtYkFSQan81FPoxnRhj8fjJIlmCCvXaseNZ8YbvU+3DhiS/SY8Gd1DaMS PEh2d29q75/Uw== Date: Mon, 02 Sep 2024 17:00:25 +0000 From: Rutherther Message-ID: <87r0a2m1nd.fsf@protonmail.com> Feedback-ID: 8107604:user:proton X-Pm-Message-ID: 7d5b36bcf828da51fab20e6f8f714387b56ac1b4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Mon, 02 Sep 2024 17:55:32 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From unknown Sat Aug 16 11:11:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72967: PHP not building References: In-Reply-To: Resent-From: Rutherther Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 02 Sep 2024 21:56:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 72967@debbugs.gnu.org Cc: Andreas Enge Received: via spool by 72967-submit@debbugs.gnu.org id=B72967.172531413730092 (code B ref 72967); Mon, 02 Sep 2024 21:56:03 +0000 Received: (at 72967) by debbugs.gnu.org; 2 Sep 2024 21:55:37 +0000 Received: from localhost ([127.0.0.1]:52806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slF1M-0007pG-Kq for submit@debbugs.gnu.org; Mon, 02 Sep 2024 17:55:36 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:38517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slARv-0005e8-0q for 72967@debbugs.gnu.org; Mon, 02 Sep 2024 13:02:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1725296495; x=1725555695; bh=LHpMaKSaSXXvEHXuXjlhe1Mw+IDP3aUwhEXFUqXJzGo=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=HMi5vVJEMrkjW89HTpStP8F3n/XAX9ORY368VPaGbO5AWDenNPSlODAp9Dm9Bgfc/ qKLlMcy9saqFvfuBBoOD3j5gSNED5HWwGoK7MnDKlC06TwL6xWr8Bi/23KTrgaWRIC b4Ng1I4DhqAPWJprwRXogLLwIo0O7jsEV97HMKUAuaehwCyTLZM0mHzBExA1t/+vR+ 4y44FQMMXYxhhOxwamtDvouwO/m+rzQZ8GUfqB2md3kGU6TuM82Y7KSFQwanbFJLJ7 0EUNfkU6mWu+f8u1tbxHQ66uN/MG7RRcfm7PjSvKXFxwAaRi1lku7N7c1w2Q7zHygu f2Yo7ZU22bVGg== Date: Mon, 02 Sep 2024 17:01:29 +0000 From: Rutherther Message-ID: <87ed62at21.fsf@protonmail.com> Feedback-ID: 8107604:user:proton X-Pm-Message-ID: 26d8ffff199bb369debdfda2f5d2ec6b6cf0615a MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Mon, 02 Sep 2024 17:55:32 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I am sorry, I forgot to put in the number of the issue, here it is #72943