Bug 13503

Summary: kernel-devsrc failing on warrior with 4.19 kernel
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Anuj Mittal <anuj.mittal>
Component: coreAssignee: Armin Kuster <akuster>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: akuster, meta.mr.watcher, meta.watcher, randy.macleod, tim.orling
Version: 2.7.2   
Target Milestone: 2.7.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Anuj Mittal 2019-09-05 07:48:41 UTC
Please backport the kernel-devsrc fix from master to warrior. Without this, builds fail when using > 4.19.67 on warrior.

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=eb8a9e10ad2a9000f0d4e807d9b87fdbf9f68015

http://lists.openembedded.org/pipermail/openembedded-core/2019-August/285737.html

Adding this bug so this isn't missed for 2.7.2.
Comment 1 Armin Kuster 2019-09-05 14:44:41 UTC
What kernel version is this issue against and do you have an error message or a why to reproduce?
Comment 2 Tim Orling 2019-09-05 14:54:55 UTC
The first commit (x86/purgatory: Do not use __builtin_memcpy and __builtin_memset) from Bruce's patch have been merged to 4.19.67:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v4.19.69&id=e0d262a57fc741a9b362e458c714e37a77ddb62d
Comment 3 Anuj Mittal 2019-09-05 22:58:46 UTC
Thanks Tim. Error log:

| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| cp: cannot stat ‘arch/x86/purgatory/string.c’: No such file or directory

To reproduce, just upgrade the 4.19 kernel to something beyond 4.19.67 in OE-core warrior or use a layer with that kernel version.
Comment 5 Armin Kuster 2019-10-03 04:17:28 UTC
in mainline warrior
Comment 6 Armin Kuster 2019-10-03 04:17:39 UTC
.