[meta-intel] [PATCH 0/2] Fix build with zlib-qat and openssl-qat

Gupta, Rahul KumarXX rahul.kumarxx.gupta at intel.com
Thu Aug 4 19:51:20 PDT 2016


Hi Tom,

> | WARNING: exit code 1 from a shell command.
> | DEBUG: Python function do_patch finished
> | ERROR: Function failed: opensslqat_do_patch (log file is located at
> /usr/local/dev/yocto/master-cur/build/tmp/work/intel_corei7_64-poky-
> linux/openssl-qat/0.4.9-009-r0/temp/log.do_patch.25068)
> ERROR: Task
> /usr/local/dev/yocto/master-cur/meta-intel/meta-isg/common/recipes-
> extended/openssl-qat/openssl-qat_0.4.9-009.bb:do_patch
> (/usr/local/dev/yocto/master-cur/meta-intel/meta-isg/common/recipes-
> extended/openssl-qat/openssl-qat_0.4.9-009.bb:do_patch)
> failed with exit code '1'
>

It is recommended to cleanup build for zlib-qat and openssl-qat at least once after applying 
these patches if you have a build from before when this change is being made available. Then after that, this error 
should not come even on incremental builds.

Right now in your case, build will directly start from do_patch which is trying to apply qat patch and this patch 
already applied with do_prepatch task (using 'patch -p1' command in the recipe before these patches) which was 
being executed before do_patch. It won't execute prepatch again (since it has been removed) and hence the error.

Can you please try cleaning up zlib-qat/opensl-qat first?

Thanks,
Rahul

> 
> > Please merge in master if these looks ok.
> >
> > Thanks
> >
> > Rahul Kumar Gupta (2):
> >   meta-isg: zlib-qat: fix for unpack and patch error
> >   meta-isg: openssl-qat: fix for patch error
> >
> >  .../recipes-extended/openssl-qat/openssl-qat.inc   | 37 +++++++++++++--
> -----
> >  .../zlib-qat/zlib-qat_0.4.7-002.bb                 | 40 ++++++++++++++--------
> >  2 files changed, 51 insertions(+), 26 deletions(-)
> >



More information about the meta-intel mailing list