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 Karunakar Reddy <ka...@gmail.com> on 2014/10/28 07:41:19 UTC
unable to build solr 4.10.1
Hi ,
I am getting below error while doing "ant dist" .
:: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] [FAILED ]
javax.activation#activation;1.1.1!activation.jar(javadoc): (0ms)
[ivy:retrieve] ==== shared: tried
[ivy:retrieve]
/home/.ivy2/shared/javax.activation/activation/1.1.1/javadocs/activation.jar
[ivy:retrieve] ==== public: tried
[ivy:retrieve]
http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1-javadoc.jar
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: FAILED DOWNLOADS ::
[ivy:retrieve] :: ^ see resolution messages for details ^ ::
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: javax.activation#activation;1.1.1!activation.jar(javadoc)
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
/home/solr_trunk/solr-4.10.1/solr/build.xml:339: The following error
occurred while executing this line:
/home/solr_trunk/solr-4.10.1/solr/common-build.xml:438: The following error
occurred while executing this line:
/home/solr_trunk/solr-4.10.1/solr/contrib/contrib-build.xml:52: impossible
to resolve dependencies:
resolve failed - see output for details
Please tell me if i am doing something wrong.
Thanks,
Karunakar.
Re: unable to build solr 4.10.1
Posted by Steve Rowe <sa...@gmail.com>.
Hi Karunakar,
4.10.2 (which will be released some time this week) has a fix for this: https://issues.apache.org/jira/browse/LUCENE-6007
The build failure is caused by solr/contrib/dataimporthandler-extras/ivy.xml
Apply this patch to make the build succeed:
<https://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/contrib/dataimporthandler-extras/ivy.xml?r1=1633651&r2=1633650&pathrev=1633651>
Steve
> On Oct 28, 2014, at 2:41 AM, Karunakar Reddy <ka...@gmail.com> wrote:
>
> Hi ,
>
> I am getting below error while doing "ant dist" .
>
> :: problems summary ::
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve] [FAILED ]
> javax.activation#activation;1.1.1!activation.jar(javadoc): (0ms)
> [ivy:retrieve] ==== shared: tried
> [ivy:retrieve]
> /home/.ivy2/shared/javax.activation/activation/1.1.1/javadocs/activation.jar
> [ivy:retrieve] ==== public: tried
> [ivy:retrieve]
> http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1-javadoc.jar
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] :: FAILED DOWNLOADS ::
> [ivy:retrieve] :: ^ see resolution messages for details ^ ::
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] :: javax.activation#activation;1.1.1!activation.jar(javadoc)
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]
> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>
> BUILD FAILED
> /home/solr_trunk/solr-4.10.1/solr/build.xml:339: The following error
> occurred while executing this line:
> /home/solr_trunk/solr-4.10.1/solr/common-build.xml:438: The following error
> occurred while executing this line:
> /home/solr_trunk/solr-4.10.1/solr/contrib/contrib-build.xml:52: impossible
> to resolve dependencies:
> resolve failed - see output for details
>
>
> Please tell me if i am doing something wrong.
>
>
> Thanks,
> Karunakar.
Re: unable to build solr 4.10.1
Posted by Chris Hostetter <ho...@fucit.org>.
: I am getting below error while doing "ant dist" .
The build system (up to 4.10.1) was unintentinally requiring that javadoc
jars existed -- and this recently manifested as a problem when this
particular javadoc jar somehow fvanished from maven.org.
This issue tracks the fix which will be n 4.10.2...
https://issues.apache.org/jira/browse/LUCENE-6007
Since hte missing jar is just javadocs, and are not actually needed to
build/run anything, you can just create a dummy file to satisfy the
dependency checker, using the "shard" path mentioned in the error...
: [ivy:retrieve] ==== shared: tried
: [ivy:retrieve]
: /home/.ivy2/shared/javax.activation/activation/1.1.1/javadocs/activation.jar
like so...
mkdir -p /home/.ivy2/shared/javax.activation/activation/1.1.1/javadocs/
touch /home/.ivy2/shared/javax.activation/activation/1.1.1/javadocs/activation.jar
-Hoss
http://www.lucidworks.com/
Re: unable to build solr 4.10.1
Posted by Modassar Ather <mo...@gmail.com>.
The following link might help.
https://wiki.apache.org/solr/HowToCompileSolr
You might need to run "ant ivy-bootstrap" as described in the link above.
On Tue, Oct 28, 2014 at 12:20 PM, Karunakar Reddy <ka...@gmail.com>
wrote:
> Hi Martin,
> Thanks for your quick response. Yes specified file is not present in that
> location.
> Now How to disable this?
> I do not have idea of ant,ivy build tools.
>
> Thanks & Regards,
> Karunakar.
>
> On Tue, Oct 28, 2014 at 12:15 PM, Will Martin <wm...@gmail.com>
> wrote:
>
> > There is no Javadoc jar at that location. Does that help?
> >
> > -----Original Message-----
> > From: Karunakar Reddy [mailto:karunakarms@gmail.com]
> > Sent: Tuesday, October 28, 2014 2:41 AM
> > To: solr-user@lucene.apache.org
> > Subject: unable to build solr 4.10.1
> >
> > Hi ,
> >
> > I am getting below error while doing "ant dist" .
> >
> > :: problems summary ::
> > [ivy:retrieve] :::: WARNINGS
> > [ivy:retrieve] [FAILED ]
> > javax.activation#activation;1.1.1!activation.jar(javadoc): (0ms)
> > [ivy:retrieve] ==== shared: tried [ivy:retrieve]
> >
> /home/.ivy2/shared/javax.activation/activation/1.1.1/javadocs/activation.jar
> > [ivy:retrieve] ==== public: tried
> > [ivy:retrieve]
> >
> >
> http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1-javadoc.jar
> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve] :: FAILED DOWNLOADS ::
> > [ivy:retrieve] :: ^ see resolution messages for details ^ ::
> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve] ::
> javax.activation#activation;1.1.1!activation.jar(javadoc)
> > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve]
> > [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> >
> > BUILD FAILED
> > /home/solr_trunk/solr-4.10.1/solr/build.xml:339: The following error
> > occurred while executing this line:
> > /home/solr_trunk/solr-4.10.1/solr/common-build.xml:438: The following
> > error occurred while executing this line:
> > /home/solr_trunk/solr-4.10.1/solr/contrib/contrib-build.xml:52:
> impossible
> > to resolve dependencies:
> > resolve failed - see output for details
> >
> >
> > Please tell me if i am doing something wrong.
> >
> >
> > Thanks,
> > Karunakar.
> >
> >
>
Re: unable to build solr 4.10.1
Posted by Karunakar Reddy <ka...@gmail.com>.
Hi Martin,
Thanks for your quick response. Yes specified file is not present in that
location.
Now How to disable this?
I do not have idea of ant,ivy build tools.
Thanks & Regards,
Karunakar.
On Tue, Oct 28, 2014 at 12:15 PM, Will Martin <wm...@gmail.com> wrote:
> There is no Javadoc jar at that location. Does that help?
>
> -----Original Message-----
> From: Karunakar Reddy [mailto:karunakarms@gmail.com]
> Sent: Tuesday, October 28, 2014 2:41 AM
> To: solr-user@lucene.apache.org
> Subject: unable to build solr 4.10.1
>
> Hi ,
>
> I am getting below error while doing "ant dist" .
>
> :: problems summary ::
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve] [FAILED ]
> javax.activation#activation;1.1.1!activation.jar(javadoc): (0ms)
> [ivy:retrieve] ==== shared: tried [ivy:retrieve]
> /home/.ivy2/shared/javax.activation/activation/1.1.1/javadocs/activation.jar
> [ivy:retrieve] ==== public: tried
> [ivy:retrieve]
>
> http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1-javadoc.jar
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] :: FAILED DOWNLOADS ::
> [ivy:retrieve] :: ^ see resolution messages for details ^ ::
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] :: javax.activation#activation;1.1.1!activation.jar(javadoc)
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]
> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>
> BUILD FAILED
> /home/solr_trunk/solr-4.10.1/solr/build.xml:339: The following error
> occurred while executing this line:
> /home/solr_trunk/solr-4.10.1/solr/common-build.xml:438: The following
> error occurred while executing this line:
> /home/solr_trunk/solr-4.10.1/solr/contrib/contrib-build.xml:52: impossible
> to resolve dependencies:
> resolve failed - see output for details
>
>
> Please tell me if i am doing something wrong.
>
>
> Thanks,
> Karunakar.
>
>
RE: unable to build solr 4.10.1
Posted by Will Martin <wm...@gmail.com>.
There is no Javadoc jar at that location. Does that help?
-----Original Message-----
From: Karunakar Reddy [mailto:karunakarms@gmail.com]
Sent: Tuesday, October 28, 2014 2:41 AM
To: solr-user@lucene.apache.org
Subject: unable to build solr 4.10.1
Hi ,
I am getting below error while doing "ant dist" .
:: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] [FAILED ]
javax.activation#activation;1.1.1!activation.jar(javadoc): (0ms) [ivy:retrieve] ==== shared: tried [ivy:retrieve] /home/.ivy2/shared/javax.activation/activation/1.1.1/javadocs/activation.jar
[ivy:retrieve] ==== public: tried
[ivy:retrieve]
http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1-javadoc.jar
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: FAILED DOWNLOADS ::
[ivy:retrieve] :: ^ see resolution messages for details ^ ::
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: javax.activation#activation;1.1.1!activation.jar(javadoc)
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
/home/solr_trunk/solr-4.10.1/solr/build.xml:339: The following error occurred while executing this line:
/home/solr_trunk/solr-4.10.1/solr/common-build.xml:438: The following error occurred while executing this line:
/home/solr_trunk/solr-4.10.1/solr/contrib/contrib-build.xml:52: impossible to resolve dependencies:
resolve failed - see output for details
Please tell me if i am doing something wrong.
Thanks,
Karunakar.