db5.3: FTBFS with openjdk 11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
db5.3 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[SRU Justification]
db5.3 fails to build with openjdk 11 as the default jre because:
- debian/rules hardcodes an obsolete Java standard (1.5; 1.6 is the minimum currently supported)
- version detection of java versions in the configure script doesn't account for the possibility of two-digit upstream version numbers.
This makes the package not currently security supportable as of 18.04 release. Since this package is seeded on the desktop image I am not looking to have this included during the freeze but am making it an SRU instead.
[Test case]
If the package builds from source and its reverse-
[Regression potential]
Because we are bumping the java version in this rebuild, there is a possibility that it will break compatibility with other out-of-archive java implementations that users are using. This is unlikely; 1.5 is ancient, even precise has 1.6 and trusty has 1.7 as the default. If there is concern about compatibility with precise, we could peg this to 1.6 instead of using 1.7, but there is no reasonable expectation that java bindings built on 18.04 will work on 12.04, and we know that OpenJDK 11 when it is released will break compatibility even with OpenJDK 8 in some cases which means there will definitely be jars SRUed for OpenJDK 11 that are not compatible with OpenJDK 6.
Changed in db5.3 (Ubuntu): | |
status: | New → In Progress |
tags: | added: ftbfs |
This bug was fixed in the package db5.3 - 5.3.28-13.1ubuntu1
--------------- 13.1ubuntu1) bionic; urgency=medium
db5.3 (5.3.28-
* Adjust minimal java compat version from the deprecated 1.5 to 1.7. patches/ java-version- detection. patch: fix detection of Java
* debian/
versions >= 10. LP: #1766803
-- Steve Langasek <email address hidden> Wed, 25 Apr 2018 06:18:48 +0000