[PATCH] gnu: gd: Requires.private to propagated inputs

  • Open
  • quality assurance status badge
Details
2 participants
  • Tobias Geerinckx-Rice
  • Rutherther
Owner
unassigned
Submitted by
Rutherther
Severity
normal
Merged with
R
R
Rutherther wrote on 1 Sep 15:53 +0200
(address . guix-patches@gnu.org)(name . Rutherther)(address . rutherther@protonmail.com)
20240901135246.5925-1-rutherther@protonmail.com
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(-)

Toggle diff (15 lines)
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
T
T
Tobias Geerinckx-Rice wrote on 2 Sep 00:24 +0200
(no subject)
(address . control@debbugs.gnu.org)
5507402b9ba5f0301534a1d092c63560@tobias.gr
merge 72943 72940
thanks
T
T
Tobias Geerinckx-Rice wrote on 2 Sep 13:53 +0200
(address . control@debbugs.gnu.org)
6921935c0d74dd5c7b96395f373f0085@tobias.gr
reassign 72962 guix-patches
merge 72943 72962
thanks
not
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 72940@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 72940
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch