Closed Bug 869357 Opened 13 years ago Closed 9 years ago

./mach empty-makefiles fails on intl/icu/source/data/Makefile.in

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 980174

People

(Reporter: standard8, Unassigned)

Details

Running ./mach empty-makefiles is failing with: Error running mach: ['empty-makefiles'] The error occurred in code that was called by the mach command. This is either a bug in the called code itself or in the way that mach is calling it. You should consider filing a bug for this issue. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: SyntaxError: /Users/moztest/comm/main/src/mozilla/intl/icu/source/data/Makefile.in:486:38:order-only prerequisites not implemented File "/Users/moztest/comm/main/src/mozilla/python/mozbuild/mozbuild/mach_commands.py", line 544, in empty statements = [s for s in pymake.parser.parsefile(path) File "/Users/moztest/comm/main/src/mozilla/build/pymake/pymake/parser.py", line 373, in parsefile return _parsecache.get(pathname) File "/Users/moztest/comm/main/src/mozilla/build/pymake/pymake/util.py", line 136, in get item.o = self.cfunc(key) File "/Users/moztest/comm/main/src/mozilla/build/pymake/pymake/parser.py", line 351, in _parsefile stmts = parsestring(fd.read(), pathname) File "/Users/moztest/comm/main/src/mozilla/build/pymake/pymake/parser.py", line 592, in parsestring raise SyntaxError('order-only prerequisites not implemented', d.getloc(offset))
This is an imported library afaict.
The empty-makefiles no longer works (see below). Is it worth a bug to restore that functionality, or should we just drop it now? The details of the failure are as follows: ImportError: No module named pymake.parser File "/Users/mark/loop/fx-team-git/python/mozbuild/mozbuild/mach_commands.py", line 1224, in empty import pymake.parser File "/Users/mark/loop/fx-team-git/build/mach_bootstrap.py", line 366, in __call__ module = self._original_import(name, globals, locals, fromlist, level)
Flags: needinfo?(mh+mozilla)
It's just missing build/pymake in the SEARCH_PATHS in build/mach_bootstrap.py.
Flags: needinfo?(mh+mozilla)
Incidentally, the bug as originally reported was fixed in bug 980174
(In reply to Mike Hommey [:glandium] from comment #3) > It's just missing build/pymake in the SEARCH_PATHS in > build/mach_bootstrap.py. erf, I removed it in bug 1151124.
Status: NEW → RESOLVED
Closed: 9 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.