Closed Bug 846460 Opened 11 years ago Closed 11 years ago

Build error for failing to clobber after moz-build switchover has two consecutive period characters

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla22

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I just built after pulling in the moz.build changes, and I got this build error message:
/scratch/work/builds/mozilla-central/mozilla-central.11-08-17.14-31/mozilla/config/rules.mk:26: *** Variable DIRS is defined in Makefile. It should only be defined in moz.build files..  Stop.

We've got a duplicate period after "files" there. Looks like that's because "$(error" invocations in rules.mk aren't supposed to end in a period, but this particular one does.
Summary: Build error for failing to clobber before moz-build switchover has two consecutive period characters → Build error for failing to clobber after moz-build switchover has two consecutive period characters
Attached patch fix v1Splinter Review
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #719642 - Flags: review?(gps)
Comment on attachment 719642 [details] [diff] [review]
fix v1

Review of attachment 719642 [details] [diff] [review]:
-----------------------------------------------------------------

I didn't realize make introduced proper punctuation! Oh, make.

r+ is conditional on also copying /config/rules.mk into /js/src/config/rules.mk. If you fail to do this, you'll get another build error in check-sync-dirs.
Attachment #719642 - Flags: review?(gps) → review+
Ah, good point -- I'll make the same change in js before landing. Thanks!
https://hg.mozilla.org/mozilla-central/rev/777d41b883a9
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Blocks: clobber
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: