Bug#560611: solr: FTBFS: java errors
Lucas Nussbaum
lucas at lucas-nussbaum.net
Fri Dec 11 12:29:48 UTC 2009
Source: solr
Version: 1.3.0+ds1-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20091210 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> make[1]: Entering directory `/build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1'
> make[1]: Nothing to be done for `update-config'.
> make[1]: Leaving directory `/build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1'
> touch debian/stamp-patched
> cd . && /usr/lib/jvm/java-6-openjdk/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/ant-junit.jar:/usr/share/java/junit4.jar:/usr/lib/jvm/java-6-openjdk/lib/tools.jar -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true -propertyfile /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/debian/ant.properties compile javadoc dist-war
> Buildfile: build.xml
>
> init-forrest-entities:
> [mkdir] Created dir: /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/build
> [mkdir] Created dir: /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/build/web
>
> compile-common:
> [mkdir] Created dir: /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/build/common
> [javac] Compiling 36 source files to /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/build/common
> [javac] Note: /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/common/util/FastInputStream.java uses or overrides a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
>
> compile:
> [mkdir] Created dir: /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/build/core
> [javac] Compiling 339 source files to /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/build/core
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java:45: cannot find symbol
> [javac] symbol : class SpanScorer
> [javac] location: package org.apache.lucene.search.highlight
> [javac] import org.apache.lucene.search.highlight.SpanScorer;
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java:138: cannot find symbol
> [javac] symbol : class SpanScorer
> [javac] location: class org.apache.solr.highlight.DefaultSolrHighlighter
> [javac] private SpanScorer getSpanQueryScorer(Query query, String fieldName, CachingTokenFilter tokenStream, SolrQueryRequest request) throws IOException {
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/search/function/BoostedQuery.java:58: interface expected here
> [javac] private class BoostedWeight implements Weight {
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/search/function/FunctionQuery.java:53: interface expected here
> [javac] protected class FunctionWeight implements Weight {
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/search/SolrIndexSearcher.java:56: org.apache.solr.search.SolrIndexSearcher is not abstract and does not override abstract method search(org.apache.lucene.search.Weight,org.apache.lucene.search.Filter,org.apache.lucene.search.Collector) in org.apache.lucene.search.Searcher
> [javac] public class SolrIndexSearcher extends Searcher implements SolrInfoMBean {
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/search/function/FunctionQuery.java:154: createWeight(org.apache.lucene.search.Searcher) in org.apache.solr.search.function.FunctionQuery cannot override createWeight(org.apache.lucene.search.Searcher) in org.apache.lucene.search.Query; attempting to assign weaker access privileges; was public
> [javac] protected Weight createWeight(Searcher searcher) {
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/search/function/FunctionQuery.java:155: incompatible types
> [javac] found : org.apache.solr.search.function.FunctionQuery.FunctionWeight
> [javac] required: org.apache.lucene.search.Weight
> [javac] return new FunctionQuery.FunctionWeight(searcher);
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java:141: cannot find symbol
> [javac] symbol : class SpanScorer
> [javac] location: class org.apache.solr.highlight.DefaultSolrHighlighter
> [javac] return new SpanScorer(query, fieldName, tokenStream);
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java:144: cannot find symbol
> [javac] symbol : class SpanScorer
> [javac] location: class org.apache.solr.highlight.DefaultSolrHighlighter
> [javac] return new SpanScorer(query, null, tokenStream);
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/highlight/RegexFragmenter.java:120: org.apache.solr.highlight.LuceneRegexFragmenter is not abstract and does not override abstract method isNewFragment() in org.apache.lucene.search.highlight.Fragmenter
> [javac] class LuceneRegexFragmenter implements Fragmenter
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/search/function/BoostedQuery.java:54: createWeight(org.apache.lucene.search.Searcher) in org.apache.solr.search.function.BoostedQuery cannot override createWeight(org.apache.lucene.search.Searcher) in org.apache.lucene.search.Query; attempting to assign weaker access privileges; was public
> [javac] protected Weight createWeight(Searcher searcher) throws IOException {
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/search/function/BoostedQuery.java:55: incompatible types
> [javac] found : org.apache.solr.search.function.BoostedQuery.BoostedWeight
> [javac] required: org.apache.lucene.search.Weight
> [javac] return new BoostedQuery.BoostedWeight(searcher);
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/search/function/BoostedQuery.java:87: scorer(org.apache.lucene.index.IndexReader,boolean,boolean) in org.apache.lucene.search.Weight cannot be applied to (org.apache.lucene.index.IndexReader)
> [javac] Scorer subQueryScorer = qWeight.scorer(reader);
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/search/function/QueryValueSource.java:90: scorer(org.apache.lucene.index.IndexReader,boolean,boolean) in org.apache.lucene.search.Weight cannot be applied to (org.apache.lucene.index.IndexReader)
> [javac] scorer = weight.scorer(reader);
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/util/HighlightingUtils.java:371: method does not override or implement a method from a supertype
> [javac] @Override
> [javac] ^
> [javac] /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/src/java/org/apache/solr/util/HighlightingUtils.java:379: method does not override or implement a method from a supertype
> [javac] @Override
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 16 errors
>
> BUILD FAILED
> /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/build.xml:141: The following error occurred while executing this line:
> /build/user-solr_1.3.0+ds1-1-amd64-7vNSin/solr-1.3.0+ds1/common-build.xml:149: Compile failed; see the compiler error output for details.
>
> Total time: 4 seconds
> make: *** [debian/stamp-ant-build] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2009/12/10/solr_1.3.0+ds1-1_lsid64.buildlog
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot. Internet was not
accessible from the build systems.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the pkg-java-maintainers
mailing list