Issues to build scala-2.10.0 on rawhide
gil
puntogil at libero.it
Mon Jan 7 18:29:07 UTC 2013
Il 07/01/2013 18:46, gil ha scritto:
> Il 07/01/2013 17:14, Jochen Schmitt ha scritto:
>> Hallo,
>>
>> Unfortunately, I have an issue to build scala-2.10.0 on rawhide. I have
>> got the following error message from the buildsystem:
>>
>> artifact:dependencies] Diagnosis:
>> [artifact:dependencies]
>> [artifact:dependencies] Unable to resolve artifact: Missing:
>> [artifact:dependencies] ----------
>> [artifact:dependencies] 1) biz.aQute:bnd:jar:1.50.0
>> [artifact:dependencies]
>> [artifact:dependencies] Try downloading the file manually from the
>> project website.
>> [artifact:dependencies]
>> [artifact:dependencies] Then, install it using the command:
>> [artifact:dependencies] mvn install:install-file
>> -DgroupId=biz.aQute -DartifactId=bnd -Dversion=1.50.0 -Dpackaging=jar
>> -Dfile=/path/to/file
>> [artifact:dependencies]
>> [artifact:dependencies] Alternatively, if you host your own
>> repository you can deploy the file there:
>> [artifact:dependencies] mvn deploy:deploy-file
>> -DgroupId=biz.aQute -DartifactId=bnd -Dversion=1.50.0 -Dpackaging=jar
>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>> [artifact:dependencies]
>> [artifact:dependencies] Path to dependency:
>> [artifact:dependencies] 1) org.apache.maven:super-pom:jar:2.0
>> [artifact:dependencies] 2) biz.aQute:bnd:jar:1.50.0
>> [artifact:dependencies]
>> [artifact:dependencies] ----------
>> [artifact:dependencies] 1 required artifact is missing.
>> [artifact:dependencies]
>> [artifact:dependencies] for artifact:
>> [artifact:dependencies] org.apache.maven:super-pom:jar:2.0
>> [artifact:dependencies]
>> [artifact:dependencies] from the specified remote repositories:
>> [artifact:dependencies] central (http://repo1.maven.org/maven2)
>> [artifact:dependencies]
>> [artifact:dependencies]
>> BUILD FAILED
>> /builddir/build/BUILD/scala-2.10.0-sources/build.xml:283: Unable to
>> resolve artifact: Missing:
>> ----------
>> 1) biz.aQute:bnd:jar:1.50.0
>> Try downloading the file manually from the project website.
>> Then, install it using the command:
>> mvn install:install-file -DgroupId=biz.aQute -DartifactId=bnd
>> -Dversion=1.50.0 -Dpackaging=jar -Dfile=/path/to/file
>> Alternatively, if you host your own repository you can deploy the
>> file there:
>> mvn deploy:deploy-file -DgroupId=biz.aQute -DartifactId=bnd
>> -Dversion=1.50.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>> -DrepositoryId=[id]
>> Path to dependency:
>> 1) org.apache.maven:super-pom:jar:2.0
>> 2) biz.aQute:bnd:jar:1.50.0
>> ----------
>> 1 required artifact is missing.
>> for artifact:
>> org.apache.maven:super-pom:jar:2.0
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2)
>>
>> It may be nice, if anyone can get me a hint to solve this
>> issue.
>>
>> Best Regards:
>>
>> Jochen Schmitt
> hi,
> should be disabled the maven-ant-tasks support with a patch...
> and add the system aqute-bnd library path where needed
> regards
> gil
e.g.
line 301 <typedef resource="aQute/bnd/ant/taskdef.properties"
classpathref="extra.tasks.classpath" />
should be replaced by
<taskdef resource="aQute/bnd/ant/taskdef.properties"
classpath="/usr/share/java/aqute-bnd.jar"/>
use aqute-bnd.jar because aqute-bndlib.jar don't provides an ant bnd task
p.s. attached a new build script for some scala component (includes jline)
in the spec file should append these BR
BuildRequires: jansi
BuildRequires: jansi-native
BuildRequires: junit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scala-2.10.0-components-build.xml
Type: text/xml
Size: 6779 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130107/b1b36c9d/attachment.xml>
More information about the devel
mailing list