[Debian-med-packaging] Packaging fest-swing and its dependencies

Andreas Tille andreas at an3as.eu
Sun Jul 5 13:19:53 UTC 2015


Hi Emmanuel,

On Fri, Jul 03, 2015 at 08:08:32AM +0200, Emmanuel Bourg wrote:
> > I verified that libjsr305-java is in Build-Depends but I have no idea how
> > to cope with this.
> 
> The artifact in the libjsr305-java package has the version 0.x, you need
> a Maven rule (in debian/maven.rules) like this one:
> 
> org.jsr-305 jsr305 * s/.*/0.x/ * *

I admit this helped but to me this sounds a bit "magical" to me.  So I
remain clueless when it comes to the next set of build errors that start
with:

...
[INFO] Compiling 454 source files to /tmp/buildd/fest-swing-1.x-20130304/fest-swing/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /tmp/buildd/fest-swing-1.x-20130304/fest-swing/src/main/java/org/fest/swing/driver/ComponentDriver.java:[17,33] error: package org.fest.assertions does not exist
[ERROR] /tmp/buildd/fest-swing-1.x-20130304/fest-swing/src/main/java/org/fest/swing/driver/ComponentDriver.java:[17,0] error: static import only from classes and interfaces
[ERROR] /tmp/buildd/fest-swing-1.x-20130304/fest-swing/src/main/java/org/fest/swing/driver/ComponentEnabledCondition.java:[26,26] error: package org.fest.assertions does not exist
[ERROR] /tmp/buildd/fest-swing-1.x-20130304/fest-swing/src/main/java/org/fest/swing/timing/Condition.java:[22,26] error: package org.fest.assertions does not exist
[ERROR] /tmp/buildd/fest-swing-1.x-20130304/fest-swing/src/main/java/org/fest/swing/timing/Condition.java:[23,26] error: package org.fest.assertions does not exist
[ERROR] /tmp/buildd/fest-swing-1.x-20130304/fest-swing/src/main/java/org/fest/swing/driver/ComponentDriver.java:[44,26] error: package org.fest.assertions does not exist
[ERROR] /tmp/buildd/fest-swing-1.x-20130304/fest-swing/src/main/java/org/fest/swing/driver/ComponentDriver.java:[63,20] error: cannot find symbol
[ERROR]   symbol:   class InternalApi
  location: package org.fest.util
/tmp/buildd/fest-swing-1.x-20130304/fest-swing/src/main/java/org/fest/swing/driver/ComponentDriver.java:[77,1] error: cannot find symbol
...


I'm afraid I need more help to finalise the package.

Thanks for the help until now

     Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list