GNU bug report logs - #55373
efibootmgr fails to cross-compile: it looks for 'pkg-config' instead of 'TARGET-pkg-config'

Previous Next

Package: guix;

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

Date: Wed, 11 May 2022 17:24:02 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: bug-guix <at> gnu.org
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
[Message part 1 (text/plain, inline)]
X-Debbugs-CC: Denis 'GNUtoo' Carikli <GNUtoo <at> 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.
[signature.asc (application/pgp-signature, inline)]

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

Previous Next


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