Closed Bug 263509 Opened 20 years ago Closed 20 years ago

Unable to build without '--enable-single-profile' build option.

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bbpursell, Assigned: bryner)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i586; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: 

Since version 0.10 (using official release tags, not nightlies), I am unable to
build FF without choosing the --enable-single-profile option.  This forces me to
make separate installations of FF for each user of my system.  The problem is
the removal of a few methods from nsIXULChromeRegistry (in
/mozilla/content/base/public/nsIChromeRegistry.idl), which are used by
/mozilla/profile/src/nsProfile.cpp.

This change seems to have occurred in version 1.6.1.2.2 of
nsIChromeRegistry.idl.  The change seems to have occurred in the patch from bug
<a href=https://bugzilla.mozilla.org/show_bug.cgi?id=246014>246014</a>.

Basically, if the '--enable-single-profile' option is selected, the
/mozilla/profile directory is largely ignored, but if that directory is not
ignored, it cannot be built due to the fact that it cannot find the neccessary
methods.

Reproducible: Always
Steps to Reproduce:
1.Do not put ac_add_option --enable-single-profile in the .mozconfig file or
select it as a configure script option.
2.Attempt to build.

Actual Results:  
Build fails when trying to compile /mozilla/profile/src/nsProfile.cpp due to
being unable to find various expected functions in the nsIXULChromeRegistry
interface.

Expected Results:  
Successful build.

Also reported by someone else in the mozillazine forums:

http://forums.mozillazine.org/viewtopic.php?t=126743
-->invalid
Building without --enable-single-profile is not supported, you need to include
browser/config/mozconfig (or the options of it) in your .mozconfig
--enable-single-profile just has the effect that you can't do runtime switching
between different profiles, but you have to restart Firefox to open a another
profile. enable-single-profile does NOT mean that you're forced to use one
profile only.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
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.