Closed Bug 782037 Opened 13 years ago Closed 12 years ago

No global method depfinished in data.py

Categories

(Firefox Build System :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla28

People

(Reporter: neil, Assigned: ziga.seilnacht)

Details

(Whiteboard: [qa-])

Attachments

(3 files)

def _startdepparallel(self, d): if self.makefile.error: depfinished(True, False)
I'm seeing this as well - using pymake on Windows and current m-c.
This reproduced for me after i blew away my objdir and rebuilt from scratch - but then after doing that again - it no longer does :/
I spoke too soon, i just hit it again : Traceback (most recent call last): File "build/pymake/make.py", line 18, in <module> pymake.process.ParallelContext.spin() File "c:\Users\imelven\src\mozilla\build\pymake\pymake\process.py", line 352, in spin c.run() File "c:\Users\imelven\src\mozilla\build\pymake\pymake\process.py", line 282, in run cb(*args, **kwargs) File "c:\Users\imelven\src\mozilla\build\pymake\pymake\data.py", line 841, in _startdepparallel depfinished(True, False) NameError: global name 'depfinished' is not defined
ok, this does look like an issue that happens when there's an error in the build - the error in the build seems to be my fault from the local changes :(
I hit this bug while working on bug 874210, and it is annoying because it hides the underlying error. Just now, someone hit it on the UX branch: https://tbpl.mozilla.org/php/getParsedLog.php?id=30245077&tree=UX#error0 The attached patch does what seems to be the correct action here, but someone with better pymake understanding should check that it is correct.
Attachment #828557 - Flags: review?
Attachment #828557 - Flags: review? → review+
Could someone please check these two pathes in for me, or set the checkin-needed flag.
Attachment #828976 - Flags: checkin?
Attachment #828974 - Flags: checkin? → checkin+
Attachment #828976 - Flags: checkin? → checkin+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Whiteboard: [qa-]
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: