Review request 0/1: python3-awscrt: Fix build with usrmerge [LIN1021-1466]
Summary: python3-awscrt: Fix build with usrmerge
Tech Review: Qi
Gatekeeper: Hongxu
Lockdown Approval (if needed):
Branch Tag: WRLINUX_10_21_LTS
IP Statement (form link or license statement, usually automated):
Crypto URL(s) (if needed): see https://jive.windriver.com/docs/DOC-80428
Parent Template (where applicable):
====== Sanity Issues: (DO NOT EDIT this section) ======
====== Impacted area Impact y/n ======
docs/tech-pubs n tests n build system n host dependencies n RPM/packaging n toolchain n kernel code n user code n configuration files n target configuration n Applicable to Yocto/upstream n New Kernel Warnings n Other n
====== Comments (indicate scope for each "y" above) ======
* Conditions of submission
* Documentation Changes/Release Notes
= Doc changes
= Release notes
* Git logs
[meta-iot-cloud]
commit 2990cda923526dd2745f7ef576f7b11d1ea3156b
Author: Robert Yang <[email protected]> Date: Mon Aug 23 04:08:23 2021 -0700
python3-awscrt: Fix build with usrmerge
Issue: LIN1021-1466
Fixed:
DISTRO_FEATURES_append = ' usrmerge'
$ bitbake python3-awscrt
CMake Error at CMakeLists.txt:191 (add_library):
Target "s2n" links to target "LibCrypto::Crypto" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
(LOCAL REV: NOT UPSTREAM) - Send to upstream on 20210914
====== Testing ======
* Commands
WRTEMPLATE = "feature/usrmerge feature/aws"
$ bitbake python3-awscrt
* Expected Results
Works well
* Applicable to
* Tested configurations
Arch built boot boardname
-------------------------------------
MIPS n n MIPS64 n n MIPS64n32 n n ARM32 n n ARM64 n n x86 n n x86_64 n n PPC n n PPC64 n n SPARC64 n n
====== Reviewer Checklist ======
[Submitters: make sure that your review doesn't trigger any checkmarks!]
http://lxgit.wrs.com/cgit/bin.git/tree/etc/review.txt
====== PULLs ======
* PULLs
* WRH-PULLs ("wrh -m" can merge it):
PATCH 1/1 python3-awscrt: Fix build with usrmerge
Issue: LIN1021-1466
Fixed:DISTRO_FEATURES_append = ' usrmerge'
$ bitbake python3-awscrt
CMake Error at CMakeLists.txt:191 (add_library):
Target "s2n" links to target "LibCrypto::Crypto" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
(LOCAL REV: NOT UPSTREAM) - Send to upstream on 20210914
--- recipes-aws/python/python3-awscrt_0.10.8.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
recipes-aws/python/python3-awscrt_0.10.8.bb +1 -2
@@ -28,8 +28,7 @@ SRC_URI[sha256sum] = "c6859e35c57922f175b587e02bfb662ce30a06c9aa688a7303112c91e2 do_configure_prepend() { sed -i \ -e 's:AWS_LIBCRYPTO_INSTALL = None:AWS_LIBCRYPTO_INSTALL = "${RECIPE_SYSROOT}/usr":' \ + -e 's:/lib/:/${baselib}/:' \ ${S}/setup.py - if !${@bb.utils.contains('DISTRO_FEATURES','usrmerge','true','false',d)}; then - sed -i -e 's:/lib/:${libdir}/:' ${S}/setup.py fi }
Signature · 1 line
2.31.1