On Thu, Jul 20, 2017 at 1:14 PM, Charles G Robertson <cgrobert...@suse.com>
wrote:

> Hi,
>
> Hopefully someone can help with this build error. I'm building Firefox ESR
> 52.2.0 on an Itanium64 machine. The source build works fine but when I do
> the make install build it fails with "too much recursion" error:
> ============================================================
> ======================
> $ make -C browser/installer STRIP=/bin/true MOZ_PKG_FATAL_WARNINGS=0
> make: Entering directory `/usr/src/packages/BUILD/obj/browser/installer'
> make[1]: Entering directory `/usr/src/packages/BUILD/obj/b
> rowser/installer'
> ...
> Warning: /usr/src/packages/BUILD/mozilla/browser/installer/package-
> manifest.in:663: Missing file(s): bin/defaults/pref/kde.js
> Executing /usr/src/packages/BUILD/obj/dist/bin/xpcshell -g
> /usr/src/packages/BUILD/obj/dist/bin/ -a /usr/src/packages/BUILD/obj/dist/bin/
> -f 
> /usr/src/packages/BUILD/mozilla/toolkit/mozapps/installer/precompile_cache.js
> -e precompile_startupcache("resource://gre/");
> *too much recursion*
> Traceback (most recent call last):
>   File 
> "/usr/src/packages/BUILD/mozilla/toolkit/mozapps/installer/packager.py",
> line 415, in <module>
>     main()
>   File 
> "/usr/src/packages/BUILD/mozilla/toolkit/mozapps/installer/packager.py",
> line 409, in main
>     args.source, gre_path, base)
>   File 
> "/usr/src/packages/BUILD/mozilla/toolkit/mozapps/installer/packager.py",
> line 166, in precompile_cache
>     errors.fatal('Error while running startup cache precompilation')
>   File "/usr/src/packages/BUILD/mozilla/python/mozbuild/mozpack/errors.py",
> line 103, in fatal
>     self._handle(self.FATAL, msg)
>   File "/usr/src/packages/BUILD/mozilla/python/mozbuild/mozpack/errors.py",
> line 98, in _handle
>     raise ErrorMessage(msg)
> mozpack.errors.ErrorMessage: Error: Error while running startup cache
> precompilation
> make[2]: *** [stage-package] Error 1
> make[2]: Leaving directory `/usr/src/packages/BUILD/obj/browser/installer'
> make[1]: *** [make-package] Error 2
> make[1]: Leaving directory `/usr/src/packages/BUILD/obj/browser/installer'
> make: *** [default] Error 2
> make: Leaving directory `/usr/src/packages/BUILD/obj/browser/installer'
> ============================================================
> ======================
>
> Error highlighted in bold. The error seems to occur in the
> precompile_cache.js module after it is loaded and run by the xpcshell tool.
> This error only occurs on the IA64 build and no other architecture.
>
> Can someone give me some ideas on how to solve this? I'm at a loss.
>
>
I'm not sure why the recursion error is showing up, but since 52 we have
disabled the precompiled startup cache in bug 1351071 [1]. You might be
able to backport that patch and try building with that. Another option
would be to add --disable-startupcache in your mozconfig, but that will
both disable the precompiled cache (which is where you're hitting an error)
and the actual cache at runtime, which I think is not something you'd want
to do.

-Mike

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1351071
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to