From patchwork Sun Sep 1 19:11:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rutherther X-Patchwork-Id: 67480 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 1C3AF27BBE2; Sun, 1 Sep 2024 22:47:58 +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=unavailable 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 3639227BBE9 for ; Sun, 1 Sep 2024 22:47:56 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sksPa-0005xt-U5; Sun, 01 Sep 2024 17:47:06 -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 1sksPZ-0005wq-NG for guix-patches@gnu.org; Sun, 01 Sep 2024 17:47:05 -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 1sksPZ-00007x-EL for guix-patches@gnu.org; Sun, 01 Sep 2024 17:47:05 -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=S+5VWdpofa64M+WPedw0EVIuDOOkYk084J9/gKO7UAncgh0Zk7WhIB18MlgUNmSYDnghingnNPb44Ra2YvofR+c7k/P4ol1jGnotb+pS91UM0pc73m46NSgEqlcYEa7+oTPwJxbiXhtc32txtxH1JCP28ws5B1FsAee0vrm3Mu8BRt5uhy9pUDfx6akTPfmTK3MQyFa2zDNG60EEoitEu2KkDsvZyT1MVok6SBm+10auLdqKuBtlt7pAkh3sqx3sRHWLLipG8t0BoHOmq6gnMXUNOWG0g6Txyg5EKvv9mt42CbBe6YXSgIyVDppW/C6cZzdFUmEU0DO6XxdqGOn9Cw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sksQX-0008Hw-Bh for guix-patches@gnu.org; Sun, 01 Sep 2024 17:48:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72943] [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:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72943 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72943@debbugs.gnu.org Cc: Rutherther X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172522723631662 (code B ref -1); Sun, 01 Sep 2024 21:48:05 +0000 Received: (at submit) by debbugs.gnu.org; 1 Sep 2024 21:47:16 +0000 Received: from localhost ([127.0.0.1]:40868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sksPk-0008EX-1f for submit@debbugs.gnu.org; Sun, 01 Sep 2024 17:47:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:57908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skq0M-0002K4-QC for submit@debbugs.gnu.org; Sun, 01 Sep 2024 15:12:55 -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 1skpzO-0003lB-LT for guix-patches@gnu.org; Sun, 01 Sep 2024 15:11:54 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skpzL-0006Qw-VM for guix-patches@gnu.org; Sun, 01 Sep 2024 15:11:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1725217909; x=1725477109; 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=K1DZir2o6CCE4lTIqlV/3kZnIk3GxtKCXo8MoTmHQP2lgCYW+l2gWx4/JKE3mRCR0 4m4FmbpU5CjrKYbXW2QBCgOGj0qE6Qb1sOH1kVF8Kz/QssRQ5/lc5NncA93Z/BQakO gHnsB+O7OS3OaDrf/GHLIy4bnMcX+ONAR1ztoxkJU9LFllcSfEvPggt26rDnsIu4G7 JQj71w7uQ7+3y2kq/vqS5XrBQN6mrT3hpTsWIpc+7/Ovcax62Acwzi3z1sWiE1JFe5 zIt1fZVeSXEOExgErBrccMachUnCu5vjhaeilHQEKx7Q5vJ2HaxFURd9f0l+0qX9Rh 0EnQWyFXE08xQ== Date: Sun, 01 Sep 2024 19:11:44 +0000 Message-ID: <20240901191119.29870-1-rutherther@protonmail.com> Feedback-ID: 8107604:user:proton X-Pm-Message-ID: 827a7e12906ce42bea3e3b74bf7f0c7e8696b063 MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.22; envelope-from=rutherther@protonmail.com; helo=mail-4322.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_H4=-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