Skip to contentSkip to conversation

mbedtls: fix git fetcher conflict by using SRC_URI.

PATCH In review [email protected] 5 participants 16 messages Aug 15, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mbedtls: fix git fetcher conflict by using SRC_URI.

From: kjlau0112 <[email protected]>

if both SRC_URI & SRCREV specify particular source revision will lead to "Fix Fetcher failure: Conflicting revisions error"

Fix by removing SRCREV and specify expected source revision in SRC_URI by adding revision parmater.

---
 meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb +1 -3
index 88b50a406..2591e2cde 100644
@@ -23,12 +23,10 @@ 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;rev=c765c831e5c2a0971410692f92f7a81d6ec65ec2\
            file://run-ptest \
            "
 
-SRCREV = "c765c831e5c2a0971410692f92f7a81d6ec65ec2"
-
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 inherit cmake update-alternatives ptest
Signature · 1 line
2.34.1
#1 lore raw

Both tag and SRVREV works with latest oe-core/poky master.
And is actually encouraged to be used so that hash is verified against the tag.

I wonder what could be wrong since this is a second patch for this recipe complaining about errors.

Peter

Quoted 47 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Lau, Karn Jye via lists.openembedded.org
Sent: Friday, August 15, 2025 6:11
To: [email protected]
Subject: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

From: kjlau0112 <[email protected]>

if both SRC_URI & SRCREV specify particular source revision will lead to "Fix Fetcher failure: Conflicting revisions error"

Fix by removing SRCREV and specify expected source revision in SRC_URI by adding revision parmater.

---
 meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta- renamed from meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb +0 -0

networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb index 88b50a406..2591e2cde 100644

meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb +0 -0
@@ -23,12 +23,10 @@ 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;rev=c765c831e5c2a0971410692f92f7a81d6ec65ec2\
            file://run-ptest \
            "
meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb +0 -3
-SRCREV = "c765c831e5c2a0971410692f92f7a81d6ec65ec2"
-
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 inherit cmake update-alternatives ptest
--

2.34.1

#2 lore raw

Hi Peter, it may working fine in master branch
but it not working at all at LTS branch for example yocto 5.0 scargapth, I observing our daily build hit into this issue. Thus submitting this patch

KJ
-----Original Message-----
From: Marko, Peter <[email protected]>
Sent: Friday, August 15, 2025 1:53 PM
To: Lau, Karn Jye <[email protected]>; [email protected]
Subject: RE: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Both tag and SRVREV works with latest oe-core/poky master.
And is actually encouraged to be used so that hash is verified against the tag.

I wonder what could be wrong since this is a second patch for this recipe complaining about errors.

Peter

Quoted 49 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Lau, Karn Jye via lists.openembedded.org
Sent: Friday, August 15, 2025 6:11
To: [email protected]
Subject: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

From: kjlau0112 <[email protected]>

if both SRC_URI & SRCREV specify particular source revision will lead to "Fix Fetcher failure: Conflicting revisions error"

Fix by removing SRCREV and specify expected source revision in SRC_URI by adding revision parmater.

---
 meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 4 
+---
 1 file changed, 1 insertion(+), 3 deletions(-)
(quoted diff) +0 -0

a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb b/meta- networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb index 88b50a406..2591e2cde 100644

meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb +0 -0
@@ -23,12 +23,10 @@ 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;rev=c765c831e5c2a0971410692f92f7a81d6ec65ec2\
            file://run-ptest \
            "
meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb +0 -3
-SRCREV = "c765c831e5c2a0971410692f92f7a81d6ec65ec2"
-
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 inherit cmake update-alternatives ptest
--

2.34.1

#3 lore raw

Oops, sorry for missing the scarthgap tag.
This is good patch, I wonder how this got through the testing.

Unfortunately, meta-openembedded LTS branches get updates only once a month so this will be broken trough then next release.

Peter

Quoted 79 lines

-----Original Message-----
From: Lau, Karn Jye <[email protected]>
Sent: Friday, August 15, 2025 8:09
To: Marko, Peter (FT D EU SK BFS1) <[email protected]>; [email protected]
Subject: RE: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Hi Peter, it may working fine in master branch
but it not working at all at LTS branch for example yocto 5.0 scargapth, I observing our daily build hit into this issue.
Thus submitting this patch

KJ
-----Original Message-----
From: Marko, Peter <[email protected]>
Sent: Friday, August 15, 2025 1:53 PM
To: Lau, Karn Jye <[email protected]>; openembedded- [email protected]
Subject: RE: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Both tag and SRVREV works with latest oe-core/poky master.
And is actually encouraged to be used so that hash is verified against the tag.

I wonder what could be wrong since this is a second patch for this recipe complaining about errors.

Peter

Quoted 49 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Lau, Karn Jye via lists.openembedded.org
Sent: Friday, August 15, 2025 6:11
To: [email protected]
Subject: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

From: kjlau0112 <[email protected]>

if both SRC_URI & SRCREV specify particular source revision will lead to "Fix Fetcher failure: Conflicting revisions error"

Fix by removing SRCREV and specify expected source revision in SRC_URI by adding revision parmater.

---
 meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 4
+---
 1 file changed, 1 insertion(+), 3 deletions(-)

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 88b50a406..2591e2cde 100644

meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb +0 -0
@@ -23,12 +23,10 @@ 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;rev=c765c831e5c2a0971410692f92f7a81d6ec65ec2\
            file://run-ptest \
            "
meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb +0 -3
-SRCREV = "c765c831e5c2a0971410692f92f7a81d6ec65ec2"
-
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 inherit cmake update-alternatives ptest
--

2.34.1

#4 lore raw
Quoted 91 lines

-----Original Message-----
From: Marko, Peter (FT D EU SK BFS1)
Sent: Friday, August 15, 2025 8:12
To: Lau, Karn Jye <[email protected]>; openembedded- [email protected]
Subject: RE: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Oops, sorry for missing the scarthgap tag.
This is good patch, I wonder how this got through the testing.

Unfortunately, meta-openembedded LTS branches get updates only once a month so this will be broken trough then next release.

Peter

Quoted 10 lines

-----Original Message-----
From: Lau, Karn Jye <[email protected]>
Sent: Friday, August 15, 2025 8:09
To: Marko, Peter (FT D EU SK BFS1) <[email protected]>; [email protected]
Subject: RE: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Hi Peter, it may working fine in master branch
but it not working at all at LTS branch for example yocto 5.0 scargapth, I

observing

Quoted 62 lines

our daily build hit into this issue.
Thus submitting this patch

KJ
-----Original Message-----
From: Marko, Peter <[email protected]>
Sent: Friday, August 15, 2025 1:53 PM
To: Lau, Karn Jye <[email protected]>; openembedded- [email protected]
Subject: RE: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Both tag and SRVREV works with latest oe-core/poky master.
And is actually encouraged to be used so that hash is verified against the tag.

I wonder what could be wrong since this is a second patch for this recipe complaining about errors.

Peter

Quoted 42 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Lau, Karn Jye via lists.openembedded.org
Sent: Friday, August 15, 2025 6:11
To: [email protected]
Subject: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

From: kjlau0112 <[email protected]>

if both SRC_URI & SRCREV specify particular source revision will lead to "Fix Fetcher failure: Conflicting revisions error"

Fix by removing SRCREV and specify expected source revision in SRC_URI by adding revision parmater.

---
 meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 4
+---
 1 file changed, 1 insertion(+), 3 deletions(-)

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 88b50a406..2591e2cde 100644

meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb +0 -0
@@ -23,12 +23,10 @@ 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;rev=c765c831e5c2a0971410692f92f7a81d6ec65ec2\
            file://run-ptest \
            "
Quoted 1 line
Quoted 1 line
Quoted 1 line

-SRCREV = "c765c831e5c2a0971410692f92f7a81d6ec65ec2"

Could you please keep the SRCREV and just remove the ";tag=v${PV}"? Adding rev to SRC_URI is not according to current standards.

Peter

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"

inherit cmake update-alternatives ptest
--
2.34.1

#5 lore raw

I wonder what changed in scarthgap that this issue suddenly appeared? This does need to be explained before any patches land.

Alex

Quoted 115 lines · Peter Marko via lists.openembedded.org
Quoted 92 lines

-----Original Message-----
From: Marko, Peter (FT D EU SK BFS1)
Sent: Friday, August 15, 2025 8:12
To: Lau, Karn Jye <[email protected]>; openembedded- [email protected]
Subject: RE: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Oops, sorry for missing the scarthgap tag.
This is good patch, I wonder how this got through the testing.

Unfortunately, meta-openembedded LTS branches get updates only once a month so this will be broken trough then next release.

Peter

Quoted 10 lines

-----Original Message-----
From: Lau, Karn Jye <[email protected]>
Sent: Friday, August 15, 2025 8:09
To: Marko, Peter (FT D EU SK BFS1) <[email protected]>; [email protected]
Subject: RE: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Hi Peter, it may working fine in master branch
but it not working at all at LTS branch for example yocto 5.0 scargapth, I

observing

Quoted 62 lines

our daily build hit into this issue.
Thus submitting this patch

KJ
-----Original Message-----
From: Marko, Peter <[email protected]>
Sent: Friday, August 15, 2025 1:53 PM
To: Lau, Karn Jye <[email protected]>; openembedded- [email protected]
Subject: RE: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Both tag and SRVREV works with latest oe-core/poky master.
And is actually encouraged to be used so that hash is verified against the tag.

I wonder what could be wrong since this is a second patch for this recipe complaining about errors.

Peter

Quoted 42 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Lau, Karn Jye via lists.openembedded.org
Sent: Friday, August 15, 2025 6:11
To: [email protected]
Subject: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

From: kjlau0112 <[email protected]>

if both SRC_URI & SRCREV specify particular source revision will lead to "Fix Fetcher failure: Conflicting revisions error"

Fix by removing SRCREV and specify expected source revision in SRC_URI by adding revision parmater.

---
 meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 4
+---
 1 file changed, 1 insertion(+), 3 deletions(-)

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 88b50a406..2591e2cde 100644

meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb +0 -0
@@ -23,12 +23,10 @@ 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;rev=c765c831e5c2a0971410692f92f7a81d6ec65ec2\
            file://run-ptest \
            "
Quoted 1 line
Quoted 1 line
Quoted 1 line

-SRCREV = "c765c831e5c2a0971410692f92f7a81d6ec65ec2"

Could you please keep the SRCREV and just remove the ";tag=v${PV}"? Adding rev to SRC_URI is not according to current standards.

Peter

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"

inherit cmake update-alternatives ptest
--
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#118961): https://lists.openembedded.org/g/openembedded-devel/message/118961
Mute This Topic: https://lists.openembedded.org/mt/114713300/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw

Hi Alex, here the changes

https://github.com/openembedded/meta-openembedded/commit/6dedea42620332987d92044a7e8c8e85fa07c107
when this changes was make, scarthgap already unbuildable unfortunately it get bump further to version 3.6.4 regardless.
https://github.com/openembedded/meta-openembedded/commit/2c9126bd0dd0f62021f5db34d698489bb814ebda

KJ

-----Original Message-----
From: Alexander Kanavin <[email protected]>
Sent: Friday, August 15, 2025 5:08 PM
To: [email protected]
Cc: Lau, Karn Jye <[email protected]>; [email protected]
Subject: Re: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

I wonder what changed in scarthgap that this issue suddenly appeared? This does need to be explained before any patches land.

Alex

Quoted 120 lines · Peter Marko via lists.openembedded.org
Quoted 95 lines

-----Original Message-----
From: Marko, Peter (FT D EU SK BFS1)
Sent: Friday, August 15, 2025 8:12
To: Lau, Karn Jye <[email protected]>; openembedded- [email protected]
Subject: RE: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Oops, sorry for missing the scarthgap tag.
This is good patch, I wonder how this got through the testing.

Unfortunately, meta-openembedded LTS branches get updates only once a month so this will be broken trough then next release.

Peter

Quoted 10 lines

-----Original Message-----
From: Lau, Karn Jye <[email protected]>
Sent: Friday, August 15, 2025 8:09
To: Marko, Peter (FT D EU SK BFS1) <[email protected]>; [email protected]
Subject: RE: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Hi Peter, it may working fine in master branch but it not working at all at LTS branch for example yocto 5.0 scargapth, I

observing

Quoted 65 lines

our daily build hit into this issue.
Thus submitting this patch

KJ
-----Original Message-----
From: Marko, Peter <[email protected]>
Sent: Friday, August 15, 2025 1:53 PM
To: Lau, Karn Jye <[email protected]>; openembedded- [email protected]
Subject: RE: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Both tag and SRVREV works with latest oe-core/poky master.
And is actually encouraged to be used so that hash is verified against the tag.

I wonder what could be wrong since this is a second patch for this recipe complaining about errors.

Peter

Quoted 45 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Lau, Karn Jye via lists.openembedded.org
Sent: Friday, August 15, 2025 6:11
To: [email protected]
Subject: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

From: kjlau0112 <[email protected]>

if both SRC_URI & SRCREV specify particular source revision will lead to "Fix Fetcher failure: Conflicting revisions error"

Fix by removing SRCREV and specify expected source revision in SRC_URI by adding revision parmater.

---
meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb |
4
+---

 1 file changed, 1 insertion(+), 3 deletions(-)

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 88b50a406..2591e2cde 100644
---
a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb +++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4 +++ .bb

(quoted diff) +0 -0
@@ -23,12 +23,10 @@ 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;rev=c765c831e5c2a0971410692f92f7a81d6ec65ec2\
            file://run-ptest \
            "
Quoted 1 line
Quoted 1 line
Quoted 1 line

-SRCREV = "c765c831e5c2a0971410692f92f7a81d6ec65ec2"

Could you please keep the SRCREV and just remove the ";tag=v${PV}"? Adding rev to SRC_URI is not according to current standards.

Peter

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"

inherit cmake update-alternatives ptest
--
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#118961):
https://lists.openembedded.org/g/openembedded-devel/message/118961
Mute This Topic: https://lists.openembedded.org/mt/114713300/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#7 lore raw
Quoted 4 lines · Karn Jye

https://github.com/openembedded/meta-openembedded/commit/6dedea42620332987d92044a7e8c8e85fa07c107
when this changes was make, scarthgap already unbuildable unfortunately it get bump further to version 3.6.4 regardless.
https://github.com/openembedded/meta-openembedded/commit/2c9126bd0dd0f62021f5db34d698489bb814ebda

But how did either change manage to land in scarthgap without failing in testing at any point? Something doesn't compute here, especially because people started reporting the failure only today.

Alex

#8 lore raw
Quoted 8 lines · Alexander Kanavin via lists.openembedded.org
Quoted 4 lines · Karn Jye

https://github.com/openembedded/meta-openembedded/commit/6dedea42620332987d92044a7e8c8e85fa07c107
when this changes was make, scarthgap already unbuildable unfortunately it get bump further to version 3.6.4 regardless.
https://github.com/openembedded/meta-openembedded/commit/2c9126bd0dd0f62021f5db34d698489bb814ebda

But how did either change manage to land in scarthgap without failing in testing at any point? Something doesn't compute here, especially because people started reporting the failure only today.

I can only answer the last part: the merge happened yesterday evening, that's why the reports are coming now.

Quoted 11 lines

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#118966): https://lists.openembedded.org/g/openembedded-devel/message/118966
Mute This Topic: https://lists.openembedded.org/mt/114713300/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#9 lore raw
In reply to Alexander Kanavin
Quoted 14 lines

-----Original Message-----
From: Alexander Kanavin <[email protected]>
Sent: Friday, August 15, 2025 11:30
To: Lau, Karn Jye <[email protected]>
Cc: Marko, Peter (FT D EU SK BFS1) <[email protected]>; [email protected]
Subject: Re: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Quoted 1 line · Karn Jye

https://github.com/openembedded/meta-

openembedded/commit/6dedea42620332987d92044a7e8c8e85fa07c107

Quoted 8 lines
Quoted 3 lines

when this changes was make, scarthgap already unbuildable unfortunately it get bump further to version 3.6.4 regardless.
https://github.com/openembedded/meta-

openembedded/commit/2c9126bd0dd0f62021f5db34d698489bb814ebda

But how did either change manage to land in scarthgap without failing in testing at any point? Something doesn't compute here, especially because people started reporting the failure only today.

This was moved from scathgap-next to scarthgap yesterday, so timing is clear
https://lists.openembedded.org/g/openembedded-devel/message/118942

The successful autobuilder runs are a mystery.
Maybe the code throws only if the sources are not in downloads (e.g. autobuilder has these from master).

Peter

Quoted 2 lines

Alex

#10 lore raw
Quoted 5 lines · Peter

This was moved from scathgap-next to scarthgap yesterday, so timing is clear
https://lists.openembedded.org/g/openembedded-devel/message/118942

The successful autobuilder runs are a mystery.
Maybe the code throws only if the sources are not in downloads (e.g. autobuilder has these from master).

The more worrying scenario is that there was no actual build at any point before this landed, I hope that is not the case.

I don't object to the fixes, just want to find out where the quality gating process failed.

Alex

#11 lore raw

Hi,

Quoted 4 lines · Alexander Kanavin via lists.openembedded.org
Quoted 3 lines · Peter

This was moved from scathgap-next to scarthgap yesterday, so timing is clear
https://lists.openembedded.org/g/openembedded-devel/message/118942

Quoted 8 lines
Quoted 2 lines

The successful autobuilder runs are a mystery.
Maybe the code throws only if the sources are not in downloads (e.g. autobuilder has these from master).

The more worrying scenario is that there was no actual build at any point before this landed, I hope that is not the case.

I don't object to the fixes, just want to find out where the quality gating process failed.

FWIW, most users of mbedtls in the Arm firmware land embed the git repo or sources directly and don't use this recipe. This is problematic for SBOM, CVE security handling etc but this how things are currently. Users are u-boot, trusted-firmware-a, trusted-firmware-m, OP-TEE etc. Thus this recipe may have very few users even when mbedtls is used in a lot of places.

Cheers,

-Mikko

#12 lore raw

Hi folks I resubmitted a new patch , just realized that will be better instead of trying to reply the same thread, again I apologize for unintentionally "spamming" I try the best to contribute, upstream fix and contribution is not the best of my knowledge, I will try improve at my end

KJ

-----Original Message-----
From: Mikko Rapeli <[email protected]>
Sent: Friday, August 15, 2025 5:53 PM
To: [email protected]
Cc: Marko, Peter <[email protected]>; Lau, Karn Jye <[email protected]>; [email protected]
Subject: Re: [oe] [meta-networking][scarthgap][PATCH] mbedtls: fix git fetcher conflict by using SRC_URI.

Hi,

Quoted 5 lines · Alexander Kanavin via lists.openembedded.org
Quoted 4 lines · Peter

This was moved from scathgap-next to scarthgap yesterday, so timing is clear
https://lists.openembedded.org/g/openembedded-devel/message/118942

Quoted 8 lines
Quoted 2 lines

The successful autobuilder runs are a mystery.
Maybe the code throws only if the sources are not in downloads (e.g. autobuilder has these from master).

The more worrying scenario is that there was no actual build at any point before this landed, I hope that is not the case.

I don't object to the fixes, just want to find out where the quality gating process failed.

FWIW, most users of mbedtls in the Arm firmware land embed the git repo or sources directly and don't use this recipe. This is problematic for SBOM, CVE security handling etc but this how things are currently. Users are u-boot, trusted-firmware-a, trusted-firmware-m, OP-TEE etc. Thus this recipe may have very few users even when mbedtls is used in a lot of places.

Cheers,

-Mikko

From: kjlau0112 <[email protected]>

Keep SRCREV and remove tag paramater to avoid
Fix Fetcher failure: Conflicting revisions error

---
 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 88b50a406..91adf6f5a 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 \
            "
 

--
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#118974): https://lists.openembedded.org/g/openembedded-devel/message/118974
Mute This Topic: https://lists.openembedded.org/mt/114715887/6860922
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#13 lore raw

PATCH v2 1/1 mbedtls: drop tag parameter from SRC_URI.

In reply to Marko, Peter

From: kjlau0112 <[email protected]>

[v2] Keep SRCREV and remove tag parameter from SRC_URI as per review feedback.

---
 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 88b50a406..91adf6f5a 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.34.1
#14 lore raw

PATCH v2 1/1 mbedtls: drop tag parameter from SRC_URI.

In reply to [email protected]

From: kjlau0112 <[email protected]>

[v2] Keep SRCREV and remove tag parameter from SRC_URI as per review feedback.

---
 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 88b50a406..91adf6f5a 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.34.1
#15 lore raw

PATCH v2 1/1 mbedtls: drop tag parameter from SRC_URI.

In reply to [email protected]

From: kjlau0112 <[email protected]>

[v2] Keep SRCREV and remove tag parameter from SRC_URI as per review feedback.

---
 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 88b50a406..91adf6f5a 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.34.1