]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
icu: Workaround buildpaths QA check, if TMPDIR is /build/tmp
authorJörg Sommer <joerg.sommer@navimatix.de>
Sat, 28 Mar 2026 21:04:18 +0000 (22:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Apr 2026 09:56:25 +0000 (10:56 +0100)
commit33e52b9e8fcdfd4ba72b12073ddb96f12cef69fa
tree3597818832f1b3a96448b42fb68e366c5ade8e5d
parentf9acaf1c130220859150bb4c0a0635fca2ad8487
icu: Workaround buildpaths QA check, if TMPDIR is /build/tmp

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. This triggers the QA check *buildpaths*. To work around
this, slightly modify the string in the source code.

% 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>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/icu/icu/mangle-build-tmp.patch [new file with mode: 0644]
meta/recipes-support/icu/icu_78.3.bb