Bug 188026 - www/firefox: 11.0-CURRENT r262690 ia64, ports tree at 349321: build failure: errors.fatal('Error while running startup cache precompilation')
Summary: www/firefox: 11.0-CURRENT r262690 ia64, ports tree at 349321: build failure: ...
Status: Closed Not Enough Information
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-28 09:20 UTC by Anton Shterenlikht
Modified: 2015-07-28 18:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Shterenlikht 2014-03-28 09:20:00 UTC
The ports hasn't built successfully on ia64
for a number of years. I recently tried to
build it in a poudriere. Here's the full log:

http://eis.bris.ac.uk/~mexas/logs/firefox-28.0,1.log

The error:

resource://app/modules/devtools/StyleEditorUtil.jsm
resource://app/modules/devtools/CmdInspect.jsm
resource://app/modules/devtools/StyleEditorPanel.jsm
Traceback (most recent call last):
  File "../../../toolkit/mozapps/installer/packager.py", line 375, in <module>
    main()
  File "../../../toolkit/mozapps/installer/packager.py", line 367, in main
    args.source, gre_path, base)
  File "../../../toolkit/mozapps/installer/packager.py", line 148, in precompile_cache
    errors.fatal('Error while running startup cache precompilation')
  File "/wrkdirs/usr/ports/www/firefox/work/mozilla-release/python/mozbuild/mozpack/errors.py", line 101, in fatal
    self._handle(self.FATAL, msg)
  File "/wrkdirs/usr/ports/www/firefox/work/mozilla-release/python/mozbuild/mozpack/errors.py", line 96, in _handle
    raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
gmake[2]: *** [stage-package] Error 1
gmake[2]: Leaving directory `/wrkdirs/usr/ports/www/firefox/work/mozilla-release/obj-ia64-portbld-freebsd11.0/browser/installer'
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-28 09:20:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gecko

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Justin Hibbits freebsd_committer freebsd_triage 2015-07-28 17:41:45 UTC
I see this on powerpc and powerpc64 as well.
Comment 3 Jan Beich freebsd_committer freebsd_triage 2015-07-28 18:45:18 UTC
Unfortunately, ia64 is not supported on 11.0-CURRENT anymore and the report is obsolete with firefox 28.0 long being EOL.
https://lists.freebsd.org/pipermail/freebsd-ia64/2014-May/004043.html

As for powerpc or anyone else with xpcshell crashing on install without at least backtrace such reports are not useful. Try for example,

  1. Disable OPTIMIZED_CFLAGS option (default, to avoid -fomit-frame-pointer added by autoconf)
  2. Build with CFLAGS += -g -O0 ; STRIP = ""
  3. Don't clean WRKDIR
  4. Run gdb/lldb against the binary under MOZ_OBJDIR/dist/bin with .core file
  5. Get a stacktrace + locals
  6. File a bug noting what crashed and the likely culprit frame that doesn't change in Summary

Note, DEBUG option builds with more than just symbols. It may disable optimization (JIT, assembly, etc.) that cause the crash.