Releases/Firefox 3.6a1/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

nthomas, bhearsum

Signed-off Revision(s)



On mozilla-central:

Build # Tag Changeset
1 GECKO192a1_20090806_RELBRANCH 5c913c4662d8
FIREFOX_3_6a1_BUILD1, FIREFOX_3_6a1_RELEASE da7fbe8a24dd

Build data

Type Build ID Build machine
[Windows installer/zip]
[Mac compressed]
[Linux compressed]


Build 1

  • Cleaned up previous releases' build dirs
  • no l10n in this alpha
  • Land version bump, reconfig production-master
  • Dont use sendchange, because we dont want l10n/updates to happen. Just click forcebuild in buildbot master for the tag/source/build steps.


Clicked Forcebuild to start tag.

  • 1st attempt failed out because of bad patch. bhearsum backed out his change, joduinn cleaned up moz2-linux-slave15, and reclicked forcebuild.
  • 2nd attempt failed out because of bad patch. bhearsum backed out his change, joduinn cleaned up moz2-linux-slave16, and reclicked forcebuild.
  • 3rd attempt worked.


No problems


  • linux build: no problems.
  • win32 build: no problems.
  • macosx build: failed out with:
using PTY: True
/bin/sh /builds/slave/macosx_build/build/toolkit/crashreporter/tool / "./dist/Namoroka 3.6 Alpha"
Transferring symbols... ./dist/Namoroka 3.6 Alpha
scp: ambiguous target
make: *** [uploadsymbols] Error 1
program finished with exit code 2


#cltbld @ moz2-darwin9-slave09
cd /builds/slave/macosx_build/build/obj-firefox/ppc

# Symbol upload
export SYMBOL_SERVER_PATH=/mnt/netapp/breakpad/symbols_ffx/
export SYMBOL_SERVER_SSH_KEY=/Users/cltbld/.ssh/ffxbld_dsa
export SYMBOL_SERVER_USER=ffxbld
# name doesn't actually matter as long as it doesn't contain more than one space
mv dist/Namoroka\ 3.6\ Alpha\ dist/
../../toolkit/crashreporter/tools/ dist/

# Create dmg
export MOZ_OBJDIR=obj-firefox
export MOZ_PKG_VERSION=3.6a1
make package 2>&1 | tee ~/package.log

# Create complete mar
cd /builds/slave/macosx_build/build  
# edit obj-firefox/ppc/tools/update-packaging/Makefile to do a single
# s!universal/$(MOZ_PKG_APPNAME)!universal/firefox!
make -C obj-firefox/ppc/tools/update-packaging 2>&1 | tee ~/update-packaging.log

# BuildID
cd /builds/slave/macosx_build/build/obj-firefox/ppc/dist
# look up buildid in
#  universal/firefox/
echo buildID=20090806155510 > macosx_info.txt

# Upload builds
export POST_UPLOAD_CMD=' -p firefox -v 3.6a1 -n 1 --release-to-candidates-dir'
export UPLOAD_EXTRA_FILES=macosx_info.txt
export UPLOAD_SSH_KEY=~/.ssh/ffxbld_dsa
export UPLOAD_USER=ffxbld
make upload

bug 514466 Upload symbols has two problems with files with more than one space in name. Firstly, the hash calculation here assumes the output looks like

 SHA1(dist/ 1210b518ae71241c853b7d9cf795f2e0ce90c855

and gets confused if there are spaces in the filename. Secondly, the quoting in the scp upload doesn't cope with multiple spaces. Mysteriously, it does cope with single spaces, eg Firefox

bug 514469 Problem in branding-land for complete mar.

$  make -C obj-firefox/ppc/tools/update-packaging 
mkdir -p ../../dist/update/mac/en-US/
MAR=../../dist/host/bin/mar \
         /builds/slave/macosx_build/build/tools/update-packaging/ \
         "../../dist/update/mac/en-US//namoroka-3.6a1.complete.mar" \
/builds/slave/macosx_build/build/tools/update-packaging/  line 42: pushd: ../../dist/universal/Namoroka/ No such file or directory

The last argument should be


instead. Something wrong in tools/update-packaging/



  • Kicked off new signing on cm-keymaster01
  • hit 3 problems with signing
    • bug 508962 doesn't support different product names
    • bug 508963 Makefile dies if xpis aren't present
    • bug 508965 Product name support is incomplete in the Makefile


  • N/A

Generate updates and push betatest snippets

  • N/A

Update verify

  • N/A

Publish updates to beta channel

  • N/A

Update Bouncer

Done. NB: this is unusual because we use Namoroko-Alpha1 as the product, and the files will live in /pub/ on the mirrors.

Final checks before push

Each of the find calls should return no output.

cd /pub/
find . ! -user ffxbld
find . ! -group firefox
find . -type f ! -perm 644
find . -type d -mindepth 1 ! -perm 755 ! -name 'contrib*'
find . -type d -maxdepth 1 ! -perm 2775  -name 'contrib*'

No Solaris builds at this point, so no output from any of these commands.

Push to mirrors

# login to another build machine as cltbld
# login from there to stage as ffxbld
mkdir /pub/
rsync -av --exclude=*.log --exclude=*.txt --exclude=*unsigned* /pub/ /pub/

NB: the mkdir is only required for the first alpha.

Had an issue with bouncer not reporting any uptake - turns out to be fallout from checking for zh-TW files. That works great for localized releases, because we don't get mirrors with partial content enabled, but not so much for an en-US only release like this. justdave added an exception to the bouncer sentry to resolve this (all paths matching '/namoroka/').

Final Verification


Push updates to release channel



XULRunner build