GNU bug report logs - #50201
[PATCH core-updates-frozen 0/52] Support cross-compilation in glib-or-gtk-build-system and fix cross-compilation errors

Previous Next

Package: guix-patches;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Wed, 25 Aug 2021 17:59:01 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: Mathieu Othacehe <othacehe <at> gnu.org>, 50201 <at> debbugs.gnu.org
Subject: [bug#50201] [PATCH core-updates-frozen 0/52] Support cross-compilation in glib-or-gtk-build-system and fix cross-compilation errors
Date: Wed, 22 Sep 2021 21:10:09 +0200
Hi,

Maxime Devos <maximedevos <at> telenet.be> skribis:

> --- a/gnu/packages/pkg-config.scm
> +++ b/gnu/packages/pkg-config.scm
> @@ -139,7 +139,7 @@ build, or a GNU triplet."
>  ;; work because they both use the "PKG_CONFIG_PATH" environment variable.
>  (define-public pkg-config-for-build
>    (package
> -    (inherit (hidden-package pkg-config))
> +    (inherit (hidden-package %pkg-config))
>      (name "pkg-config-for-build")
>      (version "0")
>      (source #f)
> @@ -163,6 +163,8 @@ exec ~a \"$@\""
>                          (search-input-file %build-inputs "bin/pkg-config"))))
>              (chmod where #o500))))
>      (native-search-paths
> -     (list (search-path-specification
> -            (variable "PKG_CONFIG_PATH_FOR_BUILD")
> -            (files '("lib/pkgconfig" "lib64/pkgconfig" "share/pkgconfig")))))))
> +     (map (lambda (original)
> +            (search-path-specification
> +             (inherit original)
> +             (variable "PKG_CONFIG_FOR_BUILD")))
> +          (package-native-search-paths %pkg-config)))))

Isn’t that a typo, “PKG_CONFIG_FOR_BUILD” instead of
“PKG_CONFIG_PATH_FOR_BUILD” or (string-append name "_FOR_BUILD")?

The original spec above looked more appropriate to me.

Thanks,
Ludo’.




This bug report was last modified 3 years and 239 days ago.

Previous Next


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