public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] icu: Skip buildpaths QA check, if TMPDIR is /build/tmp
@ 2026-03-18  8:21 Jörg Sommer
  2026-03-25 12:27 ` [OE-core] " Ross Burton
  0 siblings, 1 reply; 7+ messages in thread
From: Jörg Sommer @ 2026-03-18  8:21 UTC (permalink / raw)
  To: openembedded-core, joerg.sommer; +Cc: Jörg Sommer

From: Jörg Sommer <joerg.sommer@navimatix.de>

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 <joerg.sommer@navimatix.de>
---
 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



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-03-28 21:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-18  8:21 [PATCH] icu: Skip buildpaths QA check, if TMPDIR is /build/tmp Jörg Sommer
2026-03-25 12:27 ` [OE-core] " Ross Burton
2026-03-25 17:34   ` joerg.sommer
     [not found]   ` <18A0260B1ECE6409.55659@lists.openembedded.org>
2026-03-25 20:03     ` Jörg Sommer
2026-03-26 12:50       ` Ross Burton
2026-03-28 21:04         ` [PATCH v2] icu: Workaround " Jörg Sommer
2026-03-28 21:15           ` Patchtest results for " patchtest

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox