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
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.
Placing in NEEDIFO
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.