[GCC-XML] Re: gccxml Digest, Vol 37, Issue 5

Grant Gordon canuck316 at gmail.com
Thu Sep 27 18:13:58 EDT 2007


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:

Generating ../vcInstall_stamp.c
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
Error running patch.  Output is [patching file `comdef.h'
Hunk #2 succeeded at 159 (offset -4 lines).
patching file `comip.h'
patching file `comutil.h'
patching file `crtdefs.h'
Hunk #1 succeeded at 614 (offset -50 lines).
Hunk #3 succeeded at 731 (offset -50 lines).
Hunk #5 succeeded at 919 (offset -50 lines).
Hunk #6 FAILED at 974.
Hunk #8 FAILED at 1114.
Hunk #9 succeeded at 1109 (offset -50 lines).
Hunk #11 succeeded at 1199 (offset -50 lines).
Hunk #13 succeeded at 1304 (offset -50 lines).
Hunk #15 succeeded at 1409 (offset -50 lines).
Hunk #17 succeeded at 1503 (offset -50 lines).
Hunk #18 FAILED at 1550.
Hunk #19 FAILED at 1593.
Hunk #20 FAILED at 1636.
Hunk #21 FAILED at 1679.
6 out of 21 hunks FAILED -- saving rejects to crtdefs.h.rej
patching file `deque'
patching file `eh.h'
patching file `functional'
patching file `iostream'
patching file `iso646.h'
patching file `iterator'
patching file `list'
patching file `math.h'
Hunk #1 succeeded at 132 with fuzz 1.
patching file `process.h'
patching file `setjmp.h'
patching file `signal.h'
patching file `typeinfo'
patching file `vector'
patching file `xlocale'
patching file `xstddef'
patching file `xutility'
Hunk #2 succeeded at 1723 (offset -38 lines).
patching file `yvals.h'
Hunk #1 succeeded at 485 (offset -33 lines).
Hunk #3 succeeded at 695 (offset -33 lines).
]
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
Project : error PRJ0019: A tool returned an error code from "Generating
../vcInstall_stamp.c"


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
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\InstalledProducts\KB926601

which is the english version, also released on 6/30/2007 and downloaded from
http://www.microsoft.com/downloads/details.aspx?FamilyId=BB4A75AB-E2D4-4C96-B39D-37BAF6B5B1DC&displaylang=en

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.

Thanks!
-Grant

On 7/12/07, gccxml-request at gccxml.org <gccxml-request at gccxml.org> wrote:
>
> Send gccxml mailing list submissions to
>        gccxml at gccxml.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://www.gccxml.org/mailman/listinfo/gccxml
> or, via email, send a message with subject or body 'help' to
>        gccxml-request at gccxml.org
>
> You can reach the person managing the list at
>        gccxml-owner at gccxml.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gccxml digest..."
>
>
> Today's Topics:
>
>   1. Re:  Error with vcInstallPatch building (Coockie_jr)
>   2. Re:  Error with vcInstallPatch building (Brad King)
>   3. Re:  Error with vcInstallPatch building (Coockie_jr)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 12 Jul 2007 12:25:30 +0200
> From: Coockie_jr <achille.talon at gmail.com>
> Subject: Re: [GCC-XML] Error with vcInstallPatch building
> To: "Brad King" <brad.king at kitware.com>
> Cc: gccxml at gccxml.org
> Message-ID:
>        <43ec77a30707120325p70bf3c22o6c9c9df1d44134f7 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Ok here are the "Help->About" informations :
> Before Update:
>
> Microsoft Visual Studio 2005
> Version 8.0.50727.762  (SP.050727-7600)
> Microsoft .NET Framework
> Version 2.0.50727
>
> Édition installée : Professional
>
> Microsoft Visual Basic 2005   77915-009-0000007-41034
> Microsoft Visual Basic 2005
>
> Microsoft Visual C# 2005   77915-009-0000007-41034
> Microsoft Visual C# 2005
>
> Microsoft Visual C++ 2005   77915-009-0000007-41034
> Microsoft Visual C++ 2005
>
> Microsoft Visual J# 2005   77915-009-0000007-41034
> Microsoft Visual J# 2005
>
> Microsoft Visual Studio 2005 Tools for Applications
> 77915-009-0000007-41034
> Microsoft Visual Studio 2005 Tools for Applications
>
> Microsoft Visual Web Developer 2005   77915-009-0000007-41034
> Microsoft Visual Web Developer 2005
>
> Crystal Reports    AAC6G-G0CSA4K-U7000P7
> Crystal Reports pour Visual Studio 2005
>
> --------------------------------------
>
> After installing SP1
>
> http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=bb4a75ab-e2d4-4c96-b39d-37baf6b5b1dc
>
>
> Microsoft Visual Studio 2005
> Version 8.0.50727.762  (SP.050727-7600)
> Microsoft .NET Framework
> Version 2.0.50727
>
> Édition installée : Professional
>
> Microsoft Visual Basic 2005   77915-009-0000007-41034
> Microsoft Visual Basic 2005
>
> Microsoft Visual C# 2005   77915-009-0000007-41034
> Microsoft Visual C# 2005
>
> Microsoft Visual C++ 2005   77915-009-0000007-41034
> Microsoft Visual C++ 2005
>
> Microsoft Visual J# 2005   77915-009-0000007-41034
> Microsoft Visual J# 2005
>
> Microsoft Visual Studio 2005 Tools for Applications
> 77915-009-0000007-41034
> Microsoft Visual Studio 2005 Tools for Applications
>
> Microsoft Visual Web Developer 2005   77915-009-0000007-41034
> Microsoft Visual Web Developer 2005
>
> Microsoft Web Application Projects 2005   77915-009-0000007-41034
> Microsoft Web Application Projects 2005
> Version 8.0.50727.762
>
> Crystal Reports    AAC6G-G0CSA4K-U7000P7
> Crystal Reports pour Visual Studio 2005
>
>
> //informations about SP1 in french
> Microsoft Visual Studio 2005 Professional - Français Service Pack 1
> (KB926607)
> Ce Service Pack est destiné à Microsoft Visual Studio 2005 Professional -
> Français.
> Si vous installez par la suite un Service Pack plus récent, ce Service
> Pack
> sera automatiquement désinstallé.
> Pour plus d'informations, visitez le site
> http://support.microsoft.com/kb/926607
>
>
> --------------------------------------
>
>
> I DO have the reg key
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\InstalledProducts\KB926607
>
> It's 7 instead of  1 but that must be the language factor.
>
>
> And now the patch fails (same errors as before) again whatever patch I
> try.
> It seems I'm just going to keep VS without SP :/
>
>
>
> On 7/11/07, Brad King <brad.king at kitware.com> wrote:
> >
> > Coockie_jr wrote:
> > > I reinstalled VS and didn't apply the SP, and now the patchs work
> again.
> > > This is so weird because my last install of VC way like 4 weeks ago.
> > > Now I'm just "scared" to install the service pack :/
> > > At least we know this is not a language issue (or perhaps only for the
> > > service pack)
> > [snip]
> > > I'll try the service pack...
> >
> > Hmm...perhaps you have a different service pack than I've seen.
> >
> > What is the service pack you are downloading?  After installing, what
> > new keys exist under that InstalledProducts registry key?
> >
> > Can you send me a screenshot of the "Help->About" dialog in the VS IDE
> > after the SP is installed (and before if it is easy)?
> >
> > Thanks,
> > -Brad
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://public.kitware.com/pipermail/gccxml/attachments/20070712/f5704f21/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Thu, 12 Jul 2007 09:09:00 -0400
> From: Brad King <brad.king at kitware.com>
> Subject: Re: [GCC-XML] Error with vcInstallPatch building
> To: Coockie_jr <achille.talon at gmail.com>
> Cc: gccxml at gccxml.org
> Message-ID: <469627EC.2040006 at kitware.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Coockie_jr wrote:
> > I DO have the reg key
> >
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\InstalledProducts\KB926607
> >
> > It's 7 instead of  1 but that must be the language factor.
> >
> > And now the patch fails (same errors as before) again whatever patch I
> try.
> > It seems I'm just going to keep VS without SP :/
>
> Whether or not the "7" is a language thing this is clearly a different
> service pack than I've seen before.  Also note the release date on the
> web page you sent:
>
>   Date Published:  6/30/2007
>
> This seems to be something new under and old name.  We need to create a
> new patch for it and update the build process to identify the new
> service pack via the above registry key.  I can try downloading the
> newer service pack and see what happens.  I may not be able to get to it
> for a while though.
>
> -Brad
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 12 Jul 2007 15:26:54 +0200
> From: Coockie_jr <achille.talon at gmail.com>
> Subject: Re: [GCC-XML] Error with vcInstallPatch building
> To: "Brad King" <brad.king at kitware.com>
> Cc: gccxml at gccxml.org
> Message-ID:
>        <43ec77a30707120626t6deb3079v1aa67c7ac713d1a3 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 7/12/07, Brad King <brad.king at kitware.com> wrote:
> >
> > Coockie_jr wrote:
> > > I DO have the reg key
> > >
> >
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\InstalledProducts\KB926607
> > >
> > > It's 7 instead of  1 but that must be the language factor.
> > >
> > > And now the patch fails (same errors as before) again whatever patch I
> > try.
> > > It seems I'm just going to keep VS without SP :/
> >
> > Whether or not the "7" is a language thing this is clearly a different
> > service pack than I've seen before.  Also note the release date on the
> > web page you sent:
> >
> >    Date Published:  6/30/2007
> >
> > This seems to be something new under and old name.  We need to create a
> > new patch for it and update the build process to identify the new
> > service pack via the above registry key.  I can try downloading the
> > newer service pack and see what happens.  I may not be able to get to it
> > for a while though.
> >
> > -Brad
>
>
> If it's really a "new" version, it could explain the problems I'm having.
>
> Testing on your computer and with a different language might also be
> interesting although I had the same problem on an other PC with Vista and
> Visual Studio Standard edition and with the same SP and vista patch).
> If you need any information on my system/installation or other in order to
> make the patch please do not hesitate.
> I'll stay with the basic installation for now (unfortunately).
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://public.kitware.com/pipermail/gccxml/attachments/20070712/0609a14c/attachment.html
>
> ------------------------------
>
> _______________________________________________
> gccxml mailing list
> gccxml at gccxml.org
> http://www.gccxml.org/mailman/listinfo/gccxml
>
>
> End of gccxml Digest, Vol 37, Issue 5
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/gccxml/attachments/20070927/b098694d/attachment-0001.html>


More information about the gccxml mailing list