[GCC-XML] Error with vcInstallPatch building

Brad King brad.king at kitware.com
Tue Jul 10 13:38:01 EDT 2007


Coockie_jr wrote:
> Hmmm
> I had to reinstall my pc and I can't get this patch working again.
> I do have a more explicit error message though
> 
> Error running patch.  Output is [patching file `algorithm'Hunk #1 FAILED at 
> 2513.1 out of 1 hunk FAILED -- saving rejects to algorithm.rejpatching file `comdef.h'Hunk #2 succeeded at 163 (offset 4 lines).patching file `comip.h'patching file `comutil.h'patching file `crtdefs.h'Hunk #1 succeeded at 664 (offset 50 lines).Hunk #3 succeeded at 781 (offset 50 lines).Hunk #5 succeeded at 969 (offset 50 lines).Hunk #6 FAILED at 
> 1024.Hunk #8 FAILED at 1064.Hunk #9 succeeded at 1159 (offset 50 lines).Hunk #11 succeeded at 1249 (offset 50 lines).Hunk #13 succeeded at 1354 (offset 50 lines).Hunk #15 succeeded at 1459 (offset 50 lines).Hunk #17 succeeded at 1553 (offset 50 lines).2 out of 17 hunks FAILED -- saving rejects to 
> crtdefs.h.rejpatching 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 1757 (offset 38 lines).patching file `yvals.h'Hunk #1 succeeded at 518 (offset 33 lines).Hunk #3 succeeded at 728 (offset 33 lines).]
> 
> some of the header files just don't patch (like algorithm).
> Are all patched files for VC8 the same (I've got XP et SP1 for VS) ? If so can someone send them to me ? It's getting a bit frustrating ...

The following patches should be in the source tree under GCC_XML/VcInstall:

Original VC8 Express:
   vc8ExpressInclude.patch
   vc8ExpressPlatformSDK.patch

Original VC8 Full:
   vc8Include.patch
   vc8PlatformSDK.patch

Patched VC8 Express (sp1):
   vc8sp1ExpressInclude.patch

Patched VC8 Full (sp1):
   vc8sp1Include.patch
   vc8sp1PlatformSDK.patch

The patches are applied by copying the headers from your installation to 
a support directory and then running a patch tool with some of the above 
input files.  If the patch is failing then clearly you have a different 
version of the input headers than any of the above patches supports. 
What is the exact sequence of products (with versions and languages) 
that you installed?

-Brad



More information about the gccxml mailing list