Closed Bug 929304 Opened 11 years ago Closed 11 years ago

"No rule to make target 'test-dir/'" error building with mozmake

Categories

(Firefox Build System :: General, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 928929

People

(Reporter: markh, Unassigned)

Details

If I try and build mozilla-central with mozmake, the build fails with the following error:

24:33.02 mozmake.EXE[5]: *** No rule to make target 'test-dir/', needed by 'libs'.  Stop.
24:33.02 o:/src/mm/mozilla-hg/mc-socialapi-landing/config/recurse.mk:99: recipe for target 'testing/mochitest/chrome/libs' failed
24:33.02 mozmake.EXE[4]: *** [testing/mochitest/chrome/libs] Error 2
24:33.02 o:/src/mm/mozilla-hg/mc-socialapi-landing/config/recurse.mk:39: recipe for target 'libs' failed
24:33.02 mozmake.EXE[3]: *** [libs] Error 2
24:33.02 o:/src/mm/mozilla-hg/mc-socialapi-landing/config/rules.mk:693: recipe for target 'default' failed
24:33.02 mozmake.EXE[2]: *** [default] Error 2
24:33.02 o:/src/mm/mozilla-hg/mc-socialapi-landing/client.mk:394: recipe for target 'realbuild' failed
24:33.02 mozmake.EXE[1]: *** [realbuild] Error 2
24:33.02 client.mk:179: recipe for target 'build' failed
24:33.02 mozmake.EXE: *** [build] Error 2
24:33.04 984 compiler warnings present.

If I move mozmake.exe away so the configure process can't find it, then clobber and rebuild, the build succeeds.  I can reproduce this in multiple working directories, both of which hg reports are completely clean.

$ ./mach environment
platform:
        Windows-7-6.1.7601-SP1
python version:
        2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
python prefix:
        c:\mozilla-build\python
mach cwd:
        o:\src\mm\mozilla-hg\mc-socialapi-landing
os cwd:
        o:\src\mm\mozilla-hg\mc-socialapi-landing
mach directory:
        o:\src\mm\mozilla-hg\mc-socialapi-landing
state directory:
        o:/home/.mozbuild
mozconfig path:
        o:\src\mm\mozilla-hg\mc-socialapi-landing\.mozconfig-release
object directory:
        o:\src\mm\mozilla-hg\mc-socialapi-landing\obj-release
mozconfig configure args:
        --enable-application=browser
        --enable-tests
        --enable-debug-symbols
        --enable-jemalloc
        --enable-signmar
        --enable-profiling
        --enable-js-diagnostics
mozconfig extra make args:
        AUTOCLOBBER=1
mozconfig make flags:
        -
        j
        1
        2
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.