Windows trunk nightly updates broken

The update code that drives the automatic updates was changed at the end of last week, and unfortunately this broke the update mechanism on Windows.

If you downloaded a trunk nightly build on Saturday or Sunday, then you may be affected. You’ll know this is the case if you get a dialog stating “The update could not be installed (patch apply failed)”.

The cause has now been fixed and was included in Monday’s nightly builds.

If this affects you, you will need to download and install a new nightly build from one of these locations:

Thunderbird try server now does xpcshell-tests and TryChooser

Following the switch to libxul, we’ve now been able to turn on xpcshell-tests on the Thunderbird Try server. These tests join the existing MozMill tests.

Both of these are using the packaged tests mechanisms and hence are run on a Thunderbird that has been packaged and then unpackaged. We’ll be moving to this mechanism on our trunk tinderboxes soon, which will mean we can pick up useful QA extras, like running the unit tests on the builds that we’ve done for releases.

The second new feature recently added to Thunderbird Try is the TryChooser. This is based on the same code as Mozilla Try, and can help save everyone’s time (and CPU time) by selecting only the builds you really need to test on.

Thunderbird and SeaMonkey builds switched to libxul-style builds

Last week was a busy week on build config for me – we’ve landed the patches to make Thunderbird and SeaMonkey build “libxul” style by default (we used to build most of the files into one static executable).

The big advantage of this change of build style is that we can move ourselves closer to the way Firefox builds, this should reduce maintenance effort for us, as well as allowing access to newer features that require libxul builds e.g. the out-of-process plugins (IPC) work. There’s also build system improvements that we can pick up (e.g. packaged tests for testing what is actually being shipped)

Now for some Q and A…

Are static/shared builds still supported?

Static builds are no longer supported. Shared builds are currently supported, but there are plans to make these go away, once linking times have been reduced.

Does this mean I can build Thunderbird on top of xulrunner?

Not yet. The method we’re currently doing actually breaks that, but we’re using it as a stop-gap for implementing other ideas that we have. Additionally there is further work to get mailnews compatible with the external xpcom API.

I’m an add-on developer, how does this affect me?

We believe that add-ons should be largely unaffected by this change. The add-ons that may be affected are ones that use binary components – these will now have to link against the external xpcom API. If there are functions that are now not available and suitable replacements can’t be found, please let us know now so that we can work with you to get solutions in place.

I build Thunderbird and/or contribute patches, do I need to change anything in my build?

See this thread for more information on what to change.