Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 2010 01:04:02 GMT
From:      YAMAMOTO@FreeBSD.org, Shigeru <shigeru@iij.ad.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/149513: [ports/java/eclipse] can not compile with 'WITH_TESTS=true'
Message-ID:  <201008110104.o7B1424U062179@www.freebsd.org>
Resent-Message-ID: <201008110110.o7B1A4cu027645@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         149513
>Category:       ports
>Synopsis:       [ports/java/eclipse] can not compile with 'WITH_TESTS=true'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 11 01:10:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     YAMAMOTO, Shigeru
>Release:        FreeBSD 9.0-CURRENT
>Organization:
Internet Initiative Japan Inc.
>Environment:
FreeBSD XXX 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Thu Aug  5 12:10:38 JST 2010     root@XXX:/usr/obj/usr/src/sys/XXX  amd64

>Description:
I can not compile ports/java/eclipse(eclipse-3.5.2_1) with 'WITH_TESTS=true'.
Because patch error occures at makeing eclipse.

Error message is follows.

{{{

applyTestPatches:
    [patch] Hmm...  Looks like a unified diff to me...
    [patch] The text leading up to this was:
    [patch] --------------------------
    [patch] |### Eclipse Workspace Patch 1.0
    [patch] |#P org.eclipse.sdk.tests
    [patch] |Index: feature.xml
    [patch] |===================================================================
    [patch] |RCS file: /cvsroot/eclipse/org.eclipse.sdk.tests-feature/features/org.eclipse.sdk.tests/feature.xml,v
    [patch] |retrieving revision 1.59
    [patch] |diff -u -r1.59 feature.xml
    [patch] |--- feature.xml    27 Feb 2009 13:46:35 -0000      1.59
    [patch] |+++ feature.xml    1 May 2009 17:50:01 -0000
    [patch] --------------------------
    [patch] Patching file feature.xml using Plan A...
    [patch] Hunk #1 succeeded at 80.
    [patch] Hunk #2 succeeded at 98.
    [patch] done
    [patch] Hmm...  Looks like a unified diff to me...
    [patch] The text leading up to this was:
    [patch] --------------------------
    [patch] |--- plugins/org.eclipse.test/library.xml.sav       2009-09-25 11:47:54.867564002 +0300
    [patch] |+++ plugins/org.eclipse.test/library.xml   2009-09-25 11:48:25.279814120 +0300
    [patch] --------------------------
    [patch] Patching file plugins/org.eclipse.test/library.xml using Plan A...
    [patch] Hunk #1 succeeded at 138.
    [patch] done
File to patch:     [patch] Hmm...  Looks like a unified diff to me...
    [patch] The text leading up to this was:
    [patch] --------------------------
    [patch] |--- plugins/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/ListViewerTest.java   2009-12-08 16:19:39.740154009 -0500
    [patch] |+++ plugins/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/ListViewerTest.java-new       2009-12-08 16:22:14.261155406 -0500
    [patch] --------------------------

No file found--skip this patch? [n]     [patch] File to patch: 
}}}

It is waiting right patch name.

I don't know what name is right for this patch.
So, I choise typing 'yes'.

After typing 'yes', following messages are printed and compiling is failed.

{{
    [patch] No file found--skip this patch? [n] yes
    [patch] Skipping patch...
    [patch] Hunk #1 ignored at 87.
    [patch] 1 out of 1 hunks ignored--saving rejects to plugins/org.eclipse.ui.tests/Eclipse.rej
    [patch] done
}}}

>How-To-Repeat:
1) change to @ports/java/eclipse
2) do 'make config', and select 'TESTS' and check it.
3) do 'make'

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008110104.o7B1424U062179>