unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72943] [PATCH] gnu: gd: Requires.private to propagated inputs
@ 2024-09-01 19:11 Rutherther via Guix-patches via
  2024-09-01 23:33 ` Carlo Zancanaro
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Rutherther via Guix-patches via @ 2024-09-01 19:11 UTC (permalink / raw)
  To: 72943; +Cc: Rutherther

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






^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-09-05 20:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-01 19:11 [bug#72943] [PATCH] gnu: gd: Requires.private to propagated inputs Rutherther via Guix-patches via
2024-09-01 23:33 ` Carlo Zancanaro
2024-09-02 17:23 ` Rutherther via Guix-patches via
2024-09-03  0:19   ` Carlo Zancanaro
2024-09-03  1:54     ` [bug#72943] [PATCH 1/2] " Carlo Zancanaro
2024-09-03  1:54     ` [bug#72943] [PATCH 2/2] gnu: php: Disable tests relating to BICUBIC interpolation Carlo Zancanaro
2024-09-04  6:50       ` [bug#72962] php-8.3.10 build failure guix-patches--- via
2024-09-04  6:50         ` [bug#72943] bug#72962: " guix-patches--- via
2024-09-04  7:27         ` Carlo Zancanaro
2024-09-04  7:43           ` [bug#72962] " guix-patches--- via
2024-09-04  7:59           ` guix-patches--- via
2024-09-04 10:32           ` guix-patches--- via
2024-09-05 20:41 ` [bug#72943] Patches applied Andreas Enge

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).