Closed Bug 49433 Opened 25 years ago Closed 22 years ago

XPInstall fails with -208 on BSD

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect, P3)

x86
FreeBSD

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: reimers, Assigned: dveditz)

References

()

Details

(Keywords: helpwanted)

From Bugzilla Helper: User-Agent: Mozilla/4.7 [en] (X11; U; FreeBSD 3.2-RELEASE i386) BuildID: Binary Release M17 FreeBSD3.x After finishing the download of an *.xpi file the installer fails during the installation process. Error shown in install.log is -208. This keeps the user from smart installing things. Reproducible: Always Steps to Reproduce: 1. go to URL 2. check install.log 3. Actual Results: Everything works nice - until installationprocess starts Functional: f_adddirfile_permissions ------------------------------------ ** addFile smrtupdt1.txt returns = -208 ** addFile smrtupdt2.txt returns = -208 ** addFile smrtupdt3.txt returns = -208 ** addFile smrtupdt4.txt returns = -208 ** addDirectory 100r returns = -208 ** addDirectory 100rw returns = -208 ** addDirectory 100rx returns = -208 ** addDirectory 100rwx returns = -208 ** addDirectory perms returns = -208 Install cancelled by script Expected Results: Installation should complete without error
Do you have write-access in the directory you've set it to install in?
Yes, write access is turned on in the whole mozilla tree (just in case something is written where I didn't expect it. Besides that : Following the source of XP Install I found in line 127: 127 INVALID_ARGUMENTS = -208 (pasted from CVS-source via Web) Could this really be triggerd by a missing write access?
something is wrong with XPInstall if you're getting -208 (invalid arg) errors on FreeBSD. Inability to write to disk gives you ACCESS_DENIED or maybe EXTRACTION_ERROR (-225).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Build: 2000-08-21-12-M18(LINUX) This test case passes for me. I am not able to reproduce the errors reported.
Right, that's why it's reported against FreeBSD only. Need help debugging on that system (I don't have one).
Keywords: helpwanted
I suspect getFolder() might be returning garbage or null, and then that's passed to the addFile and addDirectory commands. Just a guess due to the platform-specific nature of the directory service.
Summary: XP Install process fails with -208 → XPInstall fails with -208 on BSD
I'm betting this is related to bug 37405
It's the same *kind* of failure if my earlier guess is right, but BSD is failing on all the choices with a testcase that passes on Linux. The other bug is the one "OS Drive" target failing on Linux (and presumably other Unix versions).
This works for me on a CVS build from 20010121 on FreeBSD-current.
Status: NEW → ASSIGNED
Reporter: Is this still a problem with recent builds ?
-> wfm
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.