Bug 12871

Summary: cryptodev doesn't restrict bbappend scope
Product: [Build System, Metadata & Runtime] BSPs Reporter: Armin Kuster <akuster>
Component: bsps-meta-intelAssignee: Anuj Mittal <anuj.mittal>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Undecided CC: anuj.mittal, meta.mr.watcher, meta.watcher
Version: 2.4.5   
Target Milestone: 2.4.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: Don't know

Description Armin Kuster 2018-08-06 15:47:49 UTC
ERROR: cryptodev-module-1.9-r0 do_fetch: Fetcher failure: Unable to find file file://0001-ioctl.c-Fix-build-with-linux-4.13.patch anywhere. The paths that were searched were:
Comment 1 Armin Kuster 2018-08-06 15:48:48 UTC
it appears to be a meta-intel issue:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/?h=rocko&id=fe3841530e8925f5fa416ea3c3b6010bdca1845e

introduced the issue. For some reason meta-intel rocko is supporting 4.14 kernel.
Comment 2 Armin Kuster 2018-08-06 15:50:25 UTC
meta-intel is affecting the base layers when with "qemux86" is enabled. it should not.
Comment 3 Armin Kuster 2018-08-06 15:52:44 UTC
SRC_URI_append = " file://0001-ioctl.c-Fix-build-with-linux-4.13.patch"

needs to only be included if using linux-intel or Intel MACHINE
Comment 4 Armin Kuster 2018-08-06 15:54:34 UTC
blocks next Rocko release
Comment 5 Anuj Mittal 2018-08-07 01:31:42 UTC
(In reply to comment #1)
> it appears to be a meta-intel issue:
> 
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/
> ?h=rocko&id=fe3841530e8925f5fa416ea3c3b6010bdca1845e
> 
> introduced the issue. For some reason meta-intel rocko is supporting 4.14
> kernel.

Sorry about that. I will restrict the bbappend scope.

But, I think this specific patch should be included in OE-Core rocko instead because this issue would affect all layers that build their own kernel that is based on 4.14 or above.

Could you consider picking this for rocko please:

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-kernel/cryptodev?h=sumo&id=1e5e38f1e7f09dd12a24e62142da747c760ce0c3
Comment 6 Armin Kuster 2018-08-07 02:13:55 UTC
(In reply to comment #5)
> (In reply to comment #1)
> > it appears to be a meta-intel issue:
> > 
> > http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/
> > ?h=rocko&id=fe3841530e8925f5fa416ea3c3b6010bdca1845e
> > 
> > introduced the issue. For some reason meta-intel rocko is supporting 4.14
> > kernel.
> 
> Sorry about that. I will restrict the bbappend scope.
> 
> But, I think this specific patch should be included in OE-Core rocko instead
> because this issue would affect all layers that build their own kernel that
> is based on 4.14 or above.
> 
> Could you consider picking this for rocko please:
as long as Sumo has this, it seems like a reasonable request.
> 
> https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-kernel/
> cryptodev?h=sumo&id=1e5e38f1e7f09dd12a24e62142da747c760ce0c3
Comment 7 Armin Kuster 2018-08-07 14:42:46 UTC
ok, I went ahead and pull in some cyrptodev patches to Rocko is in stable/rocko-nmut pending next build.
Comment 8 Anuj Mittal 2018-08-07 14:45:47 UTC
(In reply to comment #7)
> ok, I went ahead and pull in some cyrptodev patches to Rocko is in
> stable/rocko-nmut pending next build.

Thanks, I have merged the change in meta-intel too so it shouldn't fail now.