Bug#737994: fails to build on wheezy

Mathieu Malaterre malat at debian.org
Fri Feb 7 12:43:14 UTC 2014


Package: jenkins-trilead-ssh2
Version: 217-jenkins-3-1

I cannot build the package on wheeyz system. It fails with:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Ganymed SSH2 for Java
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/tmp/jenkins-trilead-ssh2-217-jenkins-3/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 130 source files to
/tmp/jenkins-trilead-ssh2-217-jenkins-3/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/tmp/jenkins-trilead-ssh2-217-jenkins-3/src/com/trilead/ssh2/channel/Channel.java:[13,7]
static import declarations are not supported in -source 1.3
(use -source 5 or higher to enable static import declarations)
import static com.trilead.ssh2.util.IOUtils.closeQuietly;

/tmp/jenkins-trilead-ssh2-217-jenkins-3/src/com/trilead/ssh2/channel/FifoBuffer.java:[53,21]
';' expected


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Fri Feb 07 13:41:02 CET 2014
[INFO] Final Memory: 6M/108M
[INFO] ------------------------------------------------------------------------
make: *** [mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2


It would be nice to have it as backport (this would solve 730685)



More information about the pkg-java-maintainers mailing list