Skip to content

Headers not found for gnu-efi #13

@phodina

Description

@phodina

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions