diff mbox series

[meta-java,dunfell] cacao-initial-native: exclude BB_NUMBER_THREADS from sstate hash

Message ID 20220907171023.31485-1-virendra.thakur@kpit.com
State New
Headers show
Series [meta-java,dunfell] cacao-initial-native: exclude BB_NUMBER_THREADS from sstate hash | expand

Commit Message

Virendra Kumar Thakur Sept. 7, 2022, 5:10 p.m. UTC
From: Virendra Thakur <virendrak@kpit.com>

The sstate-cache for cacao-initial-native is not shareable across
multiple machines because the parallelisation configuration of Bitbake
is being embedded into the sstate hash of cacao-initial-native.

Exclude BB_NUMBER_THREADS from the do_install sstate hashing to avoid
this issue.

Commit message adapted from a5257d41f32812bc9426183cc8d2b6f07617b0d5.

Signed-off-by: Virendra Thakur <virendrak@kpit.com>
---
 recipes-core/cacao/cacao-initial-native_0.98.bb | 2 ++
 1 file changed, 2 insertions(+)

--
2.17.1

This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.

Comments

venkatakoteswararao talluri Sept. 8, 2022, 11:01 a.m. UTC | #1
Hi All,

I'm trying to build sysbench_1.0.20.bb on QCS610 codebase but I'm getting
following error so can you please help me to solve this issue.
Image:qti-multimedia-image
Target:qcs610-odk-64

Error log:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'luajit' (but
/var/lib/jenkins/workspace/QCS610_OpenQ_Linux_1.x_Internal_/qcs610-le-1-0_ap_standard_oem/apps_proc/poky/meta-qti-bsp/recipes-products/images/qti-multimedia-image.bb
RDEPENDS on or otherwise requires it)
luajit was skipped: incompatible with host aarch64-oe-linux (not in
COMPATIBLE_HOST)
NOTE: Runtime target 'luajit' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['luajit']
ERROR: Required build target 'qti-multimedia-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['qti-multimedia-image', 'luajit']


Please find the attached sysbench_1.0.20.bb file.


Thanks,

Venkata Talluri


On Wed, Sep 7, 2022 at 10:40 PM Virendra Thakur via lists.openembedded.org
<virendra.thakur=kpit.com@lists.openembedded.org> wrote:

> From: Virendra Thakur <virendrak@kpit.com>
>
> The sstate-cache for cacao-initial-native is not shareable across
> multiple machines because the parallelisation configuration of Bitbake
> is being embedded into the sstate hash of cacao-initial-native.
>
> Exclude BB_NUMBER_THREADS from the do_install sstate hashing to avoid
> this issue.
>
> Commit message adapted from a5257d41f32812bc9426183cc8d2b6f07617b0d5.
>
> Signed-off-by: Virendra Thakur <virendrak@kpit.com>
> ---
>  recipes-core/cacao/cacao-initial-native_0.98.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-core/cacao/cacao-initial-native_0.98.bb
> b/recipes-core/cacao/cacao-initial-native_0.98.bb
> index 8432456..1bf822d 100644
> --- a/recipes-core/cacao/cacao-initial-native_0.98.bb
> +++ b/recipes-core/cacao/cacao-initial-native_0.98.bb
> @@ -40,5 +40,7 @@ do_configure:append() {
>    sed -i -e "s|exec cacao \\$|exec cacao-initial \\$|" src/scripts/
> java.in
>  }
>
> +do_compile[vardepsexclude] += "BB_NUMBER_THREADS"
> +
>  SRC_URI[md5sum] = "8b8907c8b925761c9410bcadb9705346"
>  SRC_URI[sha256sum] =
> "cb9363add825cedf77764fc49a223aaf43f0a9f485b711ba8c92f16b13fff188"
> --
> 2.17.1
>
> This message contains information that may be privileged or confidential
> and is the property of the KPIT Technologies Ltd. It is intended only for
> the person to whom it is addressed. If you are not the intended recipient,
> you are not authorized to read, print, retain copy, disseminate,
> distribute, or use this message or any part thereof. If you receive this
> message in error, please notify the sender immediately and delete all
> copies of this message. KPIT Technologies Ltd. does not accept any
> liability for virus infected mails.
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#98690):
> https://lists.openembedded.org/g/openembedded-devel/message/98690
> Mute This Topic: https://lists.openembedded.org/mt/93529818/7150353
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> venkattalluri5559@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
venkatakoteswararao talluri Sept. 9, 2022, 7:21 a.m. UTC | #2
Hi All,
Can you please respond on this.

On Thu, Sep 8, 2022, 4:31 PM venkatakoteswararao talluri via
lists.openembedded.org <venkattalluri5559=gmail.com@lists.openembedded.org>
wrote:

> Hi All,
>
> I'm trying to build sysbench_1.0.20.bb on QCS610 codebase but I'm getting
> following error so can you please help me to solve this issue.
> Image:qti-multimedia-image
> Target:qcs610-odk-64
>
> Error log:
>
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing RPROVIDES 'luajit' (but /var/lib/jenkins/workspace/QCS610_OpenQ_Linux_1.x_Internal_/qcs610-le-1-0_ap_standard_oem/apps_proc/poky/meta-qti-bsp/recipes-products/images/qti-multimedia-image.bb RDEPENDS on or otherwise requires it)
> luajit was skipped: incompatible with host aarch64-oe-linux (not in COMPATIBLE_HOST)
> NOTE: Runtime target 'luajit' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['luajit']
> ERROR: Required build target 'qti-multimedia-image' has no buildable providers.
> Missing or unbuildable dependency chain was: ['qti-multimedia-image', 'luajit']
>
>
> Please find the attached sysbench_1.0.20.bb file.
>
>
> Thanks,
>
> Venkata Talluri
>
>
> On Wed, Sep 7, 2022 at 10:40 PM Virendra Thakur via lists.openembedded.org
> <virendra.thakur=kpit.com@lists.openembedded.org> wrote:
>
>> From: Virendra Thakur <virendrak@kpit.com>
>>
>> The sstate-cache for cacao-initial-native is not shareable across
>> multiple machines because the parallelisation configuration of Bitbake
>> is being embedded into the sstate hash of cacao-initial-native.
>>
>> Exclude BB_NUMBER_THREADS from the do_install sstate hashing to avoid
>> this issue.
>>
>> Commit message adapted from a5257d41f32812bc9426183cc8d2b6f07617b0d5.
>>
>> Signed-off-by: Virendra Thakur <virendrak@kpit.com>
>> ---
>>  recipes-core/cacao/cacao-initial-native_0.98.bb | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/recipes-core/cacao/cacao-initial-native_0.98.bb
>> b/recipes-core/cacao/cacao-initial-native_0.98.bb
>> index 8432456..1bf822d 100644
>> --- a/recipes-core/cacao/cacao-initial-native_0.98.bb
>> +++ b/recipes-core/cacao/cacao-initial-native_0.98.bb
>> @@ -40,5 +40,7 @@ do_configure:append() {
>>    sed -i -e "s|exec cacao \\$|exec cacao-initial \\$|" src/scripts/
>> java.in
>>  }
>>
>> +do_compile[vardepsexclude] += "BB_NUMBER_THREADS"
>> +
>>  SRC_URI[md5sum] = "8b8907c8b925761c9410bcadb9705346"
>>  SRC_URI[sha256sum] =
>> "cb9363add825cedf77764fc49a223aaf43f0a9f485b711ba8c92f16b13fff188"
>> --
>> 2.17.1
>>
>> This message contains information that may be privileged or confidential
>> and is the property of the KPIT Technologies Ltd. It is intended only for
>> the person to whom it is addressed. If you are not the intended recipient,
>> you are not authorized to read, print, retain copy, disseminate,
>> distribute, or use this message or any part thereof. If you receive this
>> message in error, please notify the sender immediately and delete all
>> copies of this message. KPIT Technologies Ltd. does not accept any
>> liability for virus infected mails.
>>
>>
>>
>>
> --
> Venkata Talluri
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#98720):
> https://lists.openembedded.org/g/openembedded-devel/message/98720
> Mute This Topic: https://lists.openembedded.org/mt/93529818/7150353
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> venkattalluri5559@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/recipes-core/cacao/cacao-initial-native_0.98.bb b/recipes-core/cacao/cacao-initial-native_0.98.bb
index 8432456..1bf822d 100644
--- a/recipes-core/cacao/cacao-initial-native_0.98.bb
+++ b/recipes-core/cacao/cacao-initial-native_0.98.bb
@@ -40,5 +40,7 @@  do_configure:append() {
   sed -i -e "s|exec cacao \\$|exec cacao-initial \\$|" src/scripts/java.in
 }

+do_compile[vardepsexclude] += "BB_NUMBER_THREADS"
+
 SRC_URI[md5sum] = "8b8907c8b925761c9410bcadb9705346"
 SRC_URI[sha256sum] = "cb9363add825cedf77764fc49a223aaf43f0a9f485b711ba8c92f16b13fff188"