[Bug 1800147] Re: Bionic freeplane SRU [was: freeplane didn't show interface]

Simon Quigley tsimonq2 at ubuntu.com
Wed Nov 21 03:57:58 UTC 2018


The bug title doesn't have to say SRU, and the SRU template should go
into the bug description. :)

The upload should also be versioned 6.1.1-2ubuntu0.1 (see
https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation#Update_the_packaging
) and the upload should be targeted at bionic (except for backports and
security).

That being said, sponsored. Thank you for your contribution to Ubuntu!

** Description changed:

- same as ​ 	
+ [Impact]
+ 
+  * freeplane depends on knopflerfish-osgi (libknopflerfish-osgi-framework-java)
+    as OSGi runtime
+ 
+  * libknopflerfish-osgi-framework-java 6.1.1-2 does not set source and
+    target level for java. Thus, it will use "11" (or "1.11") when compiled
+    with OpenJDK11 (the default in bionic). That's why OpenJDK8 cannot run
+    the code.
+ 
+  * The fix is a very simple backport of 6.1.1-3 (tested in Debian
+    unstable): set source and target level to 1.7 (knopflerfish requires
+    Java7), see attached debdiff. This is necessary for freeplane to start
+    under bionic with Java8.
+ 
+ [Test Case]
+ 
+  * Run the freeplane package from bionic while having installed and
+    selected OpenJDK8. If it fails (this SRU is not applied), you will see:
+ 
+    Exception in thread "main" java.lang.UnsupportedClassVersionError:
+    org/knopflerfish/framework/Main has been compiled by a more recent
+    version of the Java Runtime (class file version 53.0), this version of
+    the Java Runtime only recognizes class file versions up to 52.0
+ 
+ [Regression Potential]
+ 
+  * The possible risk is that knopflerfish still does not run under Java8
+    and freeplane still does not start.
+ 
+ [Other Info]
+ 
+  * debdiff is attached
+ 
+  * Here is the branch for the SRU upload:
+    https://salsa.debian.org/java-team/knopflerfish-osgi/tree/bionic-sru
+ 
+  * Some users have applied one of these two workarounds (while I was preparing this SRU):
+    - Install openjdk-9-jdk and choose it (use sudo update-java-alternatives --list/--set ... or set JAVA_HOME)
+    - use the upstream .deb
+ 
+ [Original Description]
+ 
+ same as ​
  #1791658 freeplane didn't show interface
  New (2 comments) last updated 2018-09-22 vi
  
  With Bionic 18.04 and oracel java8
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: freeplane 1.6.13-1
  ProcVersionSignature: Ubuntu 4.15.0-38.41-generic 4.15.18
  Uname: Linux 4.15.0-38-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.4
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Oct 26 14:59:09 2018
  InstallationDate: Installed on 2018-10-24 (1 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
  PackageArchitecture: all
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=fr_FR.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=fr_FR.UTF-8
+  SHELL=/bin/bash
  SourcePackage: freeplane
  UpgradeStatus: No upgrade log present (probably fresh install)

** Summary changed:

- Bionic freeplane SRU [was: freeplane didn't show interface]
+ freeplane didn't show interface

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1800147

Title:
  freeplane didn't show interface

Status in freeplane package in Ubuntu:
  New

Bug description:
  [Impact]

   * freeplane depends on knopflerfish-osgi (libknopflerfish-osgi-framework-java)
     as OSGi runtime

   * libknopflerfish-osgi-framework-java 6.1.1-2 does not set source and
     target level for java. Thus, it will use "11" (or "1.11") when compiled
     with OpenJDK11 (the default in bionic). That's why OpenJDK8 cannot run
     the code.

   * The fix is a very simple backport of 6.1.1-3 (tested in Debian
     unstable): set source and target level to 1.7 (knopflerfish requires
     Java7), see attached debdiff. This is necessary for freeplane to start
     under bionic with Java8.

  [Test Case]

   * Run the freeplane package from bionic while having installed and
     selected OpenJDK8. If it fails (this SRU is not applied), you will see:

     Exception in thread "main" java.lang.UnsupportedClassVersionError:
     org/knopflerfish/framework/Main has been compiled by a more recent
     version of the Java Runtime (class file version 53.0), this version of
     the Java Runtime only recognizes class file versions up to 52.0

  [Regression Potential]

   * The possible risk is that knopflerfish still does not run under Java8
     and freeplane still does not start.

  [Other Info]

   * debdiff is attached

   * Here is the branch for the SRU upload:
     https://salsa.debian.org/java-team/knopflerfish-osgi/tree/bionic-sru

   * Some users have applied one of these two workarounds (while I was preparing this SRU):
     - Install openjdk-9-jdk and choose it (use sudo update-java-alternatives --list/--set ... or set JAVA_HOME)
     - use the upstream .deb

  [Original Description]

  same as ​
  #1791658 freeplane didn't show interface
  New (2 comments) last updated 2018-09-22 vi

  With Bionic 18.04 and oracel java8

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: freeplane 1.6.13-1
  ProcVersionSignature: Ubuntu 4.15.0-38.41-generic 4.15.18
  Uname: Linux 4.15.0-38-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.4
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Oct 26 14:59:09 2018
  InstallationDate: Installed on 2018-10-24 (1 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: freeplane
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeplane/+bug/1800147/+subscriptions



More information about the Ubuntu-sponsors mailing list