Closed Bug 876566 Opened 11 years ago Closed 11 years ago

./mach build toolkit/library/ builds xul.dll even if nothing has changed.

Categories

(Firefox Build System :: General, defect)

x86_64
Windows 8
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 867807

People

(Reporter: cpearce, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

STR: Run the following command on Windows: ./mach build toolkit/library/ && ./mach build toolkit/library/ Note that xul.dll is built twice, even though no other modules changed between the first and second builds. This seems to be a recent (i.e. in the past few months) change in behaviour.
My .mozconfig: mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir ac_add_options --enable-tests ac_add_options --enable-debug mk_add_options MOZ_MAKE_FLAGS="-j9 -s" ac_add_options --disable-optimize mk_add_options AUTOCLOBBER=1
What does `make` do?
`make -C $objdir/toolkit/library`, specifically. This is almost certainly a build system bug and not a mach bug.
Here's the output of `build/pymake/make.py -C objdir/toolkit/library/`. Regular `make` no longer works on Windows. This output is the same every time I run it, i.e. xul.dll is being rebuilt every time I build toolkit/library with pymake too.
Component: mach → Build Config
Might be related to bug 874543
Blocks: 880564
Blocks: 924676
See also bug 867807 - if the DirectX SDK is installed in a directory with spaces (eg, under "c:\Program Files (x86)", this bug is a symptom. Can anyone here reproduce the bug when that is *not* the case? If not, we probably have a dupe.
I ran in to this bug and had spaces in my DirectX SDK path. This bug no longer happens after I moved my DirectX SDK installation path.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
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: