GNU bug report logs - #72940
[PATCH] gnu: gd: Requires.private to propagated inputs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Rutherther <rutherther@HIDDEN>; Keywords: patch; merged with #72943, #72962; dated Sun, 1 Sep 2024 21:48:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Merged 72940 72943 72962. Request was from Tobias Geerinckx-Rice <me@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 72940 72943. Request was from Tobias Geerinckx-Rice <me@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Sep 2024 21:47:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 01 17:47:05 2024
Received: from localhost ([127.0.0.1]:40852 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sksPY-0008DR-Te
	for submit <at> 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 <rutherther@HIDDEN>) id 1skl2N-0000HU-Pz
 for submit <at> 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 <rutherther@HIDDEN>)
 id 1skl1P-0006AE-08
 for guix-patches@HIDDEN; 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 <rutherther@HIDDEN>)
 id 1skl1N-0006zh-77
 for guix-patches@HIDDEN; 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
To: guix-patches@HIDDEN
From: Rutherther <rutherther@HIDDEN>
Subject: [PATCH] gnu: gd: Requires.private to propagated inputs
Message-ID: <20240901135246.5925-1-rutherther@HIDDEN>
Feedback-ID: 8107604:user:proton
X-Pm-Message-ID: 865b1b56e7c35c00c2054f2b48ae69692412f7c5
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=185.70.40.131;
 envelope-from=rutherther@HIDDEN; 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-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 01 Sep 2024 17:47:03 -0400
Cc: Rutherther <rutherther@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

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 examp=
le in php,
failing in configure phase with
```
checking for gdlib >=3D 2.1.0... no
configure: error: Package requirements (gdlib >=3D 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 s=
ure.
---
 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
--=20
2.45.2






Acknowledgement sent to Rutherther <rutherther@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#72940; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

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