The recipe fetches from multiple repositories, however the SRCREV_FORMAT
variable wasn't set. Due to this the recipe couldn't reuse sstate artifacts from
a mirror, only threw warnings:
WARNING: gosu-1.14-r0 do_package_qa_setscene: ExpansionError('SRCPV',
'${@bb.fetch2.get_srcrev(d)}', FetchError('The SRCREV_FORMAT variable
must be set when multiple SCMs are used.\nThe SCMs are:
git://github.com/tianon/gosu.git;branch=master;protocol=https
git://github.com/opencontainers/runc;name=runc;branch=main;protocol=https',
None))
WARNING: Setscene task
(/cocto/kirkstone-next/meta-openembedded/meta-oe/recipes-support/
gosu/gosu_1.14.bb:do_package_qa_setscene) failed with exit code '1' - real
task
will be run instead
Signed-off-by: Gyorgy Sarvari <[email protected]>
---
meta-oe/recipes-support/gosu/gosu_1.14.bb | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-support/gosu/gosu_1.14.bb
b/meta-oe/recipes-support/gosu/gosu_1.14.bb
index 624adf3099..f354f67194 100644
--- a/meta-oe/recipes-support/gosu/gosu_1.14.bb
+++ b/meta-oe/recipes-support/gosu/gosu_1.14.bb
@@ -5,13 +5,15 @@ LICENSE = "Apache-2.0 "
LIC_FILES_CHKSUM =
"file://src/${GO_IMPORT}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
GO_IMPORT = "github.com/tianon/gosu"
-SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https \
+SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https;name=core \
git://github.com/opencontainers/runc;name=runc;destsuffix=${S}/src/github.com/opencontainers/runc;branch=main;protocol=https
\
"
-SRCREV = "9f7cd138a1ebc0684d43ef6046bf723978e8741f"
+SRCREV_core = "9f7cd138a1ebc0684d43ef6046bf723978e8741f"
SRCREV_runc = "d7f7b22a85a2387557bdcda125710c2506f8d5c5"
inherit go
+SRCREV_FORMAT = "core"
+
do_compile:prepend() {
# New Go versions has Go modules support enabled by default
export GO111MODULE=off
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122645):
https://lists.openembedded.org/g/openembedded-devel/message/122645
Mute This Topic: https://lists.openembedded.org/mt/116768136/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-