Bug 14226

Summary: Compile of shaderc fails on autobuilder
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jon Mason <jon.mason>
Component: graphicsAssignee: Jose Quaresma <quaresma.jose>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, quaresma.jose, randy.macleod, richard.purdie
Version: 3.3   
Target Milestone: 3.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Jon Mason 2021-02-05 23:21:46 UTC
Autobuilder is failing to compile shaderc-native on CentOS 8.  The error being seen is:

stdio: ERROR: shaderc-native-2020.4-r0 do_compile: Execution of '/home/pokybuild/yocto-worker/pkgman-non-rpm/build/build/tmp/work/x86_64-linux/shaderc-native/2020.4-r0/temp/run.do_compile.405768' failed with exit code 1:


See https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/3012
Comment 1 Randy MacLeod 2021-02-11 15:56:01 UTC
Randy to contact Jose Quaresma <quaresma.jose@gmail.com> to see if he can take this bug.
Comment 2 Jose Quaresma 2021-02-12 11:15:05 UTC
(In reply to comment #1)
> Randy to contact Jose Quaresma <quaresma.jose@gmail.com> to see if he can
> take this bug.

I have assing the bug to myself, this problem may have been solved with:

spirv-tools: fix reproducible
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=master&id=f5ef0e12d05f0b87f27cc4324b53a6b7cbcf1c15

But I have some work to do on my queue regarding the shaderc package and its dependencies. I will send some more pacthes soon to improve the shaderc package.
Comment 3 Jose Quaresma 2021-02-13 01:40:04 UTC
I said the problem was solved with:

spirv-tools: fix reproducible
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=master&id=f5ef0e12d05f0b87f27cc4324b53a6b7cbcf1c15

But it is not true because this changes only affects the target shaderc and this bug is on shaderc-native.

I have sent a couple of patch set and let's see if it solves the problem.
Comment 4 Richard Purdie 2021-02-18 22:11:45 UTC
Thanks, we've not seen this since I merged those. I'll resolve and we can reopen if we see it again.
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=49c0f7deec96c1cefcd3b59cfc7cbba460318865

Thanks again for the help with this!