On Tue, 13 Jan 2026 at 11:16, Oleksiy Obitotskyy via
lists.openembedded.org <[email protected]>
wrote:
> Error example for this URL:
> git://github.com/pkg/diff;name=diff;\
> destsuffix=build/vendor/src/github.com/pkg/diff;branch=main;protocol=https
> --- a/meta/lib/oe/patch.py
> +++ b/meta/lib/oe/patch.py
> @@ -889,6 +889,8 @@ def patch_path(url, fetch, unpackdir, expand=True):
>      """Return the local path of a patch, or return nothing if this isn't a 
> patch"""
>
>      local = fetch.localpath(url)
> +    if not os.path.exists(local):
> +        return

This does look like a workaround. Can you look into how the decision
to call patch_path on this URL is made, and if we can tighten the
check for whether it is a patch there? Perhaps change it to only
consider something that has .diff at the end?

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

Reply via email to