<p>I also had issues building the project that I checked out from cvs. I am running windows XP and building the solution in Visual Studio Pro 2005 with service pack 1 (KB926601) installed. In my source tree, I have all the patch files that are listed in the thread with Coockie_jr. The error was in vcInstallPatch, here is the output:
</p>
<p>Generating ../vcInstall_stamp.c<br>Executing C:\gccxml-cvs\gccxml\GCC_XML\VcInstall\vccat.exe C:\gccxml-cvs\gccxml\GCC_XML\VcInstall\vc8sp1Include.patch | C:\gccxml-cvs\gccxml\GCC_XML\VcInstall\vcpatch.exe -p0 -t -d C:\gccxml\GCC_XML\Support\Vc8\Include
<br>Error running patch.  Output is [patching file `comdef.h'<br>Hunk #2 succeeded at 159 (offset -4 lines).<br>patching file `comip.h'<br>patching file `comutil.h'<br>patching file `crtdefs.h'<br>Hunk #1 succeeded at 614 (offset -50 lines).
<br>Hunk #3 succeeded at 731 (offset -50 lines).<br>Hunk #5 succeeded at 919 (offset -50 lines).<br>Hunk #6 FAILED at 974.<br>Hunk #8 FAILED at 1114.<br>Hunk #9 succeeded at 1109 (offset -50 lines).<br>Hunk #11 succeeded at 1199 (offset -50 lines).
<br>Hunk #13 succeeded at 1304 (offset -50 lines).<br>Hunk #15 succeeded at 1409 (offset -50 lines).<br>Hunk #17 succeeded at 1503 (offset -50 lines).<br>Hunk #18 FAILED at 1550.<br>Hunk #19 FAILED at 1593.<br>Hunk #20 FAILED at 1636.
<br>Hunk #21 FAILED at 1679.<br>6 out of 21 hunks FAILED -- saving rejects to crtdefs.h.rej<br>patching file `deque'<br>patching file `eh.h'<br>patching file `functional'<br>patching file `iostream'<br>patching file `iso646.h'
<br>patching file `iterator'<br>patching file `list'<br>patching file `math.h'<br>Hunk #1 succeeded at 132 with fuzz 1.<br>patching file `process.h'<br>patching file `setjmp.h'<br>patching file `signal.h'
<br>patching file `typeinfo'<br>patching file `vector'<br>patching file `xlocale'<br>patching file `xstddef'<br>patching file `xutility'<br>Hunk #2 succeeded at 1723 (offset -38 lines).<br>patching file `yvals.h'
<br>Hunk #1 succeeded at 485 (offset -33 lines).<br>Hunk #3 succeeded at 695 (offset -33 lines).<br>]<br>Executing C:\gccxml-cvs\gccxml\GCC_XML\VcInstall\vccat.exe C:\gccxml-cvs\gccxml\GCC_XML\VcInstall\vc8sp1PlatformSDK.patch | C:\gccxml-cvs\gccxml\GCC_XML\VcInstall\vcpatch.exe -p0 -t -d C:\gccxml\GCC_XML\Support\Vc8\PlatformSDK
<br>Project : error PRJ0019: A tool returned an error code from "Generating ../vcInstall_stamp.c"</p>
<p><br>However, when I uninstall the service pack for visual studio, the build passes without any issues. Unlike coockie_jr, I do not have KB926607 in my registry. What I have is<br>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\InstalledProducts\KB926601
</p>
<p>which is the english version, also released on 6/30/2007 and downloaded from<br><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=BB4A75AB-E2D4-4C96-B39D-37BAF6B5B1DC&displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=BB4A75AB-E2D4-4C96-B39D-37BAF6B5B1DC&displaylang=en
</a></p>
<p>Just wanted to give a heads up that its not only an issue with the KB926607 update that coockie_jr had and I'm wondering if there are any other known workarounds other than uninstalling the service pack.</p>
<p>Thanks!</p>-Grant<br><br>
<div><span class="gmail_quote">On 7/12/07, <b class="gmail_sendername"><a href="mailto:gccxml-request@gccxml.org">gccxml-request@gccxml.org</a></b> <<a href="mailto:gccxml-request@gccxml.org">gccxml-request@gccxml.org
</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Send gccxml mailing list submissions to<br>       <a href="mailto:gccxml@gccxml.org">gccxml@gccxml.org</a>
<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>       <a href="http://www.gccxml.org/mailman/listinfo/gccxml">http://www.gccxml.org/mailman/listinfo/gccxml</a><br>or, via email, send a message with subject or body 'help' to
<br>       <a href="mailto:gccxml-request@gccxml.org">gccxml-request@gccxml.org</a><br><br>You can reach the person managing the list at<br>       <a href="mailto:gccxml-owner@gccxml.org">gccxml-owner@gccxml.org</a><br><br>
When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of gccxml digest..."<br><br><br>Today's Topics:<br><br>  1. Re:  Error with vcInstallPatch building (Coockie_jr)<br>  2. Re:  Error with vcInstallPatch building (Brad King)
<br>  3. Re:  Error with vcInstallPatch building (Coockie_jr)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 12 Jul 2007 12:25:30 +0200<br>From: Coockie_jr <
<a href="mailto:achille.talon@gmail.com">achille.talon@gmail.com</a>><br>Subject: Re: [GCC-XML] Error with vcInstallPatch building<br>To: "Brad King" <<a href="mailto:brad.king@kitware.com">brad.king@kitware.com
</a>><br>Cc: <a href="mailto:gccxml@gccxml.org">gccxml@gccxml.org</a><br>Message-ID:<br>       <<a href="mailto:43ec77a30707120325p70bf3c22o6c9c9df1d44134f7@mail.gmail.com">43ec77a30707120325p70bf3c22o6c9c9df1d44134f7@mail.gmail.com
</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Ok here are the "Help->About" informations :<br>Before Update:<br><br>Microsoft Visual Studio 2005<br>Version 8.0.50727.762  (SP.050727-7600
)<br>Microsoft .NET Framework<br>Version 2.0.50727<br><br>Édition installée : Professional<br><br>Microsoft Visual Basic 2005   77915-009-0000007-41034<br>Microsoft Visual Basic 2005<br><br>Microsoft Visual C# 2005   77915-009-0000007-41034
<br>Microsoft Visual C# 2005<br><br>Microsoft Visual C++ 2005   77915-009-0000007-41034<br>Microsoft Visual C++ 2005<br><br>Microsoft Visual J# 2005   77915-009-0000007-41034<br>Microsoft Visual J# 2005<br><br>Microsoft Visual Studio 2005 Tools for Applications
<br>77915-009-0000007-41034<br>Microsoft Visual Studio 2005 Tools for Applications<br><br>Microsoft Visual Web Developer 2005   77915-009-0000007-41034<br>Microsoft Visual Web Developer 2005<br><br>Crystal Reports    AAC6G-G0CSA4K-U7000P7
<br>Crystal Reports pour Visual Studio 2005<br><br>--------------------------------------<br><br>After installing SP1<br><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=bb4a75ab-e2d4-4c96-b39d-37baf6b5b1dc">
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=bb4a75ab-e2d4-4c96-b39d-37baf6b5b1dc</a><br><br><br>Microsoft Visual Studio 2005<br>Version 8.0.50727.762  (SP.050727-7600)<br>Microsoft .NET Framework
<br>Version 2.0.50727<br><br>Édition installée : Professional<br><br>Microsoft Visual Basic 2005   77915-009-0000007-41034<br>Microsoft Visual Basic 2005<br><br>Microsoft Visual C# 2005   77915-009-0000007-41034<br>Microsoft Visual C# 2005
<br><br>Microsoft Visual C++ 2005   77915-009-0000007-41034<br>Microsoft Visual C++ 2005<br><br>Microsoft Visual J# 2005   77915-009-0000007-41034<br>Microsoft Visual J# 2005<br><br>Microsoft Visual Studio 2005 Tools for Applications
<br>77915-009-0000007-41034<br>Microsoft Visual Studio 2005 Tools for Applications<br><br>Microsoft Visual Web Developer 2005   77915-009-0000007-41034<br>Microsoft Visual Web Developer 2005<br><br>Microsoft Web Application Projects 2005   77915-009-0000007-41034
<br>Microsoft Web Application Projects 2005<br>Version 8.0.50727.762<br><br>Crystal Reports    AAC6G-G0CSA4K-U7000P7<br>Crystal Reports pour Visual Studio 2005<br><br><br>//informations about SP1 in french<br>Microsoft Visual Studio 2005 Professional - Français Service Pack 1
<br>(KB926607)<br>Ce Service Pack est destiné à Microsoft Visual Studio 2005 Professional -<br>Français.<br>Si vous installez par la suite un Service Pack plus récent, ce Service Pack<br>sera automatiquement désinstallé.<br>
Pour plus d'informations, visitez le site<br><a href="http://support.microsoft.com/kb/926607">http://support.microsoft.com/kb/926607</a><br><br><br>--------------------------------------<br><br><br>I DO have the reg key
<br>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\InstalledProducts\KB926607<br><br>It's 7 instead of  1 but that must be the language factor.<br><br><br>And now the patch fails (same errors as before) again whatever patch I try.
<br>It seems I'm just going to keep VS without SP :/<br><br><br><br>On 7/11/07, Brad King <<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>> wrote:<br>><br>> Coockie_jr wrote:<br>> > I reinstalled VS and didn't apply the SP, and now the patchs work again.
<br>> > This is so weird because my last install of VC way like 4 weeks ago.<br>> > Now I'm just "scared" to install the service pack :/<br>> > At least we know this is not a language issue (or perhaps only for the
<br>> > service pack)<br>> [snip]<br>> > I'll try the service pack...<br>><br>> Hmm...perhaps you have a different service pack than I've seen.<br>><br>> What is the service pack you are downloading?  After installing, what
<br>> new keys exist under that InstalledProducts registry key?<br>><br>> Can you send me a screenshot of the "Help->About" dialog in the VS IDE<br>> after the SP is installed (and before if it is easy)?
<br>><br>> Thanks,<br>> -Brad<br>><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://public.kitware.com/pipermail/gccxml/attachments/20070712/f5704f21/attachment-0001.html">
http://public.kitware.com/pipermail/gccxml/attachments/20070712/f5704f21/attachment-0001.html</a><br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 12 Jul 2007 09:09:00 -0400<br>From: Brad King <<a href="mailto:brad.king@kitware.com">
brad.king@kitware.com</a>><br>Subject: Re: [GCC-XML] Error with vcInstallPatch building<br>To: Coockie_jr <<a href="mailto:achille.talon@gmail.com">achille.talon@gmail.com</a>><br>Cc: <a href="mailto:gccxml@gccxml.org">
gccxml@gccxml.org</a><br>Message-ID: <<a href="mailto:469627EC.2040006@kitware.com">469627EC.2040006@kitware.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Coockie_jr wrote:<br>> I DO have the reg key
<br>> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\InstalledProducts\KB926607<br>><br>> It's 7 instead of  1 but that must be the language factor.<br>><br>> And now the patch fails (same errors as before) again whatever patch I try.
<br>> It seems I'm just going to keep VS without SP :/<br><br>Whether or not the "7" is a language thing this is clearly a different<br>service pack than I've seen before.  Also note the release date on the
<br>web page you sent:<br><br>  Date Published:  6/30/2007<br><br>This seems to be something new under and old name.  We need to create a<br>new patch for it and update the build process to identify the new<br>service pack via the above registry key.  I can try downloading the
<br>newer service pack and see what happens.  I may not be able to get to it<br>for a while though.<br><br>-Brad<br><br><br>------------------------------<br><br>Message: 3<br>Date: Thu, 12 Jul 2007 15:26:54 +0200<br>From: Coockie_jr <
<a href="mailto:achille.talon@gmail.com">achille.talon@gmail.com</a>><br>Subject: Re: [GCC-XML] Error with vcInstallPatch building<br>To: "Brad King" <<a href="mailto:brad.king@kitware.com">brad.king@kitware.com
</a>><br>Cc: <a href="mailto:gccxml@gccxml.org">gccxml@gccxml.org</a><br>Message-ID:<br>       <<a href="mailto:43ec77a30707120626t6deb3079v1aa67c7ac713d1a3@mail.gmail.com">43ec77a30707120626t6deb3079v1aa67c7ac713d1a3@mail.gmail.com
</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>On 7/12/07, Brad King <<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>> wrote:<br>><br>> Coockie_jr wrote:<br>> > I DO have the reg key
<br>> ><br>> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\InstalledProducts\KB926607<br>> ><br>> > It's 7 instead of  1 but that must be the language factor.<br>> ><br>> > And now the patch fails (same errors as before) again whatever patch I
<br>> try.<br>> > It seems I'm just going to keep VS without SP :/<br>><br>> Whether or not the "7" is a language thing this is clearly a different<br>> service pack than I've seen before.  Also note the release date on the
<br>> web page you sent:<br>><br>>    Date Published:  6/30/2007<br>><br>> This seems to be something new under and old name.  We need to create a<br>> new patch for it and update the build process to identify the new
<br>> service pack via the above registry key.  I can try downloading the<br>> newer service pack and see what happens.  I may not be able to get to it<br>> for a while though.<br>><br>> -Brad<br><br><br>If it's really a "new" version, it could explain the problems I'm having.
<br><br>Testing on your computer and with a different language might also be<br>interesting although I had the same problem on an other PC with Vista and<br>Visual Studio Standard edition and with the same SP and vista patch).
<br>If you need any information on my system/installation or other in order to<br>make the patch please do not hesitate.<br>I'll stay with the basic installation for now (unfortunately).<br>-------------- next part --------------
<br>An HTML attachment was scrubbed...<br>URL: <a href="http://public.kitware.com/pipermail/gccxml/attachments/20070712/0609a14c/attachment.html">http://public.kitware.com/pipermail/gccxml/attachments/20070712/0609a14c/attachment.html
</a><br><br>------------------------------<br><br>_______________________________________________<br>gccxml mailing list<br><a href="mailto:gccxml@gccxml.org">gccxml@gccxml.org</a><br><a href="http://www.gccxml.org/mailman/listinfo/gccxml">
http://www.gccxml.org/mailman/listinfo/gccxml</a><br><br><br>End of gccxml Digest, Vol 37, Issue 5<br>*************************************<br></blockquote></div><br>