All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH] meta-networking: mbedtls: Remove tag from SRC_URI
@ 2025-08-14 22:50 Daniel Schultz
  2025-08-15  2:06 ` [oe] " Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Schultz @ 2025-08-14 22:50 UTC (permalink / raw)
  To: openembedded-devel; +Cc: upstream, Daniel Schultz

This recipe uses SRCREV as well as defines a tag in the SRC_URI.
Only use SRCREV since this will generate an error.

Fix following error:
  [...] FetchError: Fetcher failure: Conflicting revisions
  (c765c831e5c2a0971410692f92f7a81d6ec65ec2 from SRCREV and v3.6.4
  from the url) found, please specify one valid value

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
 meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 \
            "
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [oe] [meta-networking][PATCH] meta-networking: mbedtls: Remove tag from SRC_URI
  2025-08-14 22:50 [meta-networking][PATCH] meta-networking: mbedtls: Remove tag from SRC_URI Daniel Schultz
@ 2025-08-15  2:06 ` Khem Raj
  2025-08-15  5:50   ` Marko, Peter
                     ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Khem Raj @ 2025-08-15  2:06 UTC (permalink / raw)
  To: d.schultz; +Cc: openembedded-devel, upstream

I wonder why it works on autobuilder. Can you try with bitbake -ccleanall ?
and see if fetching works. I can see the SRCREV is same as v3.6.4 tag.

On Thu, Aug 14, 2025 at 3:51 PM Daniel Schultz via
lists.openembedded.org <d.schultz=phytec.de@lists.openembedded.org>
wrote:
>
> This recipe uses SRCREV as well as defines a tag in the SRC_URI.
> Only use SRCREV since this will generate an error.
>
> Fix following error:
>   [...] FetchError: Fetcher failure: Conflicting revisions
>   (c765c831e5c2a0971410692f92f7a81d6ec65ec2 from SRCREV and v3.6.4
>   from the url) found, please specify one valid value
>
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
> ---
>  meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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 \
>             "
>
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#118951): https://lists.openembedded.org/g/openembedded-devel/message/118951
> Mute This Topic: https://lists.openembedded.org/mt/114709547/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [oe] [meta-networking][PATCH] meta-networking: mbedtls: Remove tag from SRC_URI
  2025-08-15  2:06 ` [oe] " Khem Raj
@ 2025-08-15  5:50   ` Marko, Peter
  2025-08-15 22:55     ` Daniel Schultz
  2025-08-15  5:53   ` Gyorgy Sarvari
  2025-08-15 22:55   ` Daniel Schultz
  2 siblings, 1 reply; 9+ messages in thread
From: Marko, Peter @ 2025-08-15  5:50 UTC (permalink / raw)
  To: raj.khem@gmail.com, d.schultz@phytec.de
  Cc: openembedded-devel@lists.openembedded.org,
	upstream@lists.phytec.de

That error is shown only when ";rev=${PV}" is specified (which is not the case in this recipe) or a layer modifies something.
Fetching works for me without this patch just fine.

> -----Original Message-----
> From: openembedded-devel@lists.openembedded.org <openembedded-
> devel@lists.openembedded.org> On Behalf Of Khem Raj via
> lists.openembedded.org
> Sent: Friday, August 15, 2025 4:06
> To: d.schultz@phytec.de
> Cc: openembedded-devel@lists.openembedded.org; upstream@lists.phytec.de
> Subject: Re: [oe] [meta-networking][PATCH] meta-networking: mbedtls: Remove
> tag from SRC_URI
> 
> I wonder why it works on autobuilder. Can you try with bitbake -ccleanall ?
> and see if fetching works. I can see the SRCREV is same as v3.6.4 tag.
> 
> On Thu, Aug 14, 2025 at 3:51 PM Daniel Schultz via
> lists.openembedded.org <d.schultz=phytec.de@lists.openembedded.org>
> wrote:
> >
> > This recipe uses SRCREV as well as defines a tag in the SRC_URI.
> > Only use SRCREV since this will generate an error.
> >
> > Fix following error:
> >   [...] FetchError: Fetcher failure: Conflicting revisions
> >   (c765c831e5c2a0971410692f92f7a81d6ec65ec2 from SRCREV and v3.6.4
> >   from the url) found, please specify one valid value
> >
> > Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
> > ---
> >  meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > 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 \
> >             "
> >
> > --
> > 2.25.1
> >
> >
> >
> >

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [oe] [meta-networking][PATCH] meta-networking: mbedtls: Remove tag from SRC_URI
  2025-08-15  2:06 ` [oe] " Khem Raj
  2025-08-15  5:50   ` Marko, Peter
@ 2025-08-15  5:53   ` Gyorgy Sarvari
  2025-08-15  9:08     ` Alexander Kanavin
  2025-08-15 22:55   ` Daniel Schultz
  2 siblings, 1 reply; 9+ messages in thread
From: Gyorgy Sarvari @ 2025-08-15  5:53 UTC (permalink / raw)
  To: raj.khem, d.schultz; +Cc: openembedded-devel, upstream

On 8/15/25 04:06, Khem Raj via lists.openembedded.org wrote:
> I wonder why it works on autobuilder. Can you try with bitbake -ccleanall ?
> and see if fetching works. I can see the SRCREV is same as v3.6.4 tag.

Was this patch meant for scarthgap, where mbedtls got just broken due to
this rev vs tag issue?


> On Thu, Aug 14, 2025 at 3:51 PM Daniel Schultz via
> lists.openembedded.org <d.schultz=phytec.de@lists.openembedded.org>
> wrote:
>> This recipe uses SRCREV as well as defines a tag in the SRC_URI.
>> Only use SRCREV since this will generate an error.
>>
>> Fix following error:
>>   [...] FetchError: Fetcher failure: Conflicting revisions
>>   (c765c831e5c2a0971410692f92f7a81d6ec65ec2 from SRCREV and v3.6.4
>>   from the url) found, please specify one valid value
>>
>> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
>> ---
>>  meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> 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 \
>>             "
>>
>> --
>> 2.25.1
>>
>>
>>
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#118953): https://lists.openembedded.org/g/openembedded-devel/message/118953
>> Mute This Topic: https://lists.openembedded.org/mt/114709547/6084445
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [oe] [meta-networking][PATCH] meta-networking: mbedtls: Remove tag from SRC_URI
  2025-08-15  5:53   ` Gyorgy Sarvari
@ 2025-08-15  9:08     ` Alexander Kanavin
  2025-08-15  9:24       ` Gyorgy Sarvari
  0 siblings, 1 reply; 9+ messages in thread
From: Alexander Kanavin @ 2025-08-15  9:08 UTC (permalink / raw)
  To: skandigraun; +Cc: raj.khem, d.schultz, openembedded-devel, upstream

Same as the other proposed patch. I would not take it before there is
an explanation of why the issue suddenly appeared. Did something
change in scarthgap, or is there a mismatch between the tag and
revision?

Alex

On Fri, 15 Aug 2025 at 07:53, Gyorgy Sarvari via
lists.openembedded.org <skandigraun=gmail.com@lists.openembedded.org>
wrote:
>
> On 8/15/25 04:06, Khem Raj via lists.openembedded.org wrote:
> > I wonder why it works on autobuilder. Can you try with bitbake -ccleanall ?
> > and see if fetching works. I can see the SRCREV is same as v3.6.4 tag.
>
> Was this patch meant for scarthgap, where mbedtls got just broken due to
> this rev vs tag issue?
>
>
> > On Thu, Aug 14, 2025 at 3:51 PM Daniel Schultz via
> > lists.openembedded.org <d.schultz=phytec.de@lists.openembedded.org>
> > wrote:
> >> This recipe uses SRCREV as well as defines a tag in the SRC_URI.
> >> Only use SRCREV since this will generate an error.
> >>
> >> Fix following error:
> >>   [...] FetchError: Fetcher failure: Conflicting revisions
> >>   (c765c831e5c2a0971410692f92f7a81d6ec65ec2 from SRCREV and v3.6.4
> >>   from the url) found, please specify one valid value
> >>
> >> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
> >> ---
> >>  meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 2 +-
> >>  1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> 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 \
> >>             "
> >>
> >> --
> >> 2.25.1
> >>
> >>
> >>
> >>
> >>
> >>
> >>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#118958): https://lists.openembedded.org/g/openembedded-devel/message/118958
> Mute This Topic: https://lists.openembedded.org/mt/114709547/1686489
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [oe] [meta-networking][PATCH] meta-networking: mbedtls: Remove tag from SRC_URI
  2025-08-15  9:08     ` Alexander Kanavin
@ 2025-08-15  9:24       ` Gyorgy Sarvari
  0 siblings, 0 replies; 9+ messages in thread
From: Gyorgy Sarvari @ 2025-08-15  9:24 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: raj.khem, d.schultz, openembedded-devel, upstream

On 8/15/25 11:08, Alexander Kanavin wrote:
> Same as the other proposed patch. I would not take it before there is
> an explanation of why the issue suddenly appeared. Did something
> change in scarthgap, or is there a mismatch between the tag and
> revision?

The tag+revision matching was introduced in walnascar, before that it
was either/or. This patch got into scarthgap, which uses this:
https://lists.openembedded.org/g/openembedded-devel/message/118611

>
> Alex
>
> On Fri, 15 Aug 2025 at 07:53, Gyorgy Sarvari via
> lists.openembedded.org <skandigraun=gmail.com@lists.openembedded.org>
> wrote:
>> On 8/15/25 04:06, Khem Raj via lists.openembedded.org wrote:
>>> I wonder why it works on autobuilder. Can you try with bitbake -ccleanall ?
>>> and see if fetching works. I can see the SRCREV is same as v3.6.4 tag.
>> Was this patch meant for scarthgap, where mbedtls got just broken due to
>> this rev vs tag issue?
>>
>>
>>> On Thu, Aug 14, 2025 at 3:51 PM Daniel Schultz via
>>> lists.openembedded.org <d.schultz=phytec.de@lists.openembedded.org>
>>> wrote:
>>>> This recipe uses SRCREV as well as defines a tag in the SRC_URI.
>>>> Only use SRCREV since this will generate an error.
>>>>
>>>> Fix following error:
>>>>   [...] FetchError: Fetcher failure: Conflicting revisions
>>>>   (c765c831e5c2a0971410692f92f7a81d6ec65ec2 from SRCREV and v3.6.4
>>>>   from the url) found, please specify one valid value
>>>>
>>>> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
>>>> ---
>>>>  meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 2 +-
>>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> 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 \
>>>>             "
>>>>
>>>> --
>>>> 2.25.1
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#118958): https://lists.openembedded.org/g/openembedded-devel/message/118958
>> Mute This Topic: https://lists.openembedded.org/mt/114709547/1686489
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [alex.kanavin@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [oe] [meta-networking][PATCH] meta-networking: mbedtls: Remove tag from SRC_URI
  2025-08-15  2:06 ` [oe] " Khem Raj
  2025-08-15  5:50   ` Marko, Peter
  2025-08-15  5:53   ` Gyorgy Sarvari
@ 2025-08-15 22:55   ` Daniel Schultz
  2025-08-18  7:40     ` Andrey Zhizhikin
  2 siblings, 1 reply; 9+ messages in thread
From: Daniel Schultz @ 2025-08-15 22:55 UTC (permalink / raw)
  To: Khem Raj
  Cc: openembedded-devel@lists.openembedded.org,
	upstream@lists.phytec.de

Still the same error. I can also see this issue in our nightly builds 
and they're fetching from scratch.

- Daniel

On 8/14/25 19:06, Khem Raj wrote:
> I wonder why it works on autobuilder. Can you try with bitbake -ccleanall ?
> and see if fetching works. I can see the SRCREV is same as v3.6.4 tag.
>
> On Thu, Aug 14, 2025 at 3:51 PM Daniel Schultz via
> lists.openembedded.org <d.schultz=phytec.de@lists.openembedded.org>
> wrote:
>> This recipe uses SRCREV as well as defines a tag in the SRC_URI.
>> Only use SRCREV since this will generate an error.
>>
>> Fix following error:
>>    [...] FetchError: Fetcher failure: Conflicting revisions
>>    (c765c831e5c2a0971410692f92f7a81d6ec65ec2 from SRCREV and v3.6.4
>>    from the url) found, please specify one valid value
>>
>> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
>> ---
>>   meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> 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 \
>>              "
>>
>> --
>> 2.25.1
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#118951): https://lists.openembedded.org/g/openembedded-devel/message/118951
>> Mute This Topic: https://lists.openembedded.org/mt/114709547/1997914
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [oe] [meta-networking][PATCH] meta-networking: mbedtls: Remove tag from SRC_URI
  2025-08-15  5:50   ` Marko, Peter
@ 2025-08-15 22:55     ` Daniel Schultz
  0 siblings, 0 replies; 9+ messages in thread
From: Daniel Schultz @ 2025-08-15 22:55 UTC (permalink / raw)
  To: Marko, Peter, raj.khem@gmail.com
  Cc: openembedded-devel@lists.openembedded.org,
	upstream@lists.phytec.de

we're also using meta-arm and apparently TF-A is also fetching mbedtls. 
Maybe it's somehow related to that layer?

- Daniel

On 8/14/25 22:50, Marko, Peter wrote:
> That error is shown only when ";rev=${PV}" is specified (which is not the case in this recipe) or a layer modifies something.
> Fetching works for me without this patch just fine.
>
>> -----Original Message-----
>> From: openembedded-devel@lists.openembedded.org <openembedded-
>> devel@lists.openembedded.org> On Behalf Of Khem Raj via
>> lists.openembedded.org
>> Sent: Friday, August 15, 2025 4:06
>> To: d.schultz@phytec.de
>> Cc: openembedded-devel@lists.openembedded.org; upstream@lists.phytec.de
>> Subject: Re: [oe] [meta-networking][PATCH] meta-networking: mbedtls: Remove
>> tag from SRC_URI
>>
>> I wonder why it works on autobuilder. Can you try with bitbake -ccleanall ?
>> and see if fetching works. I can see the SRCREV is same as v3.6.4 tag.
>>
>> On Thu, Aug 14, 2025 at 3:51 PM Daniel Schultz via
>> lists.openembedded.org <d.schultz=phytec.de@lists.openembedded.org>
>> wrote:
>>> This recipe uses SRCREV as well as defines a tag in the SRC_URI.
>>> Only use SRCREV since this will generate an error.
>>>
>>> Fix following error:
>>>    [...] FetchError: Fetcher failure: Conflicting revisions
>>>    (c765c831e5c2a0971410692f92f7a81d6ec65ec2 from SRCREV and v3.6.4
>>>    from the url) found, please specify one valid value
>>>
>>> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
>>> ---
>>>   meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> 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 \
>>>              "
>>>
>>> --
>>> 2.25.1
>>>
>>>
>>>
>>>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-networking][PATCH] meta-networking: mbedtls: Remove tag from SRC_URI
  2025-08-15 22:55   ` Daniel Schultz
@ 2025-08-18  7:40     ` Andrey Zhizhikin
  0 siblings, 0 replies; 9+ messages in thread
From: Andrey Zhizhikin @ 2025-08-18  7:40 UTC (permalink / raw)
  To: openembedded-devel

Hello all,

On Sat, Aug 16, 2025 at 12:55 AM, Daniel Schultz wrote:

>
> Still the same error. I can also see this issue in our nightly builds 
> and they're fetching from scratch.

FTR: I've also started to see the same parser error. It was also triggered in
the CI first, which is using clean builds and targeting `scarthgap` LTS.

Tag parameter in SRC_URI actually came with commit:
9fa57a47b3a0 ("mbedtls: upgrade 3.6.3 -> 3.6.3.1") on master as part of recipe
upgrade, and unfortunately had no reasonable explanation why this parameter
was included...

I've also tried to drop either `;tag=` parameter or `SRCREV` from the recipe,
and both options worked to solve the parser issue.

Is there any reasonable explanation why  `;tag=` parameter is now included?

> 
> - Daniel
> 
> On 8/14/25 19:06, Khem Raj wrote:
> > I wonder why it works on autobuilder. Can you try with bitbake -ccleanall ?

I do not think that this would help, as the error comes during parsing stage,
which is far before task execution.

> > and see if fetching works. I can see the SRCREV is same as v3.6.4 tag.
> >
> > On Thu, Aug 14, 2025 at 3:51 PM Daniel Schultz via
> > lists.openembedded.org <d.schultz=phytec.de@lists.openembedded.org>
> > wrote:
> >> This recipe uses SRCREV as well as defines a tag in the SRC_URI.
> >> Only use SRCREV since this will generate an error.
> >>
> >> Fix following error:
> >>    [...] FetchError: Fetcher failure: Conflicting revisions
> >>    (c765c831e5c2a0971410692f92f7a81d6ec65ec2 from SRCREV and v3.6.4
> >>    from the url) found, please specify one valid value
> >>
> >> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
> >> ---
> >>   meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.4.bb | 2 +-
> >>   1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> 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 \
> >>              "
> >>
> >> --
> >> 2.25.1
> >>
> >>
> >> 
> >>
> 
>

-- Andrey


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-08-18  7:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-14 22:50 [meta-networking][PATCH] meta-networking: mbedtls: Remove tag from SRC_URI Daniel Schultz
2025-08-15  2:06 ` [oe] " Khem Raj
2025-08-15  5:50   ` Marko, Peter
2025-08-15 22:55     ` Daniel Schultz
2025-08-15  5:53   ` Gyorgy Sarvari
2025-08-15  9:08     ` Alexander Kanavin
2025-08-15  9:24       ` Gyorgy Sarvari
2025-08-15 22:55   ` Daniel Schultz
2025-08-18  7:40     ` Andrey Zhizhikin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.