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

Previous Next

Package: guix-patches;

Reported by: Rutherther <rutherther <at> protonmail.com>

Date: Sun, 1 Sep 2024 21:48:02 UTC

Severity: normal

Tags: patch, wontfix

Merged with 72943, 72962

Done: Maxim Cournoyer <maxim <at> guixotic.coop>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72940 in the body.
You can then email your comments to 72940 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#72940; Package guix-patches. (Sun, 01 Sep 2024 21:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rutherther <rutherther <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 01 Sep 2024 21:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rutherther <rutherther <at> protonmail.com>
To: guix-patches <at> gnu.org
Cc: Rutherther <rutherther <at> protonmail.com>
Subject: [PATCH] gnu: gd: Requires.private to propagated inputs
Date: Sun, 01 Sep 2024 13:53:28 +0000
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
-- 
2.45.2






Merged 72940 72943. Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Sun, 01 Sep 2024 22:26:03 GMT) Full text and rfc822 format available.

Merged 72940 72943 72962. Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Mon, 02 Sep 2024 11:55:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 72962 <at> debbugs.gnu.org and Marek Paśnikowski <marek <at> marekpasnikowski.pl> Request was from Maxim Cournoyer <maxim <at> guixotic.coop> to control <at> debbugs.gnu.org. (Tue, 30 Sep 2025 02:37:02 GMT) Full text and rfc822 format available.

Added tag(s) wontfix. Request was from Maxim Cournoyer <maxim <at> guixotic.coop> to control <at> debbugs.gnu.org. (Tue, 30 Sep 2025 02:37:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 28 Oct 2025 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 9 days ago.

Previous Next


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