Created attachment 4201 [details] CreateAutoConf | g++ -c -isystem/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-world/build/build/tmp/work/x86_64-linux/ovmf-native/git-r0/recipe-sysroot-native/usr/include -I . -I ./Include/Common -I ./Include/ -I ./Include/IndustryStandard -I ./Common/ -I .. -I . -I ./Include/X64/ -O2 -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -O2 VfrError.cpp -o VfrError.o | g++ -c -isystem/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-world/build/build/tmp/work/x86_64-linux/ovmf-native/git-r0/recipe-sysroot-native/usr/include -I . -I ./Include/Common -I ./Include/ -I ./Include/IndustryStandard -I ./Common/ -I .. -I . -I ./Include/X64/ -O2 -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -O2 VfrUtilityLib.cpp -o VfrUtilityLib.o | ERROR: oe_runmake failed | VfrUtilityLib.cpp: In member function ‘CHAR8* CVfrStringDB::GetVarStoreNameFormStringId(EFI_STRING_ID)’: | VfrUtilityLib.cpp:3375:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] | if (mStringFileName == '\0' ) { | ^~~~ | make[2]: *** [../Makefiles/footer.makefile:30: VfrUtilityLib.o] Error 1 | make[2]: Leaving directory '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-world/build/build/tmp/work/x86_64-linux/ovmf-native/git-r0/git/BaseTools/Source/C/VfrCompile' | make[1]: *** [GNUmakefile:79: VfrCompile] Error 2 | make[1]: Leaving directory '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-world/build/build/tmp/work/x86_64-linux/ovmf-native/git-r0/git/BaseTools/Source/C' | make: *** [GNUmakefile:25: Source/C] Error 2
possible fix but I suspect Master should be affected, change went in Feb 13, 2017 https://github.com/tianocore/edk2/commit/d37fa01fbbe2cf0cd8b49069a71706a33cb4a53e#diff-b6177612f7cef6cb3e12395066f38083
I'm also hitting this with Fedora27 on pyro. Does not happen on master.
reproduced this at home on ubuntu 17.05. now I have try to fix.
patch sent to list. In stable/pyro-next. builds pass for this issue. https://patchwork.openembedded.org/patch/148279/
builds now in latest pyro