user/efibootmgr: FTBFS: fatal error: efiboot.h: No such file or directory
...
make[2]: Leaving directory '/root/packages/user/efibootmgr/src/efibootmgr-16/src'
Package popt was not found in the pkg-config search path.
Perhaps you should add the directory containing `popt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'popt', required by 'virtual:world', not found
gcc -O2 -ggdb -march=nocona -mtune=core2 -fno-omit-frame-pointer -mfpmath=sse -g -I/root/packages/user/efibootmgr/src/efibootmgr-16/src/include -Werror -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\Adelie\\\\grub.efi\" -Os -fomit-frame-pointer -c -o efibootdump.o efibootdump.c
efibootdump.c:12:10: fatal error: efiboot.h: No such file or directory
#include <efiboot.h>
^~~~~~~~~~~
compilation terminated.
make[1]: *** [/root/packages/user/efibootmgr/src/efibootmgr-16/Make.rules:32: efibootdump.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/root/packages/user/efibootmgr/src/efibootmgr-16/src'
make: *** [Makefile:12: all] Error 2
>>> ERROR: efibootmgr: build failed
Note from INSTALL
:
efibootmgr currently requires efivar version 0.19, as well as the pkg-config
utility, to be built. If you receive a message like the following:
src/include/efi.h:32:20: fatal error: efivar.h: No such file or directory
then you have not installed these dependencies, which can be found at:
efivar: https://github.com/rhboot/efivar
pkg-config: https://pkgconfig.freedesktop.org
(We're obviously on a much newer version that appears to put headers in <efivar/efiboot.h>
instead of <efiboot.h>
; maybe this package is missing a -I
or needs to be patched to include the other headers.