From: Jörg Sommer <[email protected]>

The file udatatst.c really contains the string /build/tmp. When building
with kas-container the build directory is /build and hence the TMPDIR
becomes /build/tmp.

% grep -n -C2 /build/tmp source/test/cintltst/udatatst.c
136-    char* path=(char*)malloc(sizeof(char) * (strlen(ctest_dataOutDir())
137-                                           + strlen(U_ICUDATA_NAME)
138:                                           + strlen("/build/tmp/..")+1 ) );
139-
140-    char        *icuDataFilePath = 0;

Signed-off-by: Jörg Sommer <[email protected]>
---
 meta/recipes-support/icu/icu_78.2.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-support/icu/icu_78.2.bb 
b/meta/recipes-support/icu/icu_78.2.bb
index 1e99803105..b2e3e1a588 100644
--- a/meta/recipes-support/icu/icu_78.2.bb
+++ b/meta/recipes-support/icu/icu_78.2.bb
@@ -122,6 +122,9 @@ SRC_URI[data.sha256sum] = 
"582968cf174c9498b2046b4f4e7f786def5f18222bd8d98432d7a
 UPSTREAM_CHECK_REGEX = "releases/tag/release-(?P<pver>(?!.+rc).+)"
 GITHUB_BASE_URI = "https://github.com/unicode-org/icu/releases";
 
+# The file source/test/cintltst/udatatst.c contains the string "/build/tmp/.."
+INSANE_SKIP:${PN}-src += "${@'buildpaths' if d.getVar('TMPDIR') == 
'/build/tmp' else ''}"
+
 EXTRA_OECONF:append:libc-musl = " ac_cv_func_strtod_l=no"
 
 PACKAGECONFIG ?= ""
-- 
2.53.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233370): 
https://lists.openembedded.org/g/openembedded-core/message/233370
Mute This Topic: https://lists.openembedded.org/mt/118379538/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to