| Summary: | Error in compiling rustfmt does not cause do_compile to fail | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Randy MacLeod <randy.macleod> | ||||
| Component: | devtools / tool chain | Assignee: | Unassigned <unassigned> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | meta.mr.watcher, meta.watcher, Naveen.Gowda, pgowda.cve, randy.macleod, Yash.Shinde | ||||
| Version: | 4.1 | ||||||
| Target Milestone: | 5.99 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
|
Description
Randy MacLeod
2022-08-26 00:40:59 UTC
Likley a shell exit code propagation issue. Naveen is this still happening on 1.64? Naveen, add a patch that makes rustfmt compilation fail and you should be able to see what the problem is or confirm that the issue is resolved. Even with a patch that make rustfmt fail to build, this is not reproducible. Naveen to state what version he tested. Also test using the version of rust used on 2022-08-26. Naveen, please also attach the patch you used to make rustfmt fail to compile. Naveen is working on another project, assign to Yash. @Yash I'd like you to fix this or at least confirm that it's no longer a problem sooner than M4. It's not urgent but please make time to work on it in the next month. You should deliberately add a patch (from Naveen?) that makes rustfmt fail to compile and see if the overall build fails. We should just ensure that this isn't going to aftect the master branch so change target to 4.3.* Yash, when you get time, I'd still like to understand if do_compile will fail if a Rust component like rustfmt fails to build. It doesn't seem to be urgent so set to 5.0-M2. We should do this at some point but realistically, we may not get to it for quite a while. Move to 5.99 to refect that plan. Created attachment 5084 [details]
do_compile log for rustfmt
I built the rustfmt recipe from meta-rust layer in oe-core latest sources and error in compiling rustfmt makes do_compile to fail now.
Attached log file for more details.
Error in compiling rustfmt gives do_compile failure for bitbake rustfmt. (checked in rust v1.80) The log file for do_compile is attached for reference. |