Closed Bug 142107 Opened 22 years ago Closed 22 years ago

Installer fails

Categories

(SeaMonkey :: Installer, defect, P1)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0

People

(Reporter: tracy, Assigned: samir_bugzilla)

Details

(Whiteboard: [adt1] [ETA 05/06] [m5+])

Attachments

(3 files, 1 obsolete file)

seen with today's linux branch builds.

-attempt to install the build

it fails after a series of -621 errors.

leaf tells me sean su is looking into it. I assigned it to him.
Keywords: smoketest
Summary: Installer fails → Installer fails
a few duplicates in bugscape
QA Contact: bugzilla → ktrina
this happens to mozilla too.  
Keywords: nsbeta1+
Priority: -- → P1
Whiteboard: [adt1] [ETA Needed]
Target Milestone: --- → mozilla1.0
Attached image screen shot
Here's what it looks like when it fails for me.  When I tell the installer to
install into a specific directory, it installs a series of files with
consecutive integers appended to the name of the directory in which I wanted
the files to be installed.  In other words, if I specify that mozilla should be
installed in the directory "/home/myk/foo/bar" I get the following files:

/home/myk/foo/bar-1
/home/myk/foo/bar-2
etc.

This goes up to about 323 before it craps out with the error message in the
screen shot.
reassigning to Samir since he's taking a look at it right now ;).  Thanks Samir.
Assignee: ssu → sgehani
Can't repro in the browser (successfully installed inspector.xpi) which means we
are probably trying to exercise code from  a dll that is not packaged in
xpcom.xpi.  Next step is to investigate using a debug installer.
Status: NEW → ASSIGNED
Keywords: smoketest
Whiteboard: [adt1] [ETA Needed] → [adt1] [ETA 2002-05-07]
ssu, please r.
alecf, please sr.
Keywords: patch, review
Whiteboard: [adt1] [ETA 2002-05-07] → [adt1] [ETA 2002-05-06] [Need r, sr, driver's a, adt's a]
Comment on attachment 82348 [details] [diff] [review]
Move libuconv.so to xpcom.xpi since we now need it at install-time.

r=ssu
Attachment #82348 - Flags: review+
libuconv?! It was alecf's removal of the uconv depndency in bug 
100676 that caused bug 125106 in the first place!
Comment on attachment 82348 [details] [diff] [review]
Move libuconv.so to xpcom.xpi since we now need it at install-time.

sr=dveditz
Attachment #82348 - Flags: superreview+
i am confused. wasn' the linux install issue resolved by the backout of bug
125106, by leaf?
Keywords: approval
Whiteboard: [adt1] [ETA 2002-05-06] [Need r, sr, driver's a, adt's a] → [adt1] [ETA 05/05] [Need r, sr, driver's a, adt's a] [m5+]
Keywords: adt1.0.0
Whiteboard: [adt1] [ETA 05/05] [Need r, sr, driver's a, adt's a] [m5+] → [adt1] [ETA 05/05] [Needs Driver's a=] [m5+]
Wow, yeah this seems really lame. I mean, xpi packaging is really beyond the
scope of my modularity work, but it seems pretty lame that we need uconv here.
Regarding comment 11: yes, the linux install issue is resolved for now.  But
when we land the patch for bug 125106 again then we should land this patch as well.

Regarding comment 13: I'll try to debug XPInstall more to find the offending
code to hopefully truly break the dependency on uconv.  Failing teh arrival of
such a patch in a ``timely'' manner, we can ship beta with the current patch
(attachment 82348 [details] [diff] [review]).
Comment on attachment 82348 [details] [diff] [review]
Move libuconv.so to xpcom.xpi since we now need it at install-time.

a=asa (on behalf of drivers) for checkin to the 1.0 branch.
Attachment #82348 - Flags: approval+
Attachment #82513 - Attachment is obsolete: true
Whiteboard: [adt1] [ETA 05/05] [Needs Driver's a=] [m5+] → [adt1] [ETA 05/06] [Needs plus on adt1.0.0 nomination] [m5+]
Is the failure return the only effect of the uncov lib not being there? And what
possible areas would break based on handling the error in the way you do? We can
be pretty sure that by making uconv available to the linux installer we will
work without regressions (even if the installer size is 3x, I prefer no
regressions).
adt1.0.0+ (on ADT's behalf) approval for checkin to the 1.0 brnach. Pls check
this in asap, then add the fixed1.0.0 keyword.
Keywords: adt1.0.0adt1.0.0+
Whiteboard: [adt1] [ETA 05/06] [Needs plus on adt1.0.0 nomination] [m5+] → [adt1] [ETA 05/06] [m5+]
Syd,
Regarding comment 17 I agree we should take my first patch (attachment 82348 [details] [diff] [review])
for beta (and maybe even for RTM).  After I check my patch into the branch Dan
(or install folks deemed appropriate) can run with the newer patch I have
attached.  I think we haven't covered all our bases cause I found other
AppendUnicode() calls whose rv was not being checked.  Both patches fix the
linux installer problem though and install ``working'' builds.
Comment on attachment 82514 [details] [diff] [review]
Same as last patch but with fixed comments.

interesting approach, but be forwarned this will probably change in some way
once darin lands his nsIFile/utf8 patch... that doesn't land until later
though. 

Come to think of it, I'm not sure this will actually fix the problem on
non-ASCII systems though. "Lossy" is the key word - dan has switched the
installer over to using native paths where appropriate, and I think all you're
doing here is munging the native path into some ugly ascii string.

I actually think that darin's UTF8/nsIFile patch may fix THIS bug, when it does
finally land on the branch.
Alec,
I was porting Dan's approach (see nsInstallFolder.cpp rev 1.197.2.2) from
nsInstallFolder.cpp to nsInstallFile.cpp.  Since we are checking in the first
patch we can leave this to Dan post-beta when hopefully Darin's checkin fixes this.
I landed 82348 on the BRANCH.
Marking as fixed1.0.0, since Dougt landed attachment 82348 [details] [diff] [review] on the branch.
Keywords: fixed1.0.0
Shouldn't this be resolved as fixed, since it was apparently only a problem on
the branch?
Thanks Doug!
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
verified fixed with linux commercial build 2002-05-07-08-1.0.0
Status: RESOLVED → VERIFIED
adding verified1.0.0 keyword ( tested on branch too)
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: