Skip to contentSkip to conversation

cacao-initial-native: exclude BB_NUMBER_THREADS from sstate hash

PATCH In review Virendra Thakur 2 participants 3 messages Sep 7, 2022 – Sep 9, 2022 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cacao-initial-native: exclude BB_NUMBER_THREADS from sstate hash

From: Virendra Thakur <[email protected]>

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.

---
 recipes-core/cacao/cacao-initial-native_0.98.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-core/cacao/cacao-initial-native_0.98.bb +2 -0
index 8432456..1bf822d 100644
@@ -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.

#1 lore raw

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

Quoted 54 lines · Virendra Thakur via lists.openembedded.org

From: Virendra Thakur <[email protected]>

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.

---
 recipes-core/cacao/cacao-initial-native_0.98.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-core/cacao/cacao-initial-native_0.98.bb +0 -0
index 8432456..1bf822d 100644
@@ -40,5 +40,7 @@ do_configure:append() {
   sed -i -e "s|exec cacao \\$|exec cacao-initial \\$|" src/scripts/

java.in
}

recipes-core/cacao/cacao-initial-native_0.98.bb +2 -0
+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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Hi All,
Can you please respond on this.

Quoted 88 lines · venkatakoteswararao talluri via lists.openembedded.org

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

Quoted 34 lines · Virendra Thakur via lists.openembedded.org

From: Virendra Thakur <[email protected]>

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.

---
 recipes-core/cacao/cacao-initial-native_0.98.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-core/cacao/cacao-initial-native_0.98.bb +0 -0
index 8432456..1bf822d 100644
@@ -40,5 +40,7 @@ do_configure:append() {
   sed -i -e "s|exec cacao \\$|exec cacao-initial \\$|" src/scripts/

java.in
}

recipes-core/cacao/cacao-initial-native_0.98.bb +2 -0
+do_compile[vardepsexclude] += "BB_NUMBER_THREADS"
+
 SRC_URI[md5sum] = "8b8907c8b925761c9410bcadb9705346"
 SRC_URI[sha256sum] =

"cb9363add825cedf77764fc49a223aaf43f0a9f485b711ba8c92f16b13fff188" --
2.17.1

Quoted 12 lines

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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-