bodnuti
Deterministic checks of Yocto Project & OpenEmbedded patches.
[PATCH] classes/insane: improve HOME checks exceptions more
- List
- openembedded-core
- Thread
- lore
- Author
- Rasmus Villemoes
- Last message
- 2026-11-27 20:31
- Result
- 1 finding, 1 error
- Checked against
- openembedded-core master
- Base
39019629a4ad
[PATCH] classes/insane: improve HOME checks exceptions more
error bodnuti
bodnuti.metadata.line-length meta/classes-global/insane.bbclass:453450 parts = file_content.split(homedir)[1:]451 if any(not p[0:1].isalnum() for p in parts):452 path = package_qa_clean_path(path, d, name)453 oe.qa.handle_error("buildpaths", "File %s in package %s contains a reference to the build host HOME directory. If upstream hardcodes a directory path that matches your home, you can se454455456QAPATHTEST[xorg-driver-abi] = "package_qa_check_xorg_driver_abi"
Model, unverified: The error message string on line 453 is 284 characters, exceeding the 200-character limit that patchtest enforces. Fix: Break the long `oe.qa.handle_error(...)` call across multiple lines using string concatenation or a variable holding the message, keeping each physical line under 200 characters.
Model review (bodnuti-qwen3.8-27b-48k-text): 0 findings
Found by a model, not checked by a person; not counted in the result.
Took 11 min 30 s; 13072 tokens read, 101 written; confidence high; layer 4: not escalated (touches meta/classes-global/insane.bbclass): no [review.escalate]; prompt v5
No findings.
patchtest: 10 pass, 0 fail, 5 skip