Skip to contentSkip to conversation

mbedtls: remove tag from SRC_URI to avoid fetcher conflict

PATCH New Pratik Manvar 1 participant 1 message Aug 19, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mbedtls: remove tag from SRC_URI to avoid fetcher conflict

From: Pratik Manvar <[email protected]>

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]
---
 meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb +1 -1
index 88b50a406b..a0dc6a689a 100644
@@ -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 \
            "
 
Signature · 1 line
2.25.1