$ bitbake icu
...
ERROR: QA Issue: File /usr/lib64/icu/76.1/pkgdata.inc in package icu-dev
contains reference to TMPDIR [buildpaths]
...
$ vim tmp/work/corei7-64-wrs-linux/icu/76-1/image/usr/lib64/icu/76.1/pkgdata.inc
...
INSTALL_CMD=path-to-build/tmp/work/corei7-64-wrs-linux/icu/76-1/recipe-sysroot-native/usr/bin/install
-c
...
The autoconf walked $PATH to find INSTALL_CMD, and commit [icu:
remove host references in nativesdk to fix reproducibility] [1]
removed prefix ${HOSTTOOLS_DIR}/ from pkgdata.inc.
If setting INSTALL_CMD with recipe-sysroot-native's install,
the buildpaths QA error occurs.
Explicitly set INSTALL_CMD with hosttools's install
[1]
https://github.com/openembedded/openembedded-core/commit/dc6306883cc2c7d4d98d595442e5bf4037a160c5
Signed-off-by: Hongxu Jia <[email protected]>
---
meta/recipes-support/icu/icu_76-1.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-support/icu/icu_76-1.bb
b/meta/recipes-support/icu/icu_76-1.bb
index 08dabde3ae..47847a6903 100644
--- a/meta/recipes-support/icu/icu_76-1.bb
+++ b/meta/recipes-support/icu/icu_76-1.bb
@@ -132,6 +132,8 @@ GITHUB_BASE_URI =
"https://github.com/unicode-org/icu/releases"
EXTRA_OECONF:append:libc-musl = " ac_cv_func_strtod_l=no"
+EXTRA_OECONF:append = " ac_cv_path_install='${HOSTTOOLS_DIR}/install -c'"
+
PACKAGECONFIG ?= ""
PACKAGECONFIG[make-icudata] = ",,,"
--
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#209160):
https://lists.openembedded.org/g/openembedded-core/message/209160
Mute This Topic: https://lists.openembedded.org/mt/110341397/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-