Bug 14701

Summary: convert-overrides.py breaks file links containing _
Product: [Build System, Metadata & Runtime] BitBake Reporter: Jan Claussen <Claussen.J>
Component: bitbakeAssignee: Unassigned <unassigned>
Status: RESOLVED OBSOLETE QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher, randy.macleod, richard.purdie
Version: unspecified   
Target Milestone: 5.99   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Jan Claussen 2022-01-21 10:21:30 UTC
I have a recipes that uses a local file whose path contains a '_', which was converted to a ':'. This broke the recipe and a warning was printed saying that the file could not be fetched. I ignored the warning at first. During the first build everything seems to be fine, but on the second build a cache error occurs, which can only be fixed by deleting the tmp directory.

Here is the recipes that broke using the script:

https://pastebin.com/dwdig7wn
Comment 1 Randy MacLeod 2022-01-27 15:35:14 UTC
Could you send a patch to the list? This is meant as an aid to the transition so it's not expected to be perfect.
Comment 2 Jan Claussen 2022-01-28 10:08:11 UTC
I don't think that I will find the time any time soon. It would probably be better that the author of the script makes some changes. By looking at the script, I can see that the error occurred because there is an 'aarch64' sub-string included in the SRC_URI of this package. I think it would be best to somehow exclude strings in quotes from the conversion, so that only variable names, but not the values themselves are converted.
Comment 3 Randy MacLeod 2022-01-28 17:15:44 UTC
Thanks for the explanation. For now this is in the backlog since the dev team is stretched very thin.
Comment 4 Randy MacLeod 2023-10-30 15:37:24 UTC
Build move to 5.0 -- ../Randy
Comment 5 Randy MacLeod 2024-04-25 01:13:55 UTC
Bulk move of 5.0 medium importance issues to 5.99.
Move to 5.1 if you want to actively work on an issue.
Comment 6 Randy MacLeod 2024-04-25 01:23:12 UTC
Move to 5.99 since no one is actively working on this issue.
Move to 5.x if you start on a task, please.
Comment 7 Richard Purdie 2026-04-30 15:38:43 UTC
At this point most conversions have been done and we're unlikely to make further changes to the script.