Closed Bug 466984 Opened 16 years ago Closed 16 years ago

SM l10n win build machine fails to generate .zip and .mar files

Categories

(SeaMonkey :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wladow, Assigned: kairo)

References

Details

(Keywords: regression)

Attachments

(2 files)

Since landing bug 464921 there are no l10n win .zip and .mar files

Tinderbox log (sk) - Win2k3 comm-central l10n seamonkey on 2008/11/27 02:54:42:
http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla-l10n-sk/1227783282.1227784997.14032.gz
This part solves the problem of failing zip generation - we're now (after bug 464921) only building the locale once and using it for both installer and zip, so the installer repackaging step needs to copy it instead of moving it away, or else the zip step fails because it's not finding the langpack in xpi-stage.
Assignee: build-config → kairo
Status: NEW → ASSIGNED
Attachment #350333 - Flags: review?(gijskruitbosch+bugs)
Why the -r? It's a file, right? You don't need to copy things recursively... Am I missing something?
oh, sure, I dumbly copied the cp -r from somewhere else - I'll check it in without the -r if you review it :)
Attachment #350333 - Flags: review?(gijskruitbosch+bugs) → review+
Comment on attachment 350333 [details] [diff] [review]
copy instead of move extension langpacks (checked in)

OK, r=me with removing the -r :-)
Uh, actually, I just looked at this again, and we're not copying the .xpi - that wouldn't actually work in a ready-packaged build. We're copying the contents of the xpi-stage/$(XPI_NAME)/ directory, so the -r actually _is_ correct!
(In reply to comment #5)
> Uh, actually, I just looked at this again, and we're not copying the .xpi -
> that wouldn't actually work in a ready-packaged build. We're copying the
> contents of the xpi-stage/$(XPI_NAME)/ directory, so the -r actually _is_
> correct!

Hrmpf, r=me anyway, then - thanks for clarifying.
This patch updates the MAR generation part, basically a straight port of bug 466894.
Gozer, handing this to you for review, as we need to update our L10n buildbots to 1) hand MOZ_MAKE_COMPLETE_MAR=1 to the installers-* step and 2) remove the extra step for MAR generation - at least if you also have support for L10n MARs in your buildbot (I'm not sure).
Attachment #350351 - Flags: review?(gozer)
Comment on attachment 350333 [details] [diff] [review]
copy instead of move extension langpacks (checked in)

The ChatZilla/venkman part is in - thanks, Gijs!
Attachment #350333 - Attachment description: copy instead of move extension langpacks → copy instead of move extension langpacks (checked in)
(In reply to comment #7)
>
> Gozer, handing this to you for review, as we need to update our L10n buildbots
> to 1) hand MOZ_MAKE_COMPLETE_MAR=1 to the installers-* step 

Done for thunderbird buildbots

> and 2) remove the
> extra step for MAR generation - at least if you also have support for L10n MARs
> in your buildbot (I'm not sure).

Done for thunderbird buildbots too.
Attachment #350351 - Flags: review?(gozer) → review+
Comment on attachment 350351 [details] [diff] [review]
update MAR generation for comm-central builds

a=me for SM 2.0a2 and TB 3.0b1

I think we should take this as we'll want it for nightly builds (I guess) and we'll probably need it if we decide to do updates from alpha 3 (which I think we aren't but just in case).

Also it shouldn't have an adverse effect on the main build anyway.
Attachment #350351 - Flags: approval-seamonkey2.0a2+
MAR fix pushed as http://hg.mozilla.org/comm-central/rev/6a2107f99390 - me and gozer are updating the buildbots for this as well as I'm writing this.

With that, I hope we'll have fixed those builds.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: