git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [ANNOUNCE] GIT 1.5.4-rc2

From
AJAlexandre Julliard <julliard@winehq.org>
Date
Dec 28, 2007, 15:16 UTC
Message-ID
<87sl1m6e9h.fsf@wine.dyndns.org>
In-Reply-To
<20071228150240.GC19928@bit.office.eurotux.com>
Luciano Rocha <luciano@eurotux.com> writes:
Show 20 quoted lines
> On Fri, Dec 28, 2007 at 11:43:53AM +0100, Steffen Prohaska wrote:
>> 
>>  On Dec 27, 2007, at 4:36 AM, Junio C Hamano wrote:
>> 
>> > GIT 1.5.4-rc2 is available at the usual places:
>> 
>> 
>>  The msysgit installer is now available at
>> 
>>     http://code.google.com/p/msysgit/downloads
>> 
>
> Trying to install it in wine ends with:
>
> Runtime Error (at -1:0):
>
> Cannot Import dll:Kernel32.dll.
>
> That popup appears immediately after running wine
> Git-1.5.4-rc2-preview20071228.exe and the installation ends.

That's because it doesn't find CreateHardLinkA. The following Wine patch should enable the installer to succeed.

diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index 7bc5db3..5f6dea6 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -224,8 +224,8 @@
 @ stdcall CreateFileMappingA(long ptr long long long str)
 @ stdcall CreateFileMappingW(long ptr long long long wstr)
 @ stdcall CreateFileW(wstr long long ptr long long long)
-# @ stub CreateHardLinkA
-# @ stub CreateHardLinkW
+@ stub CreateHardLinkA
+@ stub CreateHardLinkW
 @ stdcall CreateIoCompletionPort(long long long long)
 @ stdcall CreateJobObjectA(ptr str)
 @ stdcall CreateJobObjectW(ptr wstr)
-- 
Alexandre Julliard
julliard@winehq.org
Previous: Luciano RochaNext: Luciano Rocha
Message 4 of 5 in “[ANNOUNCE] GIT 1.5.4-rc2”
  1. Junio C HamanoDec 27, 2007
  2. Steffen ProhaskaDec 28, 2007
  3. Luciano RochaDec 28, 2007
  4. Alexandre JulliardDec 28, 2007
  5. Luciano RochaDec 28, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.