From patchwork Sun Sep 1 13:53:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rutherther X-Patchwork-Id: 67481 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6E05227BBEA; Sun, 1 Sep 2024 22:48:01 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C9E9627BBE2 for ; Sun, 1 Sep 2024 22:48:00 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sksPZ-0005wR-JU; Sun, 01 Sep 2024 17:47:05 -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 1sksPW-0005vt-Sh for guix-patches@gnu.org; Sun, 01 Sep 2024 17:47:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sksPW-00007K-Je for guix-patches@gnu.org; Sun, 01 Sep 2024 17:47:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=Cusz3L2G0xwCALHTk3g5Oppw0/aomzf3TWOkzoFeVoU=; b=vo7C3upeDuh3/2GJK/TxPCimO+Nak+bRWp6ZBeaIJrzG4QsOG5M99kxmnd5LtSUvsDDaREKp+Ryo7s/rYiPNtXwCsUsXQEcMz+iy1A8wW7GnFcPi2pJ0smt1rJxa7YZB5rGdSXPfzK9AnKyU9WuFP2a5K4jcpAS8ml7hLdPOZFFYsrMMw4fNFIyLsQlKMWtg6GAbLiF6/1wBSDOi6eFmLpTm7RXGpOekWWXifi7BaP+Pz/HEqbYu2QoAaBh+vNvEfw994WxQV42W6xMUE8lV8M6UFBqkmZVEWRtWKc7unvZcwBmQTeGy7QIEBZmrkVuQ41y4+QVTQmLYMrjQucbbDw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sksQU-0008Gy-Ah for guix-patches@gnu.org; Sun, 01 Sep 2024 17:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72940] [PATCH] gnu: gd: Requires.private to propagated inputs Resent-From: Rutherther Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Sep 2024 21:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72940 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72940@debbugs.gnu.org Cc: Rutherther X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172522722531592 (code B ref -1); Sun, 01 Sep 2024 21:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Sep 2024 21:47:05 +0000 Received: from localhost ([127.0.0.1]:40852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sksPY-0008DR-Te for submit@debbugs.gnu.org; Sun, 01 Sep 2024 17:47:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:46272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skl2N-0000HU-Pz for submit@debbugs.gnu.org; Sun, 01 Sep 2024 09:54:40 -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 1skl1P-0006AE-08 for guix-patches@gnu.org; Sun, 01 Sep 2024 09:53:40 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skl1N-0006zh-77 for guix-patches@gnu.org; Sun, 01 Sep 2024 09:53:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1725198812; x=1725458012; bh=Cusz3L2G0xwCALHTk3g5Oppw0/aomzf3TWOkzoFeVoU=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=sidqt+Wq9UjPPsWwy+PoWEiGnyLyrO8az8x0uFIhiKe0MhGgqPtFPrhG7pI105vZV 4IOqmKH3/r2tDZdUf+vRuqDRrr+apUAxycxd5KFxFpebpF0c7gf5JTOxSzKHQrQsRU 94+lHUPfh4EzCe7hcGq/P66ewxZZff4XyWa2kAEqa09kILavgJCxmOdgyyJxqy5Wbx O0G5dJ+yl/5kTiUR1qlwXjv/QVcRzWVeV89v2jwy86pMURNSGcJ10SXJTyFXULHgEm uKNPGWxUwMKmDEdyAkAiJfs8R+FuqkMmfZYwnYIsmU3yYOXGHsmNXLpSc/fUnsVgYX sVD1B3aBkYlow== Date: Sun, 01 Sep 2024 13:53:28 +0000 Message-ID: <20240901135246.5925-1-rutherther@protonmail.com> Feedback-ID: 8107604:user:proton X-Pm-Message-ID: 865b1b56e7c35c00c2054f2b48ae69692412f7c5 MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.131; envelope-from=rutherther@protonmail.com; helo=mail-40131.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-Mailman-Approved-At: Sun, 01 Sep 2024 17:47:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Rutherther X-ACL-Warn: , Rutherther via Guix-patches X-Patchwork-Original-From: Rutherther via Guix-patches via From: Rutherther Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches The package gd provides a pkg-config file with all its inputs in Requires.private. I think that this means that packages that depend on gd also need these as inputs to build. This is causing trouble for example in php, failing in configure phase with ``` checking for gdlib >= 2.1.0... no configure: error: Package requirements (gdlib >= 2.1.0) were not met: Package 'freetype2', required by 'gdlib', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. ``` After this, php is able to configure, though it still fails in the check phase, where 3 tests fail. These tests are related to gd, so there seems to be other problem as well, but I see also other tests for gd disabled, so maybe it will be fine also disabling these three to fix this, I am not sure. --- gnu/packages/gd.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/gd.scm b/gnu/packages/gd.scm index 98d34cfa71..7ced0774bd 100644 --- a/gnu/packages/gd.scm +++ b/gnu/packages/gd.scm @@ -85,7 +85,7 @@ (define-public gd "\\.la$"))))))) (native-inputs (list pkg-config)) - (inputs + (propagated-inputs (list fontconfig freetype libjpeg-turbo