Scala project based on sbt

Mikolaj Izdebski mizdebsk at redhat.com
Mon Jun 15 08:42:51 UTC 2015


On 06/15/2015 10:23 AM, Javi Roman wrote:
> Hi!
> 
> I'm going to work seriously with Apache Kafka packaging, nevertheless
> I'm running into problems with Scala and sbt tool.
> 
> I'm looking for some package using scala/sbt combination as base, such
> as json4s, however this package breaks in rawhide (Fedora 23):
> 
> # fedpkg mockbuild
> ....
> :: problems summary ::
> :::: WARNINGS
>         problem while downloading module descriptor:
> file:ivy-local/org.scala-sbt/sbt/0.13.1/ivy.xml: URI is not
> hierarchical (1ms)
> 
>                 module not found: org.scala-sbt#sbt;0.13.1
> 
>         ==== local: tried
> 
>           file:ivy-local/org.scala-sbt/sbt/0.13.1/ivy.xml
> 
>                 ::::::::::::::::::::::::::::::::::::::::::::::
> 
>                 ::          UNRESOLVED DEPENDENCIES         ::
> 
>                 ::::::::::::::::::::::::::::::::::::::::::::::
> 
>                 :: org.scala-sbt#sbt;0.13.1: not found
> 
>                 ::::::::::::::::::::::::::::::::::::::::::::::
> 
> Is there any scala/sbt project, that built properly in rawhide right now?

SBT is not working in rawhide due to several bugs.

The above problem is caused by obsolete Maven metadata format [1].
Rebuilding sbt would fix it, but the package is FTBFS for over a year
[2], so it couldn't be rebuilt to use the new metadata format.

Another grave bug that prevents SBT from working is [3].

[1]
https://lists.fedoraproject.org/pipermail/java-devel/2014-December/005430.html
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1107277
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1155699


-- 
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk


More information about the bigdata mailing list