[bionic SRU] Port libjsyntaxpane-java 0.9.6~r156-7 java9 crash to bionic

Bug #1770809 reported by Felix Natter
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libjsyntaxpane-java (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

 * Freeplane uses libjsyntaxpane-java for editing groovy and latex content
 * libjsyntaxpane-java-0.9.6~r156-6 is not compatible with Java9; with
   Java9, it crashes at runtime when opening the editor(s).
 * The fix is simple (one patch for java9 fix, one patch for making it
   build without maven) is simple and well tested on Debian unstable
   and Debian testing

[Test Case]

 * Install 'freeplane', add a node with content "\latex $x_2=3$"
   (without quotes), and edit the node with Alt+Enter. Without the fix
   (-6), there will be a popup with an exception. With the fix
   (-6ubuntu1), an editor with syntax highlighting will pop up.

[Regression Potential]

 * In theory, the editor could still not work with the new (-6ubuntu1) version (unlikely, because the fix is well-tested). There is no risk since the current version of libjsyntaxpane-java is completely broken.

[Original Description]

Please sync libjsyntaxpane-java 0.9.6~r156-7 (universe) from Debian unstable (main)

Changelog entries since current bionic version 0.9.6~r156-6:

libjsyntaxpane-java (0.9.6~r156-7) unstable; urgency=medium

  * Fix java 9 problem (ported from https://github.com/nordfalk/jsyntaxpane)
  * Patch out pom.xml to avoid maven build
  * Use debhelper compat level 11
  * Add myself to Uploaders:
  * Declare conformance with standards-version 4.1.4
  * Update Vcs-* to point to salsa
  * Override bad-jar-name and obsolete-url-in-packaging lintians
  * Ignore embedded-javascript-library lintian for javadoc output
    for now, see #883981

 -- Felix Natter <email address hidden> Tue, 24 Apr 2018 19:43:37 +0200

Revision history for this message
Felix Natter (fnatter) wrote :

This fixes a problem with freeplane, where the LaTeX/Groovy editor does not work.

Thanks and Best Regards!
Felix

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Felix, this package was automatically synced to Ubuntu 18.10 (development). If you need this bug fixed in Ubuntu 18.04 LTS also, could you follow the SRU procedures?

https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Changed in libjsyntaxpane-java (Ubuntu):
status: New → Fix Released
Changed in libjsyntaxpane-java (Ubuntu Bionic):
status: New → Incomplete
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Unsubscribing the Ubuntu Sponsors Team for now as there is nothing to sponsor.

Felix Natter (fnatter)
summary: - Sync libjsyntaxpane-java 0.9.6~r156-7 (universe) from Debian unstable
- (main)
+ [bionic SRU] Port libjsyntaxpane-java 0.9.6~r156-7 java9 crash to bionic
Revision history for this message
Felix Natter (fnatter) wrote :

With this bug report, I would like to create a bionic SRU for the
libjsyntaxpane-java package.

The debdiff is attached. The commit is on the "bionic-SRU" branch:
  https://salsa.debian.org/java-team/libjsyntaxpane-java/commits/bionic-SRU

Please review this as I did not initiate many Ubuntu SRUs.

[Impact]

 * Freeplane uses libjsyntaxpane-java for editing groovy and latex content

 * libjsyntaxpane-java-0.9.6~r156-6 is not compatible with Java9; with
   Java9, it crashes at runtime when opening the editor(s).

 * The fix is simple (one patch for java9 fix, one patch for making it
   build without maven) is simple and well tested on Debian unstable
   and Debian testing

[Test Case]

 * Install 'freeplane', add a node with content "\latex $x_2=3$"
   (without quotes), and edit the node with Alt+Enter. Without the fix
   (-6), there will be a popup with an exception. With the fix
   (-6ubuntu1), an editor with syntax highlighting will pop up.

[Regression Potential]

 * In theory, the editor could still not work with the new (-6ubuntu1) version
   (unlikely, because the fix is well-tested). There is no risk since the current
   version of libjsyntaxpane-java is completely broken.

[Other Info]

 * Anything else you think is useful to include
 * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board
 * and address these questions in advance

Revision history for this message
Felix Natter (fnatter) wrote :

Updated the debdiff.

tags: added: bionic patch
Changed in libjsyntaxpane-java (Ubuntu Bionic):
status: Incomplete → New
Revision history for this message
Felix Natter (fnatter) wrote :

Dear ubuntu-sponsors,

do you still have this SRU on your radar?

Cheers and Best Regards,
Felix

Revision history for this message
Felix Natter (fnatter) wrote : Re: [Bug 1770809] Re: Sync libjsyntaxpane-java 0.9.6~r156-7 (universe) from Debian unstable (main)

hello Jeremy,

I followed the SRU procedures in:
  https://bugs.launchpad.net/ubuntu/+source/libjsyntaxpane-java/+bug/1770809

for quite some new, but I do not attract any sponsors (not on
#ubuntu-motu, not on #ubuntu-devel). Would you consider sponsoring this?

Many Thanks and Best Regards,
Felix

Jeremy Bicha <email address hidden> writes:
> Felix, this package was automatically synced to Ubuntu 18.10
> (development). If you need this bug fixed in Ubuntu 18.04 LTS also,
> could you follow the SRU procedures?
>
> https://wiki.ubuntu.com/StableReleaseUpdates#Procedure
>
> ** Changed in: libjsyntaxpane-java (Ubuntu)
> Status: New => Fix Released
>
> ** Also affects: libjsyntaxpane-java (Ubuntu Bionic)
> Importance: Undecided
> Status: New
>
> ** Changed in: libjsyntaxpane-java (Ubuntu Bionic)
> Status: New => Incomplete

--
Felix Natter
debian/rules!

Simon Quigley (tsimonq2)
description: updated
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Uploaded to the Bionic queue, after putting the SRU template in the bug description (where the SRU team prefers to see it).

I also made a few minor tweaks, simply because they aren't generally things that justify an SRU. I reverted the Vcs-* update and the addition of your name to Uploaders (the former isn't SRUable in my opinion and the latter isn't something done in Ubuntu).

I also changed the distribution to only be "bionic"; Launchpad will automatically DTRT once accepted.

Thanks for your work, and for your patience on getting this sponsored.

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Felix, or anyone else affected,

Accepted libjsyntaxpane-java into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libjsyntaxpane-java/0.9.6~r156-6ubuntu0.18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in libjsyntaxpane-java (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
Revision history for this message
Felix Natter (fnatter) wrote :

hello Brian,

I will test this by next weekend. Need to setup bionic, so sorry for the delay.

Cheers and Best Regards,
Felix

Revision history for this message
Felix Natter (fnatter) wrote :

hello Brian,

I tested successfully:

- install Ubuntu 18.04.1
- apt-get install freeplane
- start freeplane, verify that bug occurs
- add bionic-proposed to sources.list
- apt-get update
- apt-get install libjsyntaxpane-java
- start freeplane, verify that bug is fixed

Cheers and Best Regards,
Felix

tags: added: verification-done-bionic
removed: verification-needed-bionic
tags: added: verification-done-bionicd
removed: verification-done-bionic verification-needed
tags: added: verification-done-bionic
removed: verification-done-bionicd
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libjsyntaxpane-java - 0.9.6~r156-6ubuntu0.18.04.1

---------------
libjsyntaxpane-java (0.9.6~r156-6ubuntu0.18.04.1) bionic; urgency=medium

  * Fix java9 runtime crash by porting patches from -7 (LP: #1770809).

 -- Felix Natter <email address hidden> Sat, 19 May 2018 12:27:05 +0200

Changed in libjsyntaxpane-java (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for libjsyntaxpane-java has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.