http://bugs.winehq.org/show_bug.cgi?id=14513
Summary: msysgit installer fails due to missing CreateHardLinkA stub Product: Wine Version: CVS/GIT Platform: PC URL: http://msysgit.googlecode.com/files/Git-1.5.6.1- preview20080701.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: cesar.barros@gmail.com
When attempting to install msysgit on wine-1.1.1-55-g6dd7f06, it fails with a MessageBox "Runtime Error (at -1:0):\r\n\r\nCannot Import dll:Kernel32.dll.". A relay trace shows the failure is because of a failed GetProcAddress of CreateHardLinkA.
A message found at http://www.spinics.net/lists/git/msg53517.html confirms the problem and has a patch which simply uncomments the stubs for CreateHardLinkA and CreateHardLinkW on kernel32.spec. I tested uncommenting both stubs and it is enough for the installation to succeed.