Build started at 2022-01-24T09:36:01.578010
Main binary: /usr/bin/python3.10
Build Options: -Defi-cc=x86_64-pc-linux-gnu-clang -Defi-ld=ld.lld -Defi-objcopy=llvm-objcopy -Defi_sbat_distro_id=gentoo '-Defi_sbat_distro_summary=Gentoo GNU/Linux' -Defi_sbat_distro_pkgname=fwupd-efi -Defi_sbat_distro_version=1.1 -Defi_sbat_distro_url=https://packages.gentoo.org/packages/sys-apps/fwupd-efi -Dprefix=/usr -Dlibdir=lib64 -Dlocalstatedir=/var/lib -Dsysconfdir=/etc -Dbuildtype=plain -Dwrap_mode=nodownload -Dbuild.pkg_config_path=/var/tmp/portage/sys-apps/fwupd-efi-1.1/temp/python3.10/pkgconfig:/usr/share/pkgconfig -Dpkg_config_path=/var/tmp/portage/sys-apps/fwupd-efi-1.1/temp/python3.10/pkgconfig:/usr/share/pkgconfig '--native-file /var/tmp/portage/sys-apps/fwupd-efi-1.1/temp/meson.x86_64-pc-linux-gnu.amd64.ini'
Python system: Linux
The Meson build system
Version: 0.60.3
Source dir: /var/tmp/portage/sys-apps/fwupd-efi-1.1/work/fwupd-efi-1.1
Build dir: /var/tmp/portage/sys-apps/fwupd-efi-1.1/work/fwupd-efi-1.1-build
Build type: native build
Project name: fwupd-efi
Project version: 1.1
Sanity testing C compiler: x86_64-pc-linux-gnu-clang
Is cross compiler: False.
Sanity check compiler command line: x86_64-pc-linux-gnu-clang sanitycheckc.c -o sanitycheckc.exe -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /var/tmp/portage/sys-apps/fwupd-efi-1.1/work/fwupd-efi-1.1-build/meson-private/sanitycheckc.exe
C compiler for the host machine: x86_64-pc-linux-gnu-clang (clang 13.0.0 "clang version 13.0.0")
C linker for the host machine: x86_64-pc-linux-gnu-clang ld.bfd 2.37
Sanity testing C compiler: x86_64-pc-linux-gnu-clang
Is cross compiler: False.
Sanity check compiler command line: x86_64-pc-linux-gnu-clang sanitycheckc.c -o sanitycheckc.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /var/tmp/portage/sys-apps/fwupd-efi-1.1/work/fwupd-efi-1.1-build/meson-private/sanitycheckc.exe
C compiler for the build machine: x86_64-pc-linux-gnu-clang (clang 13.0.0 "clang version 13.0.0")
C linker for the build machine: x86_64-pc-linux-gnu-clang ld.bfd 2.37
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Program genpeimg found: NO
Running compile:
Working directory:  /var/tmp/portage/sys-apps/fwupd-efi-1.1/work/fwupd-efi-1.1-build/meson-private/tmpgt1i4gai
Command line:  x86_64-pc-linux-gnu-clang /var/tmp/portage/sys-apps/fwupd-efi-1.1/work/fwupd-efi-1.1-build/meson-private/tmpgt1i4gai/testfile.c -E -P -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -D_FILE_OFFSET_BITS=64 -P -O0 -Werror=implicit-function-declaration -std=c99 

Code:
 
        #ifdef __has_include
         #if !__has_include("/usr/include/efi/x86_64/efibind.h")
          #error "Header '/usr/include/efi/x86_64/efibind.h' could not be found"
         #endif
        #else
         #include </usr/include/efi/x86_64/efibind.h>
        #endif
Compiler stdout:
 

Compiler stderr:
 
Has header "/usr/include/efi/x86_64/efibind.h" : YES 
Running command: /bin/sh -c cd /usr/lib/$(x86_64-pc-linux-gnu-clang -print-multi-os-directory) && pwd
--- stdout ---
/usr/lib

--- stderr ---
clang-13: error: unsupported option '-print-multi-os-directory'
clang-13: error: no input files


Running command: /usr/bin/test -f /usr/lib/gnuefi/x86_64/efi.lds
--- stdout ---

--- stderr ---


Running command: /usr/bin/test -f /usr/lib/gnuefi/elf_x86_64_efi.lds
--- stdout ---

--- stderr ---


Running command: /usr/bin/test -f /usr/lib/elf_x86_64_efi.lds
--- stdout ---

--- stderr ---



efi/meson.build:55:6: ERROR: Problem encountered: Cannot find elf_x86_64_efi.lds