lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <va...@apache.org>
Subject Re: pylucene branch_3x fails to build
Date Thu, 03 Feb 2011 20:06:37 GMT

I just verified, at this moment, the HEAD of the 3.x branch
http://svn.apache.org/repos/asf/lucene/pylucene/branches/branch_3x/
builds and passes all tests.

Andi..

On Thu, 3 Feb 2011, Wylie, Brian wrote:

> Mistype (exceptions.xml) -> (extensions.xml)
>
>
> On 2/3/11 11:29 AM, "Wylie, Brian" <bnwylie@sandia.gov> wrote:
>
>> Apologies for the direct email, I tried to sign up to the pylucene list, but
>> is seems to have moved and when trying to subscribe to the new one I got a
>> bounce. :)
>>
>>
>> This is in regards to the email sent by
>> Helmut Jarausch
>> 2011-01-11, 09:07
>>
>> 1) SVN update as of today
>> 2) 3.0.3 build, install, and make test with no problems whatsoever (so going
>> to use this)
>> 3) Just for fun, tried to build the Trunk. It failed in the same way
>> (exceptions.xml) as Helmut's email.
>>
>> So you probably already know this, but just a FWIW.  :)
>>
>> -bri
>>
>>
>>
>> % uname -a
>> Darwin s930701.srn.sandia.gov 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov  5
>> 23:19:13 PDT 2010; root:xnu-1504.9.17~1/RELEASE_X86_64 x86_64
>>
>> *** Makefile ***
>> # Mac OS X 10.6 (64-bit Python 2.6, Java 1.6)
>> PREFIX_PYTHON=/opt/local
>> ANT=ant
>> PYTHON=$(PREFIX_PYTHON)/bin/python
>> JCC=$(PYTHON) -m jcc.__main__ --shared --arch x86_64
>> NUM_FILES=3
>>
>>
>>
>> bnwylie@s930701:~/work/pylucene/trunk$ make
>> ant -f extensions.xml -Dlucene.dir=lucene-java-4.0
>> Buildfile: /Users/bnwylie/Work/pylucene/trunk/extensions.xml
>>
>> compile:
>>     [javac] /Users/bnwylie/Work/pylucene/trunk/extensions.xml:19: warning:
>> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to
>> false for repeatable builds
>>     [javac] Compiling 29 source files to
>> /Users/bnwylie/Work/pylucene/trunk/build/classes
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
>> arity.java:19: cannot find symbol
>>     [javac] symbol  : class Searcher
>>     [javac] location: package org.apache.lucene.search
>>     [javac] import org.apache.lucene.search.Searcher;
>>     [javac]                                ^
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
>> arity.java:49: cannot find symbol
>>     [javac] symbol  : class Searcher
>>     [javac] location: class org.apache.pylucene.search.PythonSimilarity
>>     [javac]                                      final Searcher searcher)
>>     [javac]                                            ^
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
>> arity.java:66: cannot find symbol
>>     [javac] symbol  : class Searcher
>>     [javac] location: class org.apache.pylucene.search.PythonSimilarity
>>     [javac]     public native float idfTerms(Collection terms, Searcher
>> searcher);
>>     [javac]                                                    ^
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
>> arityDelegator.java:19: cannot find symbol
>>     [javac] symbol  : class SimilarityDelegator
>>     [javac] location: package org.apache.lucene.search
>>     [javac] import org.apache.lucene.search.SimilarityDelegator;
>>     [javac]                                ^
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
>> arityDelegator.java:20: cannot find symbol
>>     [javac] symbol  : class Searcher
>>     [javac] location: package org.apache.lucene.search
>>     [javac] import org.apache.lucene.search.Searcher;
>>     [javac]                                ^
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
>> arityDelegator.java:24: cannot find symbol
>>     [javac] symbol: class SimilarityDelegator
>>     [javac] public class PythonSimilarityDelegator extends SimilarityDelegator
>> {
>>     [javac]                                                ^
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/analysis/PythonCha
>> rTokenizer.java:23: org.apache.pylucene.analysis.PythonCharTokenizer is not
>> abstract and does not override abstract method isTokenChar(int) in
>> org.apache.lucene.analysis.CharTokenizer
>>     [javac] public class PythonCharTokenizer extends CharTokenizer {
>>     [javac]        ^
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/analysis/PythonCha
>> rTokenizer.java:29: cannot find symbol
>>     [javac] symbol  : constructor CharTokenizer(java.io.Reader)
>>     [javac] location: class org.apache.lucene.analysis.CharTokenizer
>>     [javac]         super(reader);
>>     [javac]         ^
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonColle
>> ctor.java:25: org.apache.pylucene.search.PythonCollector is not abstract and
>> does not override abstract method
>> setNextReader(org.apache.lucene.index.IndexReader.AtomicReaderContext) in
>> org.apache.lucene.search.Collector
>>     [javac] public class PythonCollector extends Collector {
>>     [javac]        ^
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonField
>> Comparator.java:26: org.apache.pylucene.search.PythonFieldComparator is not
>> abstract and does not override abstract method
>> setNextReader(org.apache.lucene.index.IndexReader.AtomicReaderContext) in
>> org.apache.lucene.search.FieldComparator
>>     [javac] public class PythonFieldComparator extends FieldComparator {
>>     [javac]        ^
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonFilte
>> r.java:25: org.apache.pylucene.search.PythonFilter is not abstract and does
>> not override abstract method
>> getDocIdSet(org.apache.lucene.index.IndexReader.AtomicReaderContext) in
>> org.apache.lucene.search.Filter
>>     [javac] public class PythonFilter extends Filter {
>>     [javac]        ^
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
>> arity.java:25: org.apache.pylucene.search.PythonSimilarity is not abstract and
>> does not override abstract method
>> computeNorm(java.lang.String,org.apache.lucene.index.FieldInvertState) in
>> org.apache.lucene.search.Similarity
>>     [javac] public class PythonSimilarity extends Similarity {
>>     [javac]        ^
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
>> arity.java:70: lengthNorm(java.lang.String,int) in
>> org.apache.pylucene.search.PythonSimilarity cannot override
>> lengthNorm(java.lang.String,int) in org.apache.lucene.search.Similarity;
>> overridden method is final
>>     [javac]     public native float lengthNorm(String fieldName, int
>> numTokens);
>>     [javac]                         ^
>>     [javac]
>> /Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/store/PythonDirect
>> ory.java:26: org.apache.pylucene.store.PythonDirectory is not abstract and
>> does not override abstract method sync(java.util.Collection<java.lang.String>)
>> in org.apache.lucene.store.Directory
>>     [javac] public class PythonDirectory extends Directory {
>>     [javac]        ^
>>     [javac] 14 errors
>>
>> BUILD FAILED
>> /Users/bnwylie/Work/pylucene/trunk/extensions.xml:19: Compile failed; see the
>> compiler error output for details.
>>
>> Total time: 0 seconds
>> make: *** [build/jar/extensions.jar] Error 1
>> bnwylie@s930701:~/work/pylucene/trunk$
>>
>>
>>
>>   Brian Wylie - Org 1461
>>   Sandia National Laboratories
>>   MS 1323 - Building CSRI/242
>>   (505)844-2238 FAX(505)284-2518
>>        _______ __
>>       /_  __(_) /_____ _____
>>        / / / / __/ __ `/ __ \
>>       / / / / /_/ /_/ / / / /
>>      /_/ /_/\__/\__,_/_/ /_/
>>  Scalable Analysis and Visualization
>
>  Brian Wylie - Org 1461
>  Sandia National Laboratories
>  MS 1323 - Building CSRI/242
>  (505)844-2238 FAX(505)284-2518
>       _______ __
>      /_  __(_) /_____ _____
>       / / / / __/ __ `/ __ \
>      / / / / /_/ /_/ / / / /
>     /_/ /_/\__/\__,_/_/ /_/
> Scalable Analysis and Visualization
>
>
>

Mime
View raw message