Bug#928276: stretch-pu: package biomaj-watcher/1.2.2-4+deb9u1
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu
Hi,
I finally found a solution for the biomaj-watcher jessie->stretch
upgrade problem I noticed long ago. #866980
We need to ensure that the build-time jdk is also available at run-time.
The problem occurred if biomaj-watcher from stretch, built against
openjdk-8, was installed (and configured) along openjdk-7 from jessie
as default-jdk (which was not jet upgraded) ...
So lets just tighten the dependencies and the problem is gone.
Andreas
diff -Nru biomaj-watcher-1.2.2/debian/changelog biomaj-watcher-1.2.2/debian/changelog
--- biomaj-watcher-1.2.2/debian/changelog 2016-11-08 14:17:13.000000000 +0100
+++ biomaj-watcher-1.2.2/debian/changelog 2019-05-01 02:28:34.000000000 +0200
@@ -1,3 +1,11 @@
+biomaj-watcher (1.2.2-4+deb9u1) stretch; urgency=medium
+
+ * Bump (Build-)Depends to default-jdk (>= 2:1.8) (aka openjdk-8). Prevent
+ partial upgrades from jessie (openjdk-7): biomaj-watcher needs to be run
+ with the same jdk version that was used for building. (Closes: #866980)
+
+ -- Andreas Beckmann <anbe@debian.org> Wed, 01 May 2019 02:28:34 +0200
+
biomaj-watcher (1.2.2-4) unstable; urgency=medium
* Team upload.
diff -Nru biomaj-watcher-1.2.2/debian/control biomaj-watcher-1.2.2/debian/control
--- biomaj-watcher-1.2.2/debian/control 2016-11-08 10:55:32.000000000 +0100
+++ biomaj-watcher-1.2.2/debian/control 2019-05-01 02:28:34.000000000 +0200
@@ -7,7 +7,7 @@
Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/biomaj-watcher/trunk/
Homepage: http://biomaj.genouest.org
Build-Depends: debhelper (>= 8),ant(>=1.7), zip, unzip
-Build-Depends-Indep: default-jdk, debconf, po-debconf, liblog4j1.2-java,
+Build-Depends-Indep: default-jdk (>= 2:1.8), debconf, po-debconf, liblog4j1.2-java,
libcommons-lang-java,
libcommons-logging-java,
libjsch-java,
@@ -21,7 +21,7 @@
Package: biomaj-watcher
Architecture: all
-Depends: ${misc:Depends}, default-jdk, tomcat8 , biomaj (>= 1.2.1), debconf,
+Depends: ${misc:Depends}, default-jdk (>= 2:1.8), tomcat8 , biomaj (>= 1.2.1), debconf,
liblog4j1.2-java, libjsch-java (>= 0.1.42),libjdom1-java (>= 1.1), libcommons-lang-java (>=2.4),
libcommons-logging-java (>=1.1),libquartz-java(>=1.6),libxerces2-java, unzip, zip, libmail-java
Description: biological data-bank updater - web interface
Reply to: