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

From: Maxime Devos <[email-masked]>
Date: Thu, 23 Sep 2021 18:53:23 +0200

Maxime Devos schreef op do 23-09-2021 om 12:38 [+0200]:
> Ludovic Courtès schreef op wo 22-09-2021 om 21:10 [+0200]:
> > >      (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.
> 
> Yes, it's a typo.  The attached patch should fix it (now running
> ./pre-inst-env guix build --target=... ...). [...]

No pkg-config related build failures when doing
‘./pre-inst-env guix build --target=... gtk+’ so far.

>   I wonder how I could have
> missed this.
> 
> Greetings,
> Maxime.