* [PATCH] icu: Fix 'buildpaths' QA error
@ 2024-08-31 13:01 Niko Mauno
2024-09-01 10:55 ` [OE-core] " Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Niko Mauno @ 2024-08-31 13:01 UTC (permalink / raw)
To: openembedded-core; +Cc: Niko Mauno
Add stripping of STAGING_DIR_NATIVE during target/nativesdk specific
do_install, which mitigates following BitBake failure:
ERROR: icu-75-1-r0 do_package_qa: QA Issue: File /usr/lib/icu/75.1/pkgdata.inc in package icu-dev contains reference to TMPDIR [buildpaths]
ERROR: icu-75-1-r0 do_package_qa: Fatal QA errors were found, failing task.
While doing so, we also drop HOSTTOOLS_DIR stripping, as it's value
does not appear in the content of either file that are manipulated
here.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
---
meta/recipes-support/icu/icu_75-1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-support/icu/icu_75-1.bb b/meta/recipes-support/icu/icu_75-1.bb
index 8f7f5e6cc7..9922469672 100644
--- a/meta/recipes-support/icu/icu_75-1.bb
+++ b/meta/recipes-support/icu/icu_75-1.bb
@@ -60,7 +60,7 @@ remove_build_host_references() {
sed -i \
-e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
-e 's|${DEBUG_PREFIX_MAP}||g' \
- -e 's:${HOSTTOOLS_DIR}/::g' \
+ -e 's:${STAGING_DIR_NATIVE}::g' \
${D}/${libdir}/${BPN}/${@icu_install_folder(d)}/Makefile.inc \
${D}/${libdir}/${BPN}/${@icu_install_folder(d)}/pkgdata.inc
}
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [OE-core] [PATCH] icu: Fix 'buildpaths' QA error
2024-08-31 13:01 [PATCH] icu: Fix 'buildpaths' QA error Niko Mauno
@ 2024-09-01 10:55 ` Richard Purdie
2024-09-01 17:24 ` Niko Mauno
0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2024-09-01 10:55 UTC (permalink / raw)
To: niko.mauno, openembedded-core
On Sat, 2024-08-31 at 16:01 +0300, Niko Mauno via
lists.openembedded.org wrote:
> Add stripping of STAGING_DIR_NATIVE during target/nativesdk specific
> do_install, which mitigates following BitBake failure:
>
> ERROR: icu-75-1-r0 do_package_qa: QA Issue: File
> /usr/lib/icu/75.1/pkgdata.inc in package icu-dev contains reference
> to TMPDIR [buildpaths]
> ERROR: icu-75-1-r0 do_package_qa: Fatal QA errors were found,
> failing task.
>
> While doing so, we also drop HOSTTOOLS_DIR stripping, as it's value
> does not appear in the content of either file that are manipulated
> here.
>
> Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
> ---
> meta/recipes-support/icu/icu_75-1.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Why aren't we seeing this issue in automated test?
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [OE-core] [PATCH] icu: Fix 'buildpaths' QA error
2024-09-01 10:55 ` [OE-core] " Richard Purdie
@ 2024-09-01 17:24 ` Niko Mauno
0 siblings, 0 replies; 3+ messages in thread
From: Niko Mauno @ 2024-09-01 17:24 UTC (permalink / raw)
To: openembedded-core, Richard Purdie
On 9/1/24 13:55, Richard Purdie wrote:
> On Sat, 2024-08-31 at 16:01 +0300, Niko Mauno via
> lists.openembedded.org wrote:
>> Add stripping of STAGING_DIR_NATIVE during target/nativesdk specific
>> do_install, which mitigates following BitBake failure:
>>
>> ERROR: icu-75-1-r0 do_package_qa: QA Issue: File
>> /usr/lib/icu/75.1/pkgdata.inc in package icu-dev contains reference
>> to TMPDIR [buildpaths]
>> ERROR: icu-75-1-r0 do_package_qa: Fatal QA errors were found,
>> failing task.
>>
>> While doing so, we also drop HOSTTOOLS_DIR stripping, as it's value
>> does not appear in the content of either file that are manipulated
>> here.
>>
>> Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
>> ---
>> meta/recipes-support/icu/icu_75-1.bb | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Why aren't we seeing this issue in automated test?
I should have known better, in a new workspace I was unable to reproduce
to issue. Apologies for the noise.
-Niko
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-01 17:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-31 13:01 [PATCH] icu: Fix 'buildpaths' QA error Niko Mauno
2024-09-01 10:55 ` [OE-core] " Richard Purdie
2024-09-01 17:24 ` Niko Mauno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox