emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55373: closed (efibootmgr fails to cross-compile: it looks for 'pkg-


From: GNU bug Tracking System
Subject: bug#55373: closed (efibootmgr fails to cross-compile: it looks for 'pkg-config' instead of 'TARGET-pkg-config')
Date: Sun, 15 May 2022 13:03:02 +0000

Your message dated Sun, 15 May 2022 16:01:36 +0300
with message-id <YoD5sFwo87kDWhxu@3900XT>
and subject line Re: bug#55373: efibootmgr fails to cross-compile: it looks for 
'pkg-config' instead of 'TARGET-pkg-config'
has caused the debbugs.gnu.org bug report #55373,
regarding efibootmgr fails to cross-compile: it looks for 'pkg-config' instead 
of 'TARGET-pkg-config'
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
55373: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55373
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: efibootmgr fails to cross-compile: it looks for 'pkg-config' instead of 'TARGET-pkg-config' Date: Wed, 11 May 2022 19:23:41 +0200 User-agent: Evolution 3.38.3-1
X-Debbugs-CC: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>

Title says it all.

Also see the following excerpt from the build log:

> make -f /tmp/guix-build-efibootmgr-17.drv-0/source/Make.deps deps 
> SOURCES="efibootmgr.c efi.c unparse_path.c" 
> SUBDIR_CFLAGS="-I/tmp/guix-build-efibootmgr-17.drv-0/source/src/include"
> /gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/sh: line 
> 1: pkg-config: command not found

Looks like PKG_CONFIG needs to be added to #:make-flags:
<https://github.com/rhboot/efibootmgr/blob/892cb7444ce6f2cded9c67ff2ab3ef35a4c810c8/Make.rules#L64>.

Maybe AR and CC as well.


Greetings,
Maxime.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message --- Subject: Re: bug#55373: efibootmgr fails to cross-compile: it looks for 'pkg-config' instead of 'TARGET-pkg-config' Date: Sun, 15 May 2022 16:01:36 +0300
On Wed, May 11, 2022 at 07:23:41PM +0200, Maxime Devos wrote:
> X-Debbugs-CC: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
> 
> Title says it all.
> 
> Also see the following excerpt from the build log:
> 
> > make -f /tmp/guix-build-efibootmgr-17.drv-0/source/Make.deps deps 
> > SOURCES="efibootmgr.c efi.c unparse_path.c" 
> > SUBDIR_CFLAGS="-I/tmp/guix-build-efibootmgr-17.drv-0/source/src/include"
> > /gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/sh: line 
> > 1: pkg-config: command not found
> 
> Looks like PKG_CONFIG needs to be added to #:make-flags:
> <https://github.com/rhboot/efibootmgr/blob/892cb7444ce6f2cded9c67ff2ab3ef35a4c810c8/Make.rules#L64>.
> 
> Maybe AR and CC as well.
> 

I also needed to adjust efivar so it would refer to the correct gcc when
cross-compiling. Anyway, this should now be fixed.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]