Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headers not found for gnu-efi #13

Open
phodina opened this issue Jul 24, 2021 · 2 comments
Open

Headers not found for gnu-efi #13

phodina opened this issue Jul 24, 2021 · 2 comments

Comments

@phodina
Copy link

phodina commented Jul 24, 2021

I'm attempting to package the fwupd-efi for Guix. However, the header file for gnu-efi are not found even though I speify their location

Using fwupd-efi 1.1
gnu-efi-3.0.13

I'm specifying this flag to point to the headers

-Defi-includedir=" (assoc-ref %build-inputs "gnu-efi") "/include/efi"
...
# During build time it expands into
/gnu/store/7shc63rli3vixwgxx01xdgs9g4npv0i2-gnu-efi-3.0.13/include/efi

But it still does not find them as this is the error

efi/meson.build:31:2: ERROR: Problem encountered: gnu-efi support requested, but headers were not found

Without passing this flag there was this error

Has header "/usr/include/efi/x86_64/efibind.h" : NO 
Has header "/usr/include/efi/x64/efibind.h" : NO 

efi/meson.build:31:2: ERROR: Problem encountered: gnu-efi support requested, but headers were not found
@hughsie
Copy link
Member

hughsie commented Jul 24, 2021

Have you got any ideas for a fix? Thanks.

@superm1
Copy link
Member

superm1 commented Oct 5, 2022

What compiler is this? I wonder if #29 might actually help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants