Bug 12369 - improve error message when file conflict on mode
Summary: improve error message when file conflict on mode
Status: RESOLVED WONTFIX
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.5
Assignee: José Bollo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-11-21 16:31 UTC by José Bollo
Modified: 2018-01-18 16:00 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.