[Git][java-team/jarchivelib][master] 6 commits: Fixed the build failure with commons-compress 1.27 (Closes: #1086277)

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Sun Oct 18 10:56:36 BST 2026



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / jarchivelib


Commits:
856a5a74 by Emmanuel Bourg at 2026-10-18T11:39:06+02:00
Fixed the build failure with commons-compress 1.27 (Closes: #1086277)

- - - - -
a7346660 by Emmanuel Bourg at 2026-10-18T11:39:06+02:00
Converted debian/watch to the version 5 format

- - - - -
276580c3 by Emmanuel Bourg at 2026-10-18T11:39:06+02:00
Standards-Version updated to 4.7.4

- - - - -
4f14cb0c by Emmanuel Bourg at 2026-10-18T11:39:06+02:00
Removed the Priority field

- - - - -
c226ee41 by Emmanuel Bourg at 2026-10-18T11:39:06+02:00
Removed the Rules-Requires-Root field

- - - - -
ed3248f6 by Emmanuel Bourg at 2026-10-18T11:51:27+02:00
Upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/commons-compress-1.27-compatibility.patch
- + debian/patches/series
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+jarchivelib (1.2.0-3) unstable; urgency=medium
+
+  * Team upload.
+  * Fixed the build failure with commons-compress 1.27 (Closes: #1086277)
+  * Converted debian/watch to the version 5 format
+  * Standards-Version updated to 4.7.4
+  * Removed the Priority field
+  * Removed the Rules-Requires-Root field
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Sun, 18 Oct 2026 11:51:16 +0200
+
 jarchivelib (1.2.0-2) unstable; urgency=medium
 
   * Removing empty debian/maven.cleanIgnoreRules.


=====================================
debian/control
=====================================
@@ -1,6 +1,5 @@
 Source: jarchivelib
 Section: java
-Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders:
  Andrius Merkys <merkys at debian.org>,
@@ -8,11 +7,10 @@ Build-Depends:
  debhelper-compat (= 13),
  libmaven-bundle-plugin-java,
  maven-debian-helper,
-Standards-Version: 4.4.0
+Standards-Version: 4.7.4
 Homepage: https://rauschig.org/jarchivelib
 Vcs-Browser: https://salsa.debian.org/java-team/jarchivelib
 Vcs-Git: https://salsa.debian.org/java-team/jarchivelib.git
-Rules-Requires-Root: no
 
 Package: libjarchivelib-java
 Architecture: all


=====================================
debian/patches/commons-compress-1.27-compatibility.patch
=====================================
@@ -0,0 +1,19 @@
+Description: Fixes the compatibility with commons-compress 1.27
+ ArchiveOutputStream extends FilterOutputStream since commons-compress 1.27,
+ and flush() fails on the 7z wrapper which has no underlying stream.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/src/main/java/org/rauschig/jarchivelib/SevenZArchiver.java
++++ b/src/main/java/org/rauschig/jarchivelib/SevenZArchiver.java
+@@ -121,6 +121,11 @@
+         }
+ 
+         @Override
++        public void flush() throws IOException {
++            // SevenZOutputFile has nothing to flush
++        }
++
++        @Override
+         public void close() throws IOException {
+             file.close();
+         }


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+commons-compress-1.27-compatibility.patch


=====================================
debian/watch
=====================================
@@ -1,4 +1,4 @@
-version=4
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%jarchivelib-$1.tar.gz%" \
- https://github.com/thrau/jarchivelib/tags \
- (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
+Version: 5
+Template: GitHub
+Owner: thrau
+Project: jarchivelib



View it on GitLab: https://salsa.debian.org/java-team/jarchivelib/-/compare/bd672ae737eb9d6e5ec40544f03827060f17b8bb...ed3248f60e06744fe58add4ffa1aba0b096083dc

-- 
View it on GitLab: https://salsa.debian.org/java-team/jarchivelib/-/compare/bd672ae737eb9d6e5ec40544f03827060f17b8bb...ed3248f60e06744fe58add4ffa1aba0b096083dc
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20261018/7baf7614/attachment.htm>


More information about the pkg-java-commits mailing list