Closed Bug 789623 Opened 13 years ago Closed 13 years ago

make package-tests is packaging .pyc files for mozbase components

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla18

People

(Reporter: jgriffin, Assigned: ted)

References

Details

(Keywords: intermittent-failure, Whiteboard: [red])

Attachments

(1 file)

When running make package-tests, .pyc files for mozbase components are being packaged. In one particular instance, when attempting to commit bug 788842, this resulted in a build failure on OSX 10.7: if test -d obj-firefox/i386/dist/test-package-stage -a \ -d obj-firefox/x86_64/dist/test-package-stage; then \ cp obj-firefox/i386/dist/test-package-stage/mochitest/automation.py \ obj-firefox/x86_64/dist/test-package-stage/mochitest/; \ cp obj-firefox/i386/dist/test-package-stage/reftest/automation.py \ obj-firefox/x86_64/dist/test-package-stage/reftest/; \ /builds/slave/m-in-osx64/build/build/macosx/universal/unify \ --unify-with-sort "\.manifest$" \ --unify-with-sort "all-test-dirs\.list$" \ obj-firefox/i386/dist/test-package-stage \ obj-firefox/x86_64/dist/test-package-stage \ obj-firefox/i386/dist/universal/test-package-stage; fi /builds/slave/m-in-osx64/build/build/macosx/universal/unify: copyIfIdentical: files differ: obj-firefox/i386/dist/test-package-stage/mozbase/manifestdestiny/manifestparser/manifestparser.pyc, obj-firefox/x86_64/dist/test-package-stage/mozbase/manifestdestiny/manifestparser/manifestparser.pyc make[2]: *** [postflight_all] Error 1 make[1]: *** [realbuild] Error 2 make: *** [build] Error 2 full log here: https://tbpl.mozilla.org/php/getParsedLog.php?id=15059998&tree=Mozilla-Inbound&full=1 I don't think we should be packaging .pyc files.
Blocks: 788842
I patched this in alder because I hit it there after updating mozbase: http://hg.mozilla.org/projects/alder/rev/51cd733b5425
It sounds like we should be doing this on m-c too. :ted, does alder merge to m-c? What is the way of getting this changeset there?
Alder is complicated, but we can just cherry-pick that commit back to m-c. I'll attach it for review in a minute.
Assignee: nobody → ted.mielczarek
Attachment #659909 - Flags: review?(mh+mozilla) → review+
Landed in https://hg.mozilla.org/integration/mozilla-inbound/rev/8c710e778c97 since https://hg.mozilla.org/integration/mozilla-inbound/rev/5ba9fa0f8194 made it a little less intermittent and more the-last-three-builds-in-a-row.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Whiteboard: [orange][red] → [red]
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: