Emmanuel Bourg pushed to branch master at Debian Java Maintainers / insubstantial
Commits: f5606a13 by Ben Hutchings at 2023-03-04T13:03:23+01:00 Java 11: disable augmentation Since Java 11, Java bytecode is required to include some additional metadata. The bytecode generated by laf-widget for "augmentation" of other widget libraries does not follow this requirement, resulting in a build failure. A later version of laf-widget has removed this augmentation rather than fixing it: https://github.com/kirill-grouchnikov/laf-widget/commit/8b0871e84ca6b6c0c479a6033998eb39e0fc767d This augmentation does not seem to be essential, so disable it until it is fixed or properly removed. Closes: #1013594 - - - - - 3 changed files: - debian/changelog - + debian/patches/java-11-disable-augmentation.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +insubstantial (7.3+dfsg3-5.1) unstable; urgency=medium + + * Non-maintainer upload. + * Java 11: disable augmentation (fixes FTBFS) (Closes: #1013594) + + -- Ben Hutchings <b...@debian.org> Fri, 03 Mar 2023 23:42:05 +0100 + insubstantial (7.3+dfsg3-5) unstable; urgency=medium [ Andrius Merkys ] ===================================== debian/patches/java-11-disable-augmentation.patch ===================================== @@ -0,0 +1,51 @@ +From: Ben Hutchings <b...@debian.org> +Subject: Java 11: disable augmentation +Date: Fri, 03 Mar 2023 23:11:14 +0100 +Bug-Debian: https://bugs.debian.org/1013594 + +Since Java 11, Java bytecode is required to include some additional +metadata. The bytecode generated by laf-widget for "augmentation" of +other widget libraries does not follow this requirement, resulting in +a build failure. + +A later version of laf-widget has removed this augmentation rather +than fixing it: +https://github.com/kirill-grouchnikov/laf-widget/commit/8b0871e84ca6b6c0c479a6033998eb39e0fc767d + +This augmentation does not seem to be essential, so disable it until +it is fixed or properly removed. + +--- +--- a/substance-flamingo/build.gradle ++++ b/substance-flamingo/build.gradle +@@ -24,6 +24,8 @@ dependencies { + + task augmentation(dependsOn: classes) { + description = "Performs code augmentaiton for the laf-plugin and laf-widget libraries on the substance jar classes" ++ // Broken under Java 11 - see Debian bug #1013594 ++ enabled = false + + doLast { + def augmentClassPath = configurations.toolsCompile.asPath + File.pathSeparator + configurations.compile.asPath +--- a/substance-swingx/build.gradle ++++ b/substance-swingx/build.gradle +@@ -25,6 +25,8 @@ dependencies { + + task augmentation(dependsOn: classes) { + description = "Performs code augmentaiton for the laf-plugin and laf-widget libraries on the substance jar classes" ++ // Broken under Java 11 - see Debian bug #1013594 ++ enabled = false + + doLast { + def augmentClassPath = configurations.toolsCompile.asPath + File.pathSeparator + configurations.compile.asPath +--- a/substance/build.gradle ++++ b/substance/build.gradle +@@ -28,6 +28,8 @@ dependencies { + + task augmentation(dependsOn: classes) { + description = "Performs code augmentaiton for the laf-plugin and laf-widget libraries on the substance jar classes" ++ // Broken under Java 11 - see Debian bug #1013594 ++ enabled = false + + doLast { + def augmentClassPath = configurations.toolsCompile.asPath ===================================== debian/patches/series ===================================== @@ -4,3 +4,4 @@ javadoc_encoding.patch asm5.patch java9-compatibility.patch fix-56.patch +java-11-disable-augmentation.patch View it on GitLab: https://salsa.debian.org/java-team/insubstantial/-/commit/f5606a1336c38d5fd966eedddba9f038bf0d6e37 -- View it on GitLab: https://salsa.debian.org/java-team/insubstantial/-/commit/f5606a1336c38d5fd966eedddba9f038bf0d6e37 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ pkg-java-commits mailing list pkg-java-comm...@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits