Hi All,
I am using below yocto verison & working on imx93:
DISTRO = "poky"
DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
DISTRO_VERSION = "4.2.2"
DISTRO_CODENAME = "mickledore"
I am trying to compile se051x (https://www.nxp.com/products/security-and-authentication/authentication/edgelock-se051-proven-easy-t...) using yocto and I didn't find 04.05.00 bb file so I tried using 04.03.00 which is not compile-able and throwing lot of errors.
I fixed few error but it is still showing me errors:
WARNING: se050x-04.05.00-r0 do_package_qa: QA Issue: File /home/root/se05x_mw_v04.05.00/simw-top/binaries/pkcs11/T1oI2C-libsss_pkcs11.so in package se050x contains reference to TMPDIR
File /home/root/se05x_mw_v04.05.00/simw-top/sss/plugin/pkcs11/bin/libsss_pkcs11.so in package se050x contains reference to TMPDIR [buildpaths]
ERROR: se050x-04.05.00-r0 do_package_qa: QA Issue: se050x rdepends on openssl-dev [dev-deps]
ERROR: se050x-04.05.00-r0 do_package_qa: QA Issue: /usr/local/bin/nxp_iot_agent_demo contained in package se050x requires libcore_json.so()(64bit), but no providers found in RDEPENDS:se050x? [file-rdeps]
WARNING: se050x-04.05.00-r0 do_package_qa: QA Issue: se050x: found library in wrong location: /usr/local/lib/libpaho-mqtt3cs.so.1
se050x: found library in wrong location: /usr/local/lib/libex_common.so
se050x: found library in wrong location: /usr/local/lib/libpaho-mqtt3as.so
se050x: found library in wrong location: /usr/local/lib/libpaho-mqtt3a.so.1.3.5
se050x: found library in wrong location: /usr/local/lib/libpaho-mqtt3as.so.1
se050x: found library in wrong location: /usr/local/lib/libpaho-mqtt3c.so
se050x: found library in wrong location: /usr/local/lib/liba7x_utils.so
se050x: found library in wrong location: /usr/local/lib/libmwlog.so
se050x: found library in wrong location: /usr/local/lib/libsss_pkcs11.so
se050x: found library in wrong location: /usr/local/lib/libSSS_APIs.so
se050x: found library in wrong location: /usr/local/lib/libsss_engine.so
se050x: found library in wrong location: /usr/local/lib/libpaho-mqtt3c.so.1
se050x: found library in wrong location: /usr/local/lib/libpaho-mqtt3a.so.1
se050x: found library in wrong location: /usr/local/lib/libsssapisw.so
se050x: found library in wrong location: /usr/local/lib/libpaho-mqtt3cs.so.1.3.5
se050x: found library in wrong location: /usr/local/lib/libnxp_iot_agent.so
se050x: found library in wrong location: /usr/local/lib/libse05x.so
se050x: found library in wrong location: /usr/local/lib/libpaho-mqtt3as.so.1.3.5
se050x: found library in wrong location: /usr/local/lib/libpaho-mqtt3c.so.1.3.5
se050x: found library in wrong location: /usr/local/lib/libsmCom.so
se050x: found library in wrong location: /usr/local/lib/libpaho-mqtt3cs.so
se050x: found library in wrong location: /usr/local/lib/libSEMS_LITE_AGENT_APIs.so
se050x: found library in wrong location: /usr/local/lib/libpaho-mqtt3a.so
se050x: found library in wrong location: /usr/local/lib/libnxp_iot_agent_common.so [libdir]
ERROR: se050x-04.05.00-r0 do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/nxg04383/enphase/imx_build/imx-build/tmp/work/armv8a-poky-linux/se050x/04.05.00-r0/temp/log.do_package_qa.2332881
ERROR: Task (/home/nxg04383/enphase/imx_build/sources/meta-imx/meta-bsp/recipes-security/se050/se050x_04.05.00.bb:do_package_qa) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1587 tasks of which 1580 didn't need to be rerun and 1 failed.
Please do let us know if somebody has already compiled or any info to fix above errors.
Regards,
Manish
已解决! 转到解答。
Hi @Kan_Li ,
Thanks so much for your reply.
Below is the .bb which I took it from package itself and there is no difference between above snapshot (which you have shared) and this one. However, I am seeing the issues during do_package_qa() stage.
Regards,
MKS
Hi @nxg04383 ,
Maybe there is some misunderstanding between us. You may add the following line in the bb file, right in do_install_append():
rm -f ${D}/home/root/${NXP-PLUG-TRUST-MW}/simw-top/sss/plugin/pkcs11/bin/libsss_pkcs11.so, just similar as what we do for libsss_engine.so.
Hope that makes sense,
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi @nxg04383 ,
The most simple way is adding additional line in the bb file for libsss_pkcs11.so , as the same for libsss_engine.so, please kindly refer to the following for more details.
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------