Results 1 to 7 of 7

Thread: Patch Error w/ v3.4.0 3rd Party Sources

  1. #1
    afcarl is offline Registered User
    Name: Andy Carl
    Organization: Northrop Grumman Corp
    Project: Distributed analysis of air vehicle subsystems
    Join Date
    Jul 2009
    Posts
    39

    Patch Error w/ v3.4.0 3rd Party Sources

    Attempt to patch "mcpp-2.7.2" from the ICE v3.4 ThirdPary-Sources w/ the supplied patch file download resulted in the following error:

    patch -p0 < patch.mcpp.2.7.2

    "patching file ./src/internal.H
    Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354

    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information."

    Is there an update? The thirdparty souce file was download within the last weak. Please advise.

    Thanks,
    Andy

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    You didn't say which platform you were using but I'm assuming it's Windows. In this case, you need to add the --binary option when running patch.

    Regards,
    Mark

  3. #3
    afcarl is offline Registered User
    Name: Andy Carl
    Organization: Northrop Grumman Corp
    Project: Distributed analysis of air vehicle subsystems
    Join Date
    Jul 2009
    Posts
    39
    Using the following command:

    "patch --binary -p0 < patch.mcpp.2.7.2"

    ...results in the following error messages:

    "patching file ./src/internal.H
    Hunk #1 FAILED at 390.
    Hunk #2 FAILED at 559.
    2 out of 2 hunks FAILED -- saving rejects to file ./src/internal.H.rej
    patching file ./src/main.c
    Hunk #1 FAILED at 326.
    1 out of 1 hunk FAILED -- saving rejects to file ./src/main.c.rej
    patching file ./src/support.c
    Hunk #1 FAILED at 188.
    Hunk #2 FAILED at 1722.
    2 out of 2 hunks FAILED -- saving rejects to file ./src/support.c.rej
    patching file ./src/system.c
    Hunk #1 FAILED at 3858.
    Hunk #2 FAILED at 3871.
    2 out of 2 hunks FAILED --saving rejects to file ./src/system.c.rej"

    Suggestions are appreciated!

    Thanks,
    Andy
    Last edited by afcarl; 04-14-2010 at 08:58 PM.

  4. #4
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    I just tried to patch the mcpp 2.7.2 source distribution with the patch file we provide, and didn't find any problem:

    Code:
    C:\Users\bernard\third-parties\mcpp\mcpp-2.7.2>patch -version
    patch 2.5.9
    Copyright (C) 1988 Larry Wall
    Copyright (C) 2003 Free Software Foundation, Inc.
    
    This program comes with NO WARRANTY, to the extent permitted by law.
    You may redistribute copies of this program
    under the terms of the GNU General Public License.
    For more information about these matters, see the file named COPYING.
    
    C:\Users\bernard\third-parties\mcpp\mcpp-2.7.2>patch -p0 --binary  < ..\patch.mcpp.2.7.2
    patching file ./src/internal.H
    patching file ./src/main.c
    patching file ./src/support.c
    patching file ./src/system.c
    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  5. #5
    omid's Avatar
    omid is offline Registered User
    Name: Omid Rashvand
    Organization: L4i
    Project: Instant Messenger
    Join Date
    Mar 2008
    Posts
    4

    Unhappy Same problem

    I have same problem with this patch :

    Code:
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    C:\Users\Omid>G:
    
    G:\>cd G:\IceThirdParty\mcpp\mcpp-2.7.2
    
    G:\IceThirdParty\mcpp\mcpp-2.7.2>patch -p0 --binary  < ..\patch.mcpp.2.7.2
    patching file ./src/internal.H
    Hunk #1 FAILED at 390.
    Hunk #2 FAILED at 559.
    2 out of 2 hunks FAILED -- saving rejects to file ./src/internal.H.rej
    patching file ./src/main.c
    Hunk #1 FAILED at 326.
    1 out of 1 hunk FAILED -- saving rejects to file ./src/main.c.rej
    patching file ./src/support.c
    Hunk #1 FAILED at 188.
    Hunk #2 FAILED at 1722.
    2 out of 2 hunks FAILED -- saving rejects to file ./src/support.c.rej
    patching file ./src/system.c
    Hunk #1 FAILED at 3858.
    Hunk #2 FAILED at 3871.
    2 out of 2 hunks FAILED -- saving rejects to file ./src/system.c.rej
    
    G:\IceThirdParty\mcpp\mcpp-2.7.2>
    can any one help me?

  6. #6
    omid's Avatar
    omid is offline Registered User
    Name: Omid Rashvand
    Organization: L4i
    Project: Instant Messenger
    Join Date
    Mar 2008
    Posts
    4

    Solved !

    just use EOL Convertor to convert internal.H, main.c,support.c and system.c to lf fromat.
    patch it now!

    Regards.

  7. #7
    andy_84 is offline Registered User
    Name: Andrew Solovyov
    Organization: MAI
    Project: simple grid-like system
    Join Date
    Nov 2010
    Posts
    27
    Quote Originally Posted by omid View Post
    just use EOL Convertor to convert internal.H, main.c,support.c and system.c to lf fromat.
    patch it now!
    Thanks a lot, that helped!

    Regards, andy

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Missing error messages in ICE v3.4.1.
    By Gravitas in forum Bug Reports
    Replies: 0
    Last Post: 03-09-2011, 05:06 AM
  2. Third party libraries for VS2005 W/ATL patch
    By gmh in forum Help Center
    Replies: 2
    Last Post: 02-27-2010, 06:10 PM
  3. About accreditation of ICE-E on S60 3rd Edition
    By Mitchy in forum Help Center
    Replies: 3
    Last Post: 05-31-2006, 02:12 PM
  4. May I mirror the sources
    By bsam in forum Help Center
    Replies: 2
    Last Post: 10-26-2005, 10:12 AM
  5. Thirdparty-sources cannot be download
    By zephyr007 in forum Help Center
    Replies: 1
    Last Post: 11-23-2004, 11:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •