Closed
Bug 263524
Opened 20 years ago
Closed 20 years ago
0.10.1 build breaks when using custom DESTDIR
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: bugs, Assigned: bryner)
References
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040914
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040914
Any build with using "make DESTDIR=/tmp/firefox-build-whatever install" will
fail at the profile copying. Line 319 in mozilla/browser/app/Makefile.in needs
to be changed from (w/context):
install:: $(srcdir)/profile/prefs.js
$(SYSINSTALL) $(IFLAGS1) $^ $(destdir)$(bindir)/defaults/profile
to:
install:: $(srcdir)/profile/prefs.js
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(bindir)/defaults/profile
Reproducible: Always
Steps to Reproduce:
Pull from CVS and build!
Actual Results:
nsinstall complains about trying to install the prefs.js file into /usr/local/bin
Expected Results:
Installed into $DESTDIR/usr/local/bin
It's a simple patch to fix.
Comment 1•20 years ago
|
||
Yep, I confirm that this problem exists. Verify by setting the DESTDIR to somewhere that a user has write permissions to, and then do the install as non-root. Assuming that the non-root user does not have access to $(bindir)/defaults/profile (safe bet), then the install will fail. We have come across this problem while building for OpenEmbedded.
Comment 2•20 years ago
|
||
This also happens to me on Solaris with the firefox 1.0 source tar file.
Comment 3•20 years ago
|
||
Confirmed but no longer interesting because the Firefox 1.0 branch has been closed. On the trunk it has been fixed, see bug 255958.
| Reporter | ||
Comment 4•20 years ago
|
||
Yep, that's a dup of this bug. I'll fix the dependency on this bug and close it.
Comment 5•20 years ago
|
||
Please close it as a DUPLICATE, WORKSFORME or INVALID if there wasn't an actual fix in this bug. See https://bugzilla.mozilla.org/bug_status.html .
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Comment 6•20 years ago
|
||
Bug 263524 is a DUPLICATE from this one.
Comment 7•20 years ago
|
||
Ehmm bug 255775 is a duplicate from this one
Comment 8•20 years ago
|
||
WFM per comment 3.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → WORKSFORME
Comment 9•20 years ago
|
||
*** Bug 255775 has been marked as a duplicate of this bug. ***
Updated•6 years ago
|
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.
Description
•