You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Bernd Fehling <be...@uni-bielefeld.de> on 2017/04/19 14:55:24 UTC

BUILD FAILED solr 6.5.0

Tried today to have a look at solr 6.5.0.
- download solr-6.5.0-src.tgz from apache.org and extracted to workspace
- ant eclipse
- imported to eclipse neon as new project
- from eclipse in lucene subdir clicked on build.xml and selected
  "Run As" --> "Ant Build..."
- selected "package" and "Run"

Result:
...
  [javadoc] Loading source files for package org.apache.lucene.search.spans...
  [javadoc] Loading source files for package org.apache.lucene.store...
  [javadoc] Loading source files for package org.apache.lucene.util...
  [javadoc] Loading source files for package org.apache.lucene.util.automaton...
  [javadoc] Loading source files for package org.apache.lucene.util.fst...
  [javadoc] Constructing Javadoc information...
  [javadoc] Standard Doclet version 1.8.0_121
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
     [exec] Result: 128
      [jar] Building jar:
/srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/test-framework/lucene-test-framework-6.5.0-SNAPSHOT-javadoc.jar
javadocs:
changes-to-html:
    [mkdir] Created dir: /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
   [delete] Deleting: /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/doap.lucene.version.dates.csv
     [copy] Copying 3 files to /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
ivy-availability-check:
ivy-fail:
ivy-configure:
[ivy:configure] :: loading settings :: file = /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/top-level-ivy-settings.xml
resolve-groovy:
[ivy:cachepath] :: resolving dependencies :: org.codehaus.groovy#groovy-all-caller;working
[ivy:cachepath] 	confs: [default]
[ivy:cachepath] 	found org.codehaus.groovy#groovy-all;2.4.8 in public
[ivy:cachepath] :: resolution report :: resolve 10ms :: artifacts dl 0ms
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      default     |   1   |   0   |   0   |   0   ||   1   |   0   |
	---------------------------------------------------------------------
resolve-markdown:

BUILD FAILED
/srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/common-build.xml:2415: ivy:cachepath doesn't support the nested "dependency" element.


Any idea what is going wrong?

Something with ivy:dependency within ivy:cachepath, but how to fix it?

Regards
Bernd

Re: BUILD FAILED solr 6.5.0

Posted by Steve Rowe <sa...@gmail.com>.
Hi Bernd,

Your Ivy may be outdated - the project requires minimum 2.3.

Try removing all pre-2.3 ivy-*.jar files from ~/.ant/lib/, then running “ant ivy-bootstrap”.

--
Steve
www.lucidworks.com

> On Apr 19, 2017, at 10:55 AM, Bernd Fehling <be...@uni-bielefeld.de> wrote:
> 
> Tried today to have a look at solr 6.5.0.
> - download solr-6.5.0-src.tgz from apache.org and extracted to workspace
> - ant eclipse
> - imported to eclipse neon as new project
> - from eclipse in lucene subdir clicked on build.xml and selected
>  "Run As" --> "Ant Build..."
> - selected "package" and "Run"
> 
> Result:
> ...
>  [javadoc] Loading source files for package org.apache.lucene.search.spans...
>  [javadoc] Loading source files for package org.apache.lucene.store...
>  [javadoc] Loading source files for package org.apache.lucene.util...
>  [javadoc] Loading source files for package org.apache.lucene.util.automaton...
>  [javadoc] Loading source files for package org.apache.lucene.util.fst...
>  [javadoc] Constructing Javadoc information...
>  [javadoc] Standard Doclet version 1.8.0_121
>  [javadoc] Building tree for all the packages and classes...
>  [javadoc] Building index for all the packages and classes...
>  [javadoc] Building index for all classes...
>     [exec] Result: 128
>      [jar] Building jar:
> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/test-framework/lucene-test-framework-6.5.0-SNAPSHOT-javadoc.jar
> javadocs:
> changes-to-html:
>    [mkdir] Created dir: /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
>   [delete] Deleting: /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/doap.lucene.version.dates.csv
>     [copy] Copying 3 files to /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
> ivy-availability-check:
> ivy-fail:
> ivy-configure:
> [ivy:configure] :: loading settings :: file = /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/top-level-ivy-settings.xml
> resolve-groovy:
> [ivy:cachepath] :: resolving dependencies :: org.codehaus.groovy#groovy-all-caller;working
> [ivy:cachepath] 	confs: [default]
> [ivy:cachepath] 	found org.codehaus.groovy#groovy-all;2.4.8 in public
> [ivy:cachepath] :: resolution report :: resolve 10ms :: artifacts dl 0ms
> 	---------------------------------------------------------------------
> 	|                  |            modules            ||   artifacts   |
> 	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
> 	---------------------------------------------------------------------
> 	|      default     |   1   |   0   |   0   |   0   ||   1   |   0   |
> 	---------------------------------------------------------------------
> resolve-markdown:
> 
> BUILD FAILED
> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/common-build.xml:2415: ivy:cachepath doesn't support the nested "dependency" element.
> 
> 
> Any idea what is going wrong?
> 
> Something with ivy:dependency within ivy:cachepath, but how to fix it?
> 
> Regards
> Bernd


Re: BUILD FAILED solr 6.5.0

Posted by Steve Rowe <sa...@gmail.com>.
Hi Bernd,

Glad you got things working.

https://issues.apache.org/jira/browse/LUCENE-4960 is an existing issue to address this problem, but nobody has figured out how to do it yet I guess.

--
Steve
www.lucidworks.com

> On Apr 20, 2017, at 2:35 AM, Bernd Fehling <be...@uni-bielefeld.de> wrote:
> 
> Hi Steve,
> 
> thanks a lot for solving my problem.
> 
> Would it be possible to check for ivy >= 2.3 at start of build
> and give your hint as message to the user?
> 
> Regards
> Bernd
> 
> Am 19.04.2017 um 17:01 schrieb Steve Rowe:
>> Hi Bernd,
>> 
>> Your Ivy may be outdated - the project requires minimum 2.3.
>> 
>> Try removing all pre-2.3 ivy-*.jar files from ~/.ant/lib/, then running “ant ivy-bootstrap”.
>> 
>> --
>> Steve
>> www.lucidworks.com
>> 
>>> On Apr 19, 2017, at 10:55 AM, Bernd Fehling <be...@uni-bielefeld.de> wrote:
>>> 
>>> Tried today to have a look at solr 6.5.0.
>>> - download solr-6.5.0-src.tgz from apache.org and extracted to workspace
>>> - ant eclipse
>>> - imported to eclipse neon as new project
>>> - from eclipse in lucene subdir clicked on build.xml and selected
>>> "Run As" --> "Ant Build..."
>>> - selected "package" and "Run"
>>> 
>>> Result:
>>> ...
>>> [javadoc] Loading source files for package org.apache.lucene.search.spans...
>>> [javadoc] Loading source files for package org.apache.lucene.store...
>>> [javadoc] Loading source files for package org.apache.lucene.util...
>>> [javadoc] Loading source files for package org.apache.lucene.util.automaton...
>>> [javadoc] Loading source files for package org.apache.lucene.util.fst...
>>> [javadoc] Constructing Javadoc information...
>>> [javadoc] Standard Doclet version 1.8.0_121
>>> [javadoc] Building tree for all the packages and classes...
>>> [javadoc] Building index for all the packages and classes...
>>> [javadoc] Building index for all classes...
>>>    [exec] Result: 128
>>>     [jar] Building jar:
>>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/test-framework/lucene-test-framework-6.5.0-SNAPSHOT-javadoc.jar
>>> javadocs:
>>> changes-to-html:
>>>   [mkdir] Created dir: /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
>>>  [delete] Deleting: /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/doap.lucene.version.dates.csv
>>>    [copy] Copying 3 files to /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
>>> ivy-availability-check:
>>> ivy-fail:
>>> ivy-configure:
>>> [ivy:configure] :: loading settings :: file = /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/top-level-ivy-settings.xml
>>> resolve-groovy:
>>> [ivy:cachepath] :: resolving dependencies :: org.codehaus.groovy#groovy-all-caller;working
>>> [ivy:cachepath] 	confs: [default]
>>> [ivy:cachepath] 	found org.codehaus.groovy#groovy-all;2.4.8 in public
>>> [ivy:cachepath] :: resolution report :: resolve 10ms :: artifacts dl 0ms
>>> 	---------------------------------------------------------------------
>>> 	|                  |            modules            ||   artifacts   |
>>> 	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
>>> 	---------------------------------------------------------------------
>>> 	|      default     |   1   |   0   |   0   |   0   ||   1   |   0   |
>>> 	---------------------------------------------------------------------
>>> resolve-markdown:
>>> 
>>> BUILD FAILED
>>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/common-build.xml:2415: ivy:cachepath doesn't support the nested "dependency" element.
>>> 
>>> 
>>> Any idea what is going wrong?
>>> 
>>> Something with ivy:dependency within ivy:cachepath, but how to fix it?
>>> 
>>> Regards
>>> Bernd
>> 


Re: BUILD FAILED solr 6.5.0

Posted by Bernd Fehling <be...@uni-bielefeld.de>.
Hi Steve,

thanks a lot for solving my problem.

Would it be possible to check for ivy >= 2.3 at start of build
and give your hint as message to the user?

Regards
Bernd

Am 19.04.2017 um 17:01 schrieb Steve Rowe:
> Hi Bernd,
> 
> Your Ivy may be outdated - the project requires minimum 2.3.
> 
> Try removing all pre-2.3 ivy-*.jar files from ~/.ant/lib/, then running \u201cant ivy-bootstrap\u201d.
> 
> --
> Steve
> www.lucidworks.com
> 
>> On Apr 19, 2017, at 10:55 AM, Bernd Fehling <be...@uni-bielefeld.de> wrote:
>>
>> Tried today to have a look at solr 6.5.0.
>> - download solr-6.5.0-src.tgz from apache.org and extracted to workspace
>> - ant eclipse
>> - imported to eclipse neon as new project
>> - from eclipse in lucene subdir clicked on build.xml and selected
>>  "Run As" --> "Ant Build..."
>> - selected "package" and "Run"
>>
>> Result:
>> ...
>>  [javadoc] Loading source files for package org.apache.lucene.search.spans...
>>  [javadoc] Loading source files for package org.apache.lucene.store...
>>  [javadoc] Loading source files for package org.apache.lucene.util...
>>  [javadoc] Loading source files for package org.apache.lucene.util.automaton...
>>  [javadoc] Loading source files for package org.apache.lucene.util.fst...
>>  [javadoc] Constructing Javadoc information...
>>  [javadoc] Standard Doclet version 1.8.0_121
>>  [javadoc] Building tree for all the packages and classes...
>>  [javadoc] Building index for all the packages and classes...
>>  [javadoc] Building index for all classes...
>>     [exec] Result: 128
>>      [jar] Building jar:
>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/test-framework/lucene-test-framework-6.5.0-SNAPSHOT-javadoc.jar
>> javadocs:
>> changes-to-html:
>>    [mkdir] Created dir: /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
>>   [delete] Deleting: /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/doap.lucene.version.dates.csv
>>     [copy] Copying 3 files to /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
>> ivy-availability-check:
>> ivy-fail:
>> ivy-configure:
>> [ivy:configure] :: loading settings :: file = /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/top-level-ivy-settings.xml
>> resolve-groovy:
>> [ivy:cachepath] :: resolving dependencies :: org.codehaus.groovy#groovy-all-caller;working
>> [ivy:cachepath] 	confs: [default]
>> [ivy:cachepath] 	found org.codehaus.groovy#groovy-all;2.4.8 in public
>> [ivy:cachepath] :: resolution report :: resolve 10ms :: artifacts dl 0ms
>> 	---------------------------------------------------------------------
>> 	|                  |            modules            ||   artifacts   |
>> 	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
>> 	---------------------------------------------------------------------
>> 	|      default     |   1   |   0   |   0   |   0   ||   1   |   0   |
>> 	---------------------------------------------------------------------
>> resolve-markdown:
>>
>> BUILD FAILED
>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/common-build.xml:2415: ivy:cachepath doesn't support the nested "dependency" element.
>>
>>
>> Any idea what is going wrong?
>>
>> Something with ivy:dependency within ivy:cachepath, but how to fix it?
>>
>> Regards
>> Bernd
>