Closed
Bug 254557
Opened 22 years ago
Closed 21 years ago
mail/app/Makefile.in DESTDIR typo lets 'make install DESTDIR=/tmp/somedir/' fail
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird1.1
People
(Reporter: asac, Assigned: mscott)
References
Details
Attachments
(1 file)
|
373 bytes,
patch
|
benjamin
:
review+
benjamin
:
approval-aviary1.1a1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040614 Firefox/0.8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040614 Firefox/0.8
building the latest AVIARY version thunderbird fails when I use
make install DESTDIR=/tmp/somedir as a normal user.
I looked into the mozilla/mail/app/Makefile.in and found a typo for destdir.
Reproducible: Always
Steps to Reproduce:
1. make
2. make install DESTDIR=/tmp/somedir - as a non-privileged user
Actual Results:
fails with no write permissions to /usr/...
I attached the needed patch chunk for mail/app/Makefile.in here:
@@ -303,4 +303,4 @@
$(INSTALL) $^ $(DIST)/bin/defaults/profile
install:: $(srcdir)/profile/prefs.js
- $(SYSINSTALL) $(IFLAGS1) $^ $(destdir)$(bindir)/defaults/profile
+ $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(bindir)/defaults/profile
| Reporter | ||
Updated•22 years ago
|
Summary: mail/app/Makefile.in DESTDIR type lets make install DESTDIR= fail → mail/app/Makefile.in DESTDIR typo lets 'make install DESTDIR=/tmp/somedir/' fail
Comment 1•22 years ago
|
||
I do see this as well. As a quick fix for people trying to install Thunderbird
after building from source, one can just search for $(destdir) in
mozilla/mail/app/Makefile and replace it by $(DESTDIR).
BTW: I think bug 258177 is a duplicate of this one. Why did you file another one?
| Reporter | ||
Comment 2•22 years ago
|
||
*** Bug 258177 has been marked as a duplicate of this bug. ***
Comment on attachment 164974 [details] [diff] [review]
A simple fix
Note that I am changing $(bindir) to $(mozappdir)
Attachment #164974 -
Flags: review?(mscott)
Comment 5•21 years ago
|
||
This applies to Firefox as well, and Firefox 1.0 shipped without a patch for it.
Very sad... Should another bug be opened for Firefox? And why is no-one with
sufficient rights working on this one? It can be reproduced 100% and we have a fix.
Just as I said in comment #1, patching the Makefile works. Just replace mail/ by
browser/.
Comment 6•21 years ago
|
||
The correspondig bug for Firefox has been fixed (bug 255958; bug 263524 seems to
be the same but it's still not closed). What about this one?
Flags: blocking-aviary1.0?
Comment 7•21 years ago
|
||
won't make the 1.0 train, minusing. sounds like there are a few workarounds.
Flags: blocking-aviary1.0? → blocking-aviary1.0-
| Reporter | ||
Comment 8•21 years ago
|
||
can someone please confirm this bug? or maybe just review the attached patch?
| Assignee | ||
Comment 9•21 years ago
|
||
Comment on attachment 164974 [details] [diff] [review]
A simple fix
I'll let Benjamin decide what the right thing is here. The patch seems fine to
me but I know little about these things.
Did you want to attach a patch for Firefox too?
Attachment #164974 -
Flags: review?(mscott) → review?(benjamin)
| Reporter | ||
Comment 10•21 years ago
|
||
> Did you want to attach a patch for Firefox too?
Scott,
I don't think this is necessary anymore. I see this fixed in ffox 1.0.3. Unless
has not been merged to the trunk, it should be fine.
Updated•21 years ago
|
Attachment #164974 -
Flags: review?(benjamin)
Attachment #164974 -
Flags: review+
Attachment #164974 -
Flags: approval-aviary1.1a+
Updated•21 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Updated•21 years ago
|
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird1.1
Comment 11•21 years ago
|
||
Just one question: Has anything been checked in? I mean, comments 9 an 10 were
about *Firefox*. I already stated in comment 6, about *four months ago*, that
the *corresponding* Firefox bug had been fixed. *This* bug is about Thunderbird,
concerning *different* files, as far as I know. So how can *this bug* be fixed?
| Reporter | ||
Comment 12•21 years ago
|
||
Jens,
everthing is fine ... Scott checked in this patch for thunderbird.
Comment 13•21 years ago
|
||
*** Bug 305917 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•