diff mbox series

[meta-networking,scarthgap] mbedtls: remove tag from SRC_URI to avoid fetcher conflict

Message ID 20250801125113.3324-1-pratikmanvar09@gmail.com
State New
Headers show
Series [meta-networking,scarthgap] mbedtls: remove tag from SRC_URI to avoid fetcher conflict | expand

Commit Message

Pratik Manvar Aug. 1, 2025, 12:51 p.m. UTC
From: Pratik Manvar <pratik.manvar@ifm.com>

This fixes a fetcher error caused by conflicting SRCREV & tag values,
even when they point to the same commit.

Error logs:
| # ERROR: ExpansionError during parsing meta-openembedded/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb
| # bb.data_smart.ExpansionError: Failure expanding variable fetcher_hashes_dummyfunc[vardepvalue], expression was ${@bb.fetch.get_hashvalue(d)} which triggered exception FetchError: Fetcher failure: Conflicting revisions (c765c831e5c2a0971410692f92f7a81d6ec65ec2 from SRCREV and v3.6.4 from the url) found, please specify one valid value
| # The variable dependency chain for the failure is: fetcher_hashes_dummyfunc[vardepvalue]

Signed-off-by: Florian Glaser <florian.glaser@ifm.com>
Signed-off-by: Pratik Manvar <pratik.manvar@ifm.com>
---
 meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb
index 88b50a406b..a0dc6a689a 100644
--- a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb
+++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb
@@ -23,7 +23,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=379d5819937a6c2f1ef1630d341e026d"
 SECTION = "libs"
 
 S = "${WORKDIR}/git"
-SRC_URI = "gitsm://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=mbedtls-3.6;tag=v${PV} \
+SRC_URI = "gitsm://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=mbedtls-3.6 \
            file://run-ptest \
            "