Closed
Bug 631390
Opened 13 years ago
Closed 13 years ago
'make xpi' is broken on default branch
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
VERIFIED
FIXED
People
(Reporter: jgriffin, Assigned: rnewman)
References
Details
Attachments
(1 file)
1.65 KB,
patch
|
philikon
:
review+
|
Details | Diff | Splinter Review |
Attempting 'make xpi' on tip changeset for fx-sync yields: /home/cltbld/crossweave/fx-sync/tools/Preprocessor.py -Dweave_channel="dev" -Dweave_version="1.7b1pre" -Dweave_id="{340c2bbc-ce74-4362-90b5-7c26312808ef}" /home/cltbld/crossweave/fx-sync/services/sync/modules/constants.js > /home/cltbld/crossweave/fx-sync/dist/stage/modules/constants.js /bin/sh: /home/cltbld/crossweave/fx-sync/tools/Preprocessor.py: Permission denied make: *** [build] Error 126 This breaks Crossweave tests.
Comment 1•13 years ago
|
||
Looks like bug 574380 broke this. Richard, could you take a look please?
Assignee: nobody → rnewman
Blocks: 574380
Comment 2•13 years ago
|
||
This is what I get on Windows 7: /c/dev/fx-sync-main/tools/Preprocessor.py -Dweave_channel="dev" -Dweave_version="1.7b1pre" -Dweav e_id="{340c2bbc-ce74-4362-90b5-7c26312808ef}" /c/dev/fx-sync-main/services/sync/modules/constants.js > /c/dev/fx-sync-main/dist/stage/modules/constants.js /c/dev/fx-sync-main/tools/Preprocessor.py: line 4: This is a very primitive line based preprocessor, for times when using a C preprocessor isn't an option. : command not found /c/dev/fx-sync-main/tools/Preprocessor.py: line 43: import: command not found /c/dev/fx-sync-main/tools/Preprocessor.py: line 44: import: command not found /c/dev/fx-sync-main/tools/Preprocessor.py: line 45: import: command not found /c/dev/fx-sync-main/tools/Preprocessor.py: line 46: import: command not found /c/dev/fx-sync-main/tools/Preprocessor.py: line 47: from: command not found /c/dev/fx-sync-main/tools/Preprocessor.py: line 53: syntax error near unexpected token `sys.stdout.f ileno' /c/dev/fx-sync-main/tools/Preprocessor.py: line 53: ` msvcrt.setmode(sys.stdout.fileno(), os.O_BINA RY)' make: *** [build] Error 2
Assignee | ||
Comment 3•13 years ago
|
||
We were using $(PYTHON), which is set by the MOZ_OBJDIR makefiles. CW (and Philipp!) didn't have MOZ_OBJDIR set, so not defined. Patch attached uses "python" instead. Philipp's OK with it, so I am :D
Attachment #509630 -
Flags: review?(philipp)
Comment 4•13 years ago
|
||
Comment on attachment 509630 [details] [diff] [review] Proposed patch. v1 *rubberstamp*
Attachment #509630 -
Flags: review?(philipp) → review+
Assignee | ||
Comment 5•13 years ago
|
||
Pushed: http://hg.mozilla.org/services/fx-sync/rev/faaa7d0c08fe
Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 6•13 years ago
|
||
assumes crosseweave is no longer broken by this.
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Component: Firefox Sync: Build → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•