Bug 12530 - stable/pyro-next nightly-world ovmf on tumbleweed
Summary: stable/pyro-next nightly-world ovmf on tumbleweed
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.3.4
Hardware: x86 Multiple
: High normal
Target Milestone: 2.3.4
Assignee: Armin Kuster
QA Contact:
URL: https://autobuilder.yocto.io/builders...
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-02-04 23:23 UTC by Armin Kuster
Modified: 2018-03-22 07:56 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: Don't know


Attachments
CreateAutoConf (8.95 KB, text/plain)
2018-02-04 23:23 UTC, Armin Kuster
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Kuster 2018-02-04 23:23:28 UTC
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
Comment 1 Armin Kuster 2018-02-04 23:26:58 UTC
possible fix but I suspect Master should be affected, change went in Feb 13, 2017

https://github.com/tianocore/edk2/commit/d37fa01fbbe2cf0cd8b49069a71706a33cb4a53e#diff-b6177612f7cef6cb3e12395066f38083
Comment 2 California Sullivan 2018-02-15 21:19:30 UTC
I'm also hitting this with Fedora27 on pyro. Does not happen on master.
Comment 3 Armin Kuster 2018-02-24 20:37:46 UTC
reproduced this at home on ubuntu 17.05. now I have try to fix.
Comment 4 Armin Kuster 2018-02-25 16:31:44 UTC
patch sent to list. In stable/pyro-next. builds pass for this issue.

https://patchwork.openembedded.org/patch/148279/
Comment 5 Armin Kuster 2018-03-22 07:56:37 UTC
builds now in latest pyro