Thanks, I can reproduce the issue and understand the solution now. 

Best Regards, 

Zhenhua

> -----Original Message-----
> From: Otavio Salvador [mailto:otavio.salva...@ossystems.com.br]
> Sent: Wednesday, September 21, 2016 5:57 PM
> To: Zhenhua Luo <zhenhua....@nxp.com>
> Cc: Otavio Salvador <ota...@ossystems.com.br>; meta-freescale Mailing List
> <meta-freescale@yoctoproject.org>; White Weng <white.w...@nxp.com>;
> Jun Zhu <jun...@nxp.com>; Lauren Post <lauren.p...@nxp.com>
> Subject: Re: [meta-freescale PATCH 3/3] qoriq-base.inc: Use 'fsl-dynamic-
> packagearch' class
> 
> On Tue, Sep 20, 2016 at 3:25 AM, Zhenhua Luo <zhenhua....@nxp.com> wrote:
> >> Without this, following error happens:
> >>
> >> ERROR: openssl-qoriq-1.0.2h-r0 do_package_write_rpm: If the above
> >> message is too much, the simpler version is you're advised to wipe
> >> out tmp and rebuild (reusing sstate is fine). That will likely fix things 
> >> in most
> (but not all) cases.
> >> ERROR: openssl-qoriq-1.0.2h-r0 do_package_write_rpm: Function failed:
> >> sstate_task_postfunc
> >> ERROR: Logfile of failure stored in:
> >> .../build-wayland/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/openssl
> >> -
> >> qoriq/1.0.2h-r0/temp/log.do_package_write_rpm.5308
> >> recipe openssl-qoriq-1.0.2h-r0: task do_package_write_rpm: Failed
> >> ERROR: Task
> >> (.../sources/meta-freescale/recipes-connectivity/openssl/openssl-
> >> qoriq_1.0.2h.bb:do_package_write_rpm)
> >> failed with exit code '1'
> > [Zhenhua Luo] I still don't know why MACHINE_SOCARCH is needed for
> openssl and cryptodev, what's the negative impaction without this definition? 
> I
> didn't meet the build error when openssl-qoriq is built for ls1021atwr, may I
> know how the issue can be reproduced?
> 
> do:
> 
> MACHINE=imx7dsabresd bitbake openssl && MACHINE=ls1021atwr bitbake
> openssl
> 
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to