Subject: Bug#859151: Bug#859271: thunderbird: Please add
build support for m68k



Control: tags -1 pending

Hello Adrian,

On Thu, Jun 01, 2017 at 06:06:53PM +0200, John Paul Adrian Glaubitz wrote:
> Hi Carsten!
>
> On 05/05/2017 11:47 AM, Carsten Schoenert wrote:
> > Could you prepare new updates patches so we can add sparc64 support
> > again? We probably need to upload more than one Debian version of 52.1.0
> > so we could add a updated changeset in -2 or so.
>
> Attaching an updated patch for sparc64. It compiles, but there are some
> issues with xpcshell which I need to figure out:
>
> Executing /<<PKGBUILDDIR>>/obj-thunderbird/dist/bin/xpcshell -g
> /<<PKGBUILDDIR>>/obj-thunderbird/dist/bin/ -a
> /<<PKGBUILDDIR>>/obj-thunderbird/dist/bin/ -f
> /<<PKGBUILDDIR>>/mozilla/toolkit/
> mozapps/installer/precompile_cache.js -e
> precompile_startupcache("resource://gre/");
> ^G[77997] ###!!! ABORT: u_init() failed: file
> /<<PKGBUILDDIR>>/mozilla/xpcom/build/XPCOMInit.cpp, line 709
> [77997] ###!!! ABORT: u_init() failed: file
> /<<PKGBUILDDIR>>/mozilla/xpcom/build/XPCOMInit.cpp, line 709
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/mozilla/toolkit/mozapps/installer/packager.py", line
> 415, in <module>
> main()
> File "/<<PKGBUILDDIR>>/mozilla/toolkit/mozapps/installer/packager.py", line
> 409, in main
> args.source, gre_path, base)
> File "/<<PKGBUILDDIR>>/mozilla/toolkit/mozapps/installer/packager.py", line
> 166, in precompile_cache
> errors.fatal('Error while runni...

ng startup cache precompilation')

> File "/<<PKGBUILDDIR>>/mozilla/python/mozbuild/mozpack/errors.py", line
> 103, in fatal
> self._handle(self.FATAL, msg)
> File "/<<PKGBUILDDIR>>/mozilla/python/mozbuild/mozpack/errors.py", line 98,
> in _handle
> raise ErrorMessage(msg)
> mozpack.errors.ErrorMessage: Error: Error while running startup cache
> precompilation
>
> Please include the patch anyway, I will try to figure out what the problem is
> in the meantime. Might be a local issue, too.

don't give that much on that issue, we had the same problem while
testing xpcshell with autopkg.
It turns out that xpcshell searches for icudt58dl.dat in
/usr/share/thunderbird (in the opposite to the thunderbird binary that
looks in /usr/lib/thunderbird). The current prepared build uses the
internal icu18n implementation instead of using the system library, this is
for Stretch to old. Because of this we've added a extra symlink in the
-dev package and the xpcshell testing is working again.

I can image you've been hitting by the same problem. Otherwise wait
until we switch back to system packages for building thunderbird. It's a
bit annoying to search issues related to the use of internal shipped
stuff.

> PS: The folder with the m68k support patch says "porting-mk68". Could you
> fix that to be "porting-m68k"? Thanks :).

Urgs, yes a stupid typo. Christoph has changed this in preparation for
the upload too. thunderbird should be in NEW soon.

Regards
Carsten



Programming list archiving by: Enterprise Git Hosting