Bug 12369

Summary: improve error message when file conflict on mode
Product: [Build System, Metadata & Runtime] BitBake Reporter: José Bollo <jobol>
Component: bitbakeAssignee: José Bollo <jobol>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Medium CC: poky.bs.watcher, poky.watcher, randy.macleod
Version: unspecified   
Target Milestone: 2.5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description José Bollo 2017-11-21 16:31:01 UTC
I had an error because the directory I installed had different mode than the reference (install -d -m XXX)

It could be cool to have the information that the problem is probably coming from the mode because this are directories
Comment 1 Randy MacLeod 2017-11-30 17:34:12 UTC
José, 

Please explain what you were doing and show what went wrong including logs where possible.

It seems that you made an error in a new recipe and that you'd like bitbake to check for such common errors. While we could do that, it would likely show the system down considerably so we'd likely only add an optional checker assuming that I have understood the problem correctly. 

Have you enabled all the QA checks:
  http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#new-recipe-packaging
I'm not sure we have one that covers your situation but it's work talking a look.

Thanks for reporting the problem and I look forward to your reply.
Comment 2 Stephen K Jolley 2017-12-01 20:51:11 UTC
Placing in NEEDIFO
Comment 3 Randy MacLeod 2018-01-18 15:59:19 UTC
Without further input we will not be making any changes wrt to this enhancement request. Please feel free to reply with additional information and re-open the defect.