Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 429850 - dev-lang/tuprolog-2.5.0 - Failed Patch: tuprolog-2.5.0-javadocs.patch !
Summary: dev-lang/tuprolog-2.5.0 - Failed Patch: tuprolog-2.5.0-javadocs.patch !
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-04 16:57 UTC by Sven E.
Modified: 2012-08-05 08:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven E. 2012-08-04 16:57:20 UTC
When trying to emerge dev-lang/tuprolog-2.5.0 applying the javadoc patch fails and thus the ebuild exits

Reproducible: Always

Steps to Reproduce:
1. emerge dev-lang/tuprolog-2.5.0
Actual Results:  
Patch fails

Expected Results:  
working patch

 * Applying tuprolog-2.5.0-javadocs.patch ...

 * Failed Patch: tuprolog-2.5.0-javadocs.patch !
 *  ( /usr/portage/dev-lang/tuprolog/files/tuprolog-2.5.0-javadocs.patch )
 * 

The interesting part:

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-lang/tuprolog/files/tuprolog-2.5.0-javadocs.patch'

=========================================
patching file src/alice/tuprolog/ChoicePointStore.java
patching file src/alice/tuprolog/ClauseStore.java
patching file src/alice/tuprolog/EngineManager.java
patching file src/alice/tuprolog/event/SpyEvent.java
patching file src/alice/tuprolog/lib/BasicLibrary.java
patching file src/alice/tuprolog/lib/IOLibrary.java
patching file src/alice/tuprolog/lib/JavaLibrary.java
patching file src/alice/tuprolog/PrimitiveManager.java
patching file src/alice/tuprologx/ide/Console.java
patching file src/alice/tuprologx/ide/LibraryDialogFrame.java
patching file src/alice/tuprologx/ide/ToolBar.java
patching file src/alice/tuprologx/pj/lib/PJLibrary.java
patching file src/alice/util/jedit/InputHandler.java
Hunk #1 FAILED at 24.
1 out of 2 hunks FAILED -- saving rejects to file src/alice/util/jedit/InputHandler.java.rej
patching file src/alice/util/jedit/JEditTextArea.java
patching file src/alice/util/jedit/KeywordMap.java
patching file src/alice/util/jedit/TextAreaPainter.java
patching file src/alice/util/jedit/TokenMarker.java
Hunk #1 succeeded at 23 with fuzz 2.
patching file src/alice/util/ReadOnlyLinkedList.java

patch program exited with status 1
=========================================

So, InputHandler.java cannot be patched properly.
Comment 1 Sven E. 2012-08-04 17:02:04 UTC
I wanted to add the contents of the rej file, but I can't seem to find it. At least the given info should be suficient to find the problem in the patch.
Comment 2 Keri Harris (RETIRED) gentoo-dev 2012-08-05 08:29:37 UTC
Thanks for reporting this. This bug was caused by CVS Id tags being expanded in the patch file. I've re-added the patch as binary to CVS.