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.
http://bugs.winehq.org/show_bug.cgi?id=14513
--- Comment #1 from Vijay Kamuju infyquest@gmail.com 2008-07-16 14:17:27 --- please send a patch uncommenting those stubs to wine-patches@winehq.org
http://bugs.winehq.org/show_bug.cgi?id=14513
--- Comment #2 from Cesar Eduardo Barros cesar.barros@gmail.com 2008-07-20 08:01:58 --- The code which uses CreateHardLinkA can be found at http://repo.or.cz/w/msysgit.git?a=blob;f=share/WinGit/install.iss;h=0f0514d7... . For some reason it doesn't think it's on NTFS, so it doesn't actually call CreateHardLinkA. For when it starts thinking Wine uses NTFS, it would be better to actually implement a stub for both functions (it falls back to copying if CreateHardLink fails).
http://bugs.winehq.org/show_bug.cgi?id=14513
--- Comment #3 from Cesar Eduardo Barros cesar.barros@gmail.com 2008-07-20 09:18:28 --- Created an attachment (id=14935) --> (http://bugs.winehq.org/attachment.cgi?id=14935) Proposed patch
Proposed patch, currently untested.
http://bugs.winehq.org/show_bug.cgi?id=14513
--- Comment #4 from Cesar Eduardo Barros cesar.barros@gmail.com 2008-07-21 09:14:02 --- I tested the patch on wine-1.1.1-191-g5798b95 and it works. Will send to wine-patches later.
http://bugs.winehq.org/show_bug.cgi?id=14513
--- Comment #5 from Cesar Eduardo Barros cesar.barros@gmail.com 2008-07-22 08:03:15 --- Sent the patch to wine-patches earlier this morning, it seems to be waiting moderation (hasn't appeared at the archives yet).
http://bugs.winehq.org/show_bug.cgi?id=14513
Cesar Eduardo Barros cesar.barros@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from Cesar Eduardo Barros cesar.barros@gmail.com 2008-07-28 09:10:16 --- Fixed in wine-1.1.2
http://bugs.winehq.org/show_bug.cgi?id=14513
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2008-08-22 10:47:51 --- Closing bugs fixed in 1.1.3.
http://bugs.winehq.org/show_bug.cgi?id=14513
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified