Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

shim_git.bb & efitools.inc Compile Failing #236

Open
TheNageek opened this issue Feb 23, 2022 · 0 comments
Open

shim_git.bb & efitools.inc Compile Failing #236

TheNageek opened this issue Feb 23, 2022 · 0 comments

Comments

@TheNageek
Copy link

TheNageek commented Feb 23, 2022

Patch file://0001-console.c-Fix-compilation-against-latest-usr-include.patch not being applied correctly resulting in the below error.

| console.c:363:5: error: 'EFI_WARN_UNKNOWN_GLYPH' undeclared here (not in a function); did you mean 'EFI_WARN_UNKOWN_GLYPH'?
|   {  EFI_WARN_UNKNOWN_GLYPH,     L"Warning Unknown Glyph"},
|      ^~~~~~~~~~~~~~~~~~~~~~
|      EFI_WARN_UNKOWN_GLYPH
| <builtin>: recipe for target 'console.o' failed
| make[1]: *** [console.o] Error 1
| make[1]: Leaving directory '/home/kwalsh/workspace/images/hawkeye_secure/build/tmp/work/corei7-64-poky-linux/shim/12+gitAUTOINC+5202f80c32-r0/git/lib'
| Makefile:223: recipe for target 'lib/lib.a' failed
| make: *** [lib/lib.a] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/kwalsh/workspace/images/hawkeye_secure/build/tmp/work/corei7-64-poky-linux/shim/12+gitAUTOINC+5202f80c32-r0/temp/log.do_compile.24762)
ERROR: Task (/home/kwalsh/workspace/images/hawkeye_secure/sources/meta-secure-core/meta-efi-secure-boot/recipes-bsp/shim/shim_git.bb:do_compile) failed with exit code '1'

However the following works file://0001-console.c-Fix-compilation-against-latest-usr-include.patch;apply=0 when used in shim_git.bb and efitools.inc. Also 100% sure what apply=0 syntax means, maybe don't apply this patch? If so, not sure this workaround is valid.

Note on build, attempting to build a warrior build using the gatesgarth branch from this repository.

@TheNageek TheNageek changed the title shim_git.bb compile failing shim_git.bb & efitools.inc Compile Failing Feb 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant