| Summary: | Allow % and @ in working dir path | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | steve broshar <sbroshar> |
| Component: | bitbake | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | poky.bs.watcher, poky.watcher, randy.macleod, yf3yu |
| Version: | unspecified | ||
| Target Milestone: | 3.4 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
steve broshar
2021-03-07 14:40:22 UTC
We won't support this but we can get the sanity checker to issue and error for both @ and %. Several people in the YP community use Jenkins so ask on the Yocto list to see how they work around this issue if you like. 2 fixes: 1) Sanity check for '%' 2) figure out why is it trying to str format the path When I asked Jenkins about the @ issue, they told me to talk to yocto :) https://issues.jenkins.io/browse/JENKINS-65034 And you say I should talk to Jenkins about these issues. So easy to point finger. ... better would be responsiveness to user needs. But, as is, I have to work around the deficiencies of both tools. The big picture here is that Yocto Project builds thousands of pieces of open source code, each have their own environments. Some are standardised and some less so. In order to support this we'd need to assert that all of those pieces of software accept these characters without issue. There are some common systems, sure, there are also plenty that are unique. Adding this support would be a pretty huge undertaking and the question is how valuable is that work compared to say reproducibility or license compliance tools improvements. In an ideal world we'd love to add support for full utf-8 paths. In the real world, we have some compromises. I once set out to support spaces due to the prevalence on certain systems. I gave up when I found most scrips and autotools didn't work with it. I suspect "@" is in a similar position. For "%", we certainly shouldn't have tracebacks and need to fix that. Figuring out where its backtracing from within bitbake would be useful if you are able to do that. If that is the only issue, great but if not, we'd likely need to what we did with "%". The position changes if you know of anyone with the time to do the work, its a simple question of priorities and costs vs benefits. We don't have a huge team of people waiting to work on this kind of thing, much as I wish otherwise. Patch out for review to detect "%" in paths. |