[Bug 24018] Cygwin 1.7.6 installer crashes at start of postinstall

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jul 5 10:54:47 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=24018

Alan W. Irwin <irwin at beluga.phys.uvic.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |irwin at beluga.phys.uvic.ca

--- Comment #15 from Alan W. Irwin <irwin at beluga.phys.uvic.ca> 2013-07-05 10:54:47 CDT ---
I now can run setup.exe without run-time errors.  Here is how I did that.

1. Use Wine-1.6-rc4 patched with Andrey Turkin's "Hackish patch to fix APC
problem" (see attachment here)

2. Run setup.exe in download mode (this always worked as far as I know).

3. Update the download tree created by step 2 using the replace_cygwin1.dll.sh
I have attached.  See instructions associated with that attachment.

4. Run setup.exe in local mode to install cygwin using the download tree as the
local source.  That final install step now runs without run-time errors. 
However, as remarked by Andrey already there are non-zero return codes for some
of the scripts that are run.  I will attach a complete listing of output from
this run of startup.exe to give complete context and only mention the error
messages here.

/etc/postinstall/000-cygwin-post-install.sh:

/etc/postinstall/000-cygwin-post-install.sh: line 50: cannot create temp file
for here-document: Invalid request code
/etc/postinstall/000-cygwin-post-install.sh: line 108: /dev/null: No such
device or address
mkdir: cannot create directory `/dev/shm': Read-only file system

Creating /dev/shm directory failed.
POSIX semaphores and POSIX shared memory will not work

mkdir: cannot create directory `/dev/mqueue': Read-only file system

Creating /dev/mqueue directory failed.
POSIX message queues will not work

mkpasswd (370): [5] Access denied.^M
mkgroup (493): [5] Access denied.^M
sed: couldn't flush stdout: Invalid argument
rm: cannot remove `/tmp/group.mkgroup': Invalid request code

That script had a 0 return code, but nevertheless those error messages sound
serious. 

/etc/postinstall/update-info-dir.sh"
/etc/postinstall/update-info-dir.sh: line 18: /dev/null: No such device or
address

abnormal exit: exit code=1


/etc/postinstall/bash.sh:
ln: failed to create symbolic link `/dev/stdin': Read-only file system
ln: failed to create symbolic link `/dev/stdout': Read-only file system
ln: failed to create symbolic link `/dev/stderr': Read-only file system
ln: failed to create symbolic link `/dev/fd': Read-only file system

abnormal exit: exit code=1


/etc/postinstall/coreutils.sh:
xargs: ‘/dev/null’: No such device or address
rebase: failed to rename "/etc/rebase.db.RIRMJ5" to "/etc/rebase.db.i386":
Invalid request code
Manually rename "/etc/rebase.db.RIRMJ5" to "/etc/rebase.db.i386",
otherwise the new rebase database will be unusable.
rm: cannot remove `/tmp/rebase.lst': Invalid request code

abnormal exit: exit code=2


/etc/postinstall/base-files-mketc.sh:
cygwin warning:
  MS-DOS style path detected: C:\windows\system32\drivers\etc
  Preferred POSIX equivalent is: /cygdrive/c/windows/system32/drivers/etc
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Directory C:\windows\system32\drivers\etc does not exist; exiting
If directory name is garbage you need to update your cygwin package

abnormal exit: exit code=1

Comment: most of the above errors seem pretty serious.  But I noticed that the
first postinstall script created an empty /etc/fstab file rather than what was
intended (presumably because of some Wine bug or regression) and that may have
had a snowball effect on everything else resulting in the many "Read-only file
system" error messages above.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list