Closed Bug 529978 Opened 12 years ago Closed 11 years ago

xpcom analysis Makefile produces error about ".deps"

Categories

(Firefox Build System :: Source Code Analysis, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.3a2

People

(Reporter: redicke, Assigned: redicke)

References

(Blocks 1 open bug)

Details

(Keywords: student-project)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Build Identifier: Mozilla-Central

After a static-analysis build of Mozilla trying "make <objdir>/xpcom/analysis classapi" fails with "make: *** No rule to make target `.deps', needed by `classapi'.  Stop."

Reproducible: Always

Steps to Reproduce:
On a static analysis-build of Mozilla:
1. Type "make <objsrc>/xpcom/analysis classapi"

Actual Results:  
"make: *** No rule to make target `.deps', needed by `classapi'.  Stop."

Expected Results:  
No error.

bsmedberg suggested creating the directory "<objdir>/xpcpm/anaysis/.deps". This does seem to resolve the issue.
Assignee: nobody → redicke
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: student-project
Attachment #413684 - Flags: review?(benjamin)
Blocks: 530166
Blocks: 530175
Comment on attachment 413684 [details] [diff] [review]
A patch to create the .deps directory if .deps is found to be a dependency

So, there's already a rule to make $(CURDIR)/$(MDDEPDIR) in rules.mk: http://mxr.mozilla.org/mozilla-central/source/config/rules.mk#2070

I think  this can be solved better by just saying NEED_MDDEPDIR = 1, see http://mxr.mozilla.org/mozilla-central/source/config/rules.mk#523
Attachment #413684 - Flags: review?(benjamin) → review-
Attachment #413684 - Attachment is obsolete: true
Attachment #415017 - Flags: review?(benjamin)
Attachment #415017 - Flags: review?(benjamin) → review+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/6860b690ad51
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Target Milestone: mozilla1.9.3a1 → mozilla1.9.3a2
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.