[Bug 19856] New: cygwin's gcc package does not install /bin/cc because cygwin's bash can't run some programs under wine

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Aug 27 11:08:47 CDT 2009


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 at winehq.org
        ReportedBy: dank at 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

-- 
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