Closed Bug 252063 Opened 20 years ago Closed 20 years ago

Linux Firefox Installer fails to launch

Categories

(Firefox Build System :: General, defect)

1.0 Branch
All
Linux
defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bryner, Assigned: benjamin)

References

Details

(Keywords: smoketest)

On a clean build pulled after bsmedberg's checkin at 7/18/2004 18:36, the
browser window does not come up; there is an XML undefined entity error.  Here's
the console output from a debug build:

WARNING: chrome: failed to get base url for
chrome://global/content/bindings/scrollbar.xml -- using wacky default, file
/builds/mozilla/aviary/mozilla/chrome/src/nsChromeRegistry.cpp, line 529
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
/builds/mozilla/aviary/mozilla/content/xbl/src/nsXBLService.cpp, line 1230
WARNING: chrome: failed to get base url for
chrome://global/content/bindings/scrollbar.xml -- using wacky default, file
/builds/mozilla/aviary/mozilla/chrome/src/nsChromeRegistry.cpp, line 529
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
/builds/mozilla/aviary/mozilla/content/xbl/src/nsXBLService.cpp, line 1230
###!!! ASSERTION: What is this frame doing here?: 'understood', file
/builds/mozilla/aviary/mozilla/layout/html/base/src/nsGfxScrollFrame.cpp, line 486
Break: at file
/builds/mozilla/aviary/mozilla/layout/html/base/src/nsGfxScrollFrame.cpp, line 486

It looks like the 'global' package is not being registered; looking inside the
jar file I see an empty contents.rdf.
Here is the xul error I get with a build including bsmedberg's checkin at
7/18/2004 18:36 :

<window id="main-window"
^

It seems to break thunderbird too. I tried a build including this checkin too,
and I get a small window saying :

<dialog
^

:[
Flags: blocking-aviary1.0RC1?
Flags: blocking-aviary1.0?
configure output:
creating toolkit/content/contents-platform.rdf
sed: can't read ./toolkit/content/contents-platform.rdf.in: No such file or
directory
creating toolkit/content/contents-region.rdf
sed: can't read ./toolkit/content/contents-region.rdf.in: No such file or directory
creating toolkit/content/contents.rdf
sed: can't read ./toolkit/content/contents.rdf.in: No such file or directory
creating toolkit/locale/contents-platform.rdf
creating toolkit/locale/contents-region.rdf
sed: can't read ./toolkit/locale/contents-region.rdf.in: No such file or directory
creating toolkit/locale/contents.rdf
sed: can't read ./toolkit/locale/contents.rdf.in: No such file or directory
creating toolkit/components/passwordmgr/resources/content/contents.rdf
creating toolkit/components/passwordmgr/resources/locale/contents.rdf
creating toolkit/mozapps/contents-content.rdf
creating toolkit/mozapps/contents-locale.rdf
sed: can't read ./toolkit/mozapps/contents-locale.rdf.in: No such file or directory

These files
mozilla/toolkit/content/contents-platform.rdf
mozilla/toolkit/content/contents-region.rdf
mozilla/toolkit/content/contents.rdf
are no longer supposed to be processed by configure. bsmedberg removed the
respective .rdf.in files:
http://lxr.mozilla.org/aviarybranch/find?string=contents*.rdf.in
But he didn't remove the entries from allmakefiles.sh. So on running configure,
these files are overwritten by empty files.

The same applies to
mozilla/toolkit/locale/contents-region.rdf
mozilla/toolkit/locale/contents.rdf
mozilla/toolkit/mozapps/contents-locale.rdf
but there doesn't seem to be an issue since these are not in cvs (aviary) anyway.
I just checked in a fix to allmakefiles.sh.
Please check out these files again
mozilla/toolkit/content/contents-platform.rdf
mozilla/toolkit/content/contents-region.rdf
mozilla/toolkit/content/contents.rdf
go to mozilla/toolkit/content and do make.
I built a firefox with your checkin and I get a working firefox. Thanks for the
patch.
-> Build Config, 1.0 Branch, taking, and ...
Assignee: bsmedberg → steffen.wilberg
Component: General → Build Config
Flags: blocking-aviary1.0RC1?
Flags: blocking-aviary1.0?
QA Contact: firefox.general → asa
Version: unspecified → 1.0 Branch
... fixed!

Checkin was 2004-07-19 02:40. Someone still needs to fix the tinderboxes unless
they decide to clobber themselves.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
The 7/19 Thunderbird installer build just hangs on startup. No window comes up
and you have to kill the process. Is this the same sympton Firefox has? The 7/19
build was built without the regression fix I believe. 
Scott, the Firefox installer works fine.
Have a look at bsmedberg's checkin from 2004-07-19 06:43, which adjusts the
Firefox installer to changes he made earlier (2004-07-19 06:03). I bet you need
to port that to mail/installer/windows/.
Scott: Could you please let us know in this bug the TB bug number, or when the
TB bug is fixed, so we know when we can start testing the TB nightlies again?
Thunderbird's problem is bug 252127.
This is still blocking Firefox 0.9+ linux branch builds from launching.  
Seen with 2004-07-20-13-0.9 linux build.

during installation an error dialog appeared:

Error[-621]:An Installer modulelangenus.xpi (.xpi) failed to install
Okay and continue with installation, then this appears in a tiny window titled
gecko.

<dialog
^

MAc and Windows builds for yesterday and today install and launch fine.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
"Okay and continue with installation, then this appears in a tiny window titled
gecko.

<dialog
^"

That's what I see with the thunderbird build including the latest changes from
this morning on windows when I try to launch with -ProfileManager
-> bsmedberg.
Assignee: steffen.wilberg → bsmedberg
Status: REOPENED → NEW
I just deleted all the firefox profiles and profile.ini. Now on launch I get
this message in a small window:

<wizard id="migrationWizard"
^
Does this only affect Linux installer builds, or is the non-installer build
broken as well?
OS: All → Linux
Non-installer build works fine.
OS: Linux → All
bsmedburg,  any thoughts on how to get the installers going again?
OS: All → Linux
Summary: Firefox doesn't start (clean build) → Linux Firefox Installer fails to launch
I just checked in a fix for the linux firefox installer (there was a typo in the
langenus.xpi install.js file).

I'm still kinda stumped by the thunderbird installer problems. It's either I'm
forgetting some files in mail/config/en-US-jar.mn, or there's a registration
problem in the install.js file, but I just downloaded the latest build from
patrocles and the obvious supects from en-US-jar.mn are all fixed now. I'm
starting a debug installer build, so if all else fails I can brute-force find
the problem.
OK, there are a series of issues going on here, all getting confused:

Some people still have an old copy of toolkit/content/contents-platform.rdf in
their build tree, which can cause CVS conflicts if you're using a srcdir build
and can cause silent malfunction if you're using an objdir build. I think that
this problem is affecting the patrocles tinderbox. This problem can affect both
thunderbird and firefox builds. I cannot find any automated way to fix it.

There was a typo in the unix installer version of langenus install.js file. This
is now fixed. Since this bug is about firefox, I'm going to mark it FIXED and
use bug 252127 to cover any remaining thunderbird issues.
Status: NEW → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
*** Bug 252470 has been marked as a duplicate of this bug. ***
verified with linux firefox 0.9 branch build 2004-07-21-11-0.9
Status: RESOLVED → VERIFIED
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.