http://bugs.winehq.org/show_bug.cgi?id=19856
Summary: cygwin's gcc package does not install /bin/cc because cygwin's bash can't run some programs under wine Product: Wine Version: 1.1.27 Platform: PC OS/Version: Linux Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
I've seen this before with other scripts, but now it's breaking cygwin's setup utility. Installing the gcc package is also supposed to install /bin/cc (which is needed by lots of build scripts, e.g. cmake's). But on Wine, cygwin's setup fails to do this. It seems that the postinstall script tries to run /usr/sbin/update-alternatives but fails.
$ wine 'c:\cygwin\bin\bash' postinst.sh fixme:ntdll:NtSetInformationToken unimplemented class 4 fixme:advapi:ImpersonateLoggedOnUser (0xa4) fixme:ntdll:NtQueryObject Unsupported information class 1 fixme:ntdll:NtQueryVolumeInformationFile 0xf4: volume info not supported fixme:ntdll:NtQueryVolumeInformationFile 0x118: volume info not supported fixme:advapi:ImpersonateLoggedOnUser (0xb8) fixme:ntdll:NtQueryVolumeInformationFile 0x24: volume info not supported postinst.sh: line 7: /usr/sbin/update-alternatives: Bad address fixme:advapi:ImpersonateLoggedOnUser (0xc4) 16 [main] bash 29! _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) fixme:ntdll:NtQueryVolumeInformationFile 0x104: volume info not supported /usr/sbin/update-alternatives: /usr/sbin/update-alternatives: cannot execute binary file