Article View: linux.debian.maint.java
Article #42Bug#1143583: libtcnative for tomcat11
From: Santiago Ruano Rincón
Date: Fri, 13 Nov 2026 09:50
Date: Fri, 13 Nov 2026 09:50
251 lines
9652 bytes
9652 bytes
--ZZDg6Qjy6bd/mJ4T
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Control: retitle 1146376 trixie-pu: package tomcat-native/2.0.16-1~deb13u1
Hello,
El 11/11/26 a las 15:55, Bastien Roucaries escribi=F3:
> Hi,
>=20
> Newer [tomcat] version will need [tomcat-native] 2.0.16-1, so could you:
> - asses rdeps ?
dak rm --suite=3Dtrixie -n -R tomcat-native
Will remove the following packages from trixie:
libtcnative-1 | 1.3.1-1+b1 | amd64, arm64, armel, armhf, i386, ppc64el,=
riscv64, s390x
tomcat-native | 1.3.1-1 | source
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.=
debian.org>
------------------- Reason -------------------
----------------------------------------------
Checking reverse dependencies...
# Broken Build-Depends:
tomcat10: libtcnative-1 (1.2.35 >=3D)
tomcat11: libtcnative-1 (1.2.35 >=3D)
tomcat9: libtcnative-1 (1.2.18 >=3D)
Dependency problem found.
And both tomcat10 and tomcat11 binary packages Recommends libtcnative-1.
> - prepare a backport of 2.0.16-1 ?
I was planning to do that in some months since upstream will maintain
1.3.x until 31 March 2027 (https://tomcat.apache.org/native-1.3-doc/),
but indeed, it sound better to do it from now.
Please note that tomcat-native 2.0.x builds libtcnative-2 instead of
libtcnative-1. So that will require a new package in trixie, and
tomcat* would need to update their Build-Dependencies and Recommends
accordingly.
I've prepared a backport, and you have a Debusine workflow here:
https://debusine.debian.net/debian/developers/work-request/1614114/
Changes can be found at:
https://salsa.debian.org/santiago/tomcat-native/-/commits/wip/debian/trixie=
-2.0.x
For simplicity, here below you can find the changes in the debian/ dir
only compared to the current 1.3.1-1 version. Please let me know if you
prefer a full diff (Full diff also available at
https://debusine.debian.net/debian/developers/work-request/1614164/#output)
diff --git a/debian/changelog b/debian/changelog
index c4c7bcd..62ca9c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,41 @@
+tomcat-native (2.0.17-1~deb13u1) trixie; urgency=3Dmedium
+
+ * Team upload.
+ * Add dep-8 tests to check compatibility with tomcat 10 and 11
+
+ -- Santiago Ruano Rinc=F3n <santiagorr@riseup.net> Fri, 13 Nov 2026 06:4=
1:59 +0100
+
+tomcat-native (2.0.17-1) unstable; urgency=3Dmedium
+
+ * New upstream release
+ * Removed the Priority field
+ * Converted debian/watch to the version 5 format
+
+ -- Emmanuel Bourg <ebourg@apache.org> Tue, 10 Nov 2026 22:57:50 +0100
+
+tomcat-native (2.0.16-1) unstable; urgency=3Dmedium
+
+ * New upstream release
+ * Removed Damien Raude-Morvan from the Uploaders (Closes: #1143739)
+
+ -- Emmanuel Bourg <ebourg@apache.org> Fri, 18 Sep 2026 12:07:33 +0200
+
+tomcat-native (2.0.14-1) unstable; urgency=3Dmedium
+
+ * Team upload.
+ * New upstream release (Closes: #1034492)
+ - Renamed libtcnative-1 to libtcnative-2
+ * Standards-Version updated to 4.7.4
+
+ -- Emmanuel Bourg <ebourg@apache.org> Tue, 31 Mar 2026 23:36:38 +0200
+
+tomcat-native (1.3.7-1) unstable; urgency=3Dmedium
+
+ * Team upload.
+ * New upstream release
+
+ -- Emmanuel Bourg <ebourg@apache.org> Mon, 16 Mar 2026 22:45:48 +0100
+
tomcat-native (1.3.1-1) unstable; urgency=3Dmedium
* Team upload.
diff --git a/debian/control b/debian/control
index f956237..66692e1 100644
--- a/debian/control
+++ b/debian/control
@@ -1,20 +1,19 @@
Source: tomcat-native
Section: java
-Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.deb=
ian.org>
-Uploaders: Damien Raude-Morvan <drazzib@debian.org>
+Uploaders: Emmanuel Bourg <ebourg@apache.org>
Build-Depends:
debhelper-compat (=3D 13),
default-jdk,
dpkg-dev (>=3D 1.16.1~),
libapr1-dev,
libssl-dev
-Standards-Version: 4.7.0
+Standards-Version: 4.7.4
Vcs-Git: https://salsa.debian.org/java-team/tomcat-native.git
Vcs-Browser: https://salsa.debian.org/java-team/tomcat-native
Homepage: http://tomcat.apache.org/native-doc/
-Package: libtcnative-1
+Package: libtcnative-2
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
diff --git a/debian/libtcnative-1.lintian-overrides b/debian/libtcnative-1.=
lintian-overrides
deleted file mode 100644
index a836caf..0000000
--- a/debian/libtcnative-1.lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-libtcnative-1: non-dev-pkg-with-shlib-symlink
-libtcnative-1: package-name-doesnt-match-sonames libtcnative-1-0
diff --git a/debian/libtcnative-2.lintian-overrides b/debian/libtcnative-2.=
lintian-overrides
new file mode 100644
index 0000000..8029a56
--- /dev/null
+++ b/debian/libtcnative-2.lintian-overrides
@@ -0,0 +1,2 @@
+libtcnative-2: non-dev-pkg-with-shlib-symlink
+libtcnative-2: package-name-doesnt-match-sonames libtcnative-2-0
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..73f7ced
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,7 @@
+Tests: tomcat11-loads-apr
+Restrictions: needs-root
+Depends: @, tomcat11
+
+Tests: tomcat10-loads-apr
+Restrictions: needs-root
+Depends: @, tomcat10
diff --git a/debian/tests/tomcat10-loads-apr b/debian/tests/tomcat10-loads-=
apr
new file mode 100644
index 0000000..ed9de87
--- /dev/null
+++ b/debian/tests/tomcat10-loads-apr
@@ -0,0 +1,15 @@
+#!/usr/bin/sh
+
+# See https://bugs.debian.org/1143583
+
+systemctl start tomcat10.service
+sleep 5
+systemctl status tomcat10.service
+
+echo "checking for incompatibility messages"
+
+ret=3D$(grep "SEVERE.*An incompatible version.*of the Apache Tomcat Native=
library is installed" /var/log/tomcat10/catalina* || true)
+if [ "$ret" ]; then
+ printf >&2 "Error: $ret"
+ false
+fi
diff --git a/debian/tests/tomcat11-loads-apr b/debian/tests/tomcat11-loads-=
apr
new file mode 100644
index 0000000..8e997b7
--- /dev/null
+++ b/debian/tests/tomcat11-loads-apr
@@ -0,0 +1,15 @@
+#!/usr/bin/sh
+
+# See https://bugs.debian.org/1143583
+
+systemctl start tomcat11.service
+sleep 5
+systemctl status tomcat11.service
+
+echo "checking for incompatibility messages"
+
+ret=3D$(grep "SEVERE.*An incompatible version.*of the Apache Tomcat Native=
library is installed" /var/log/tomcat11/catalina* || true)
+if [ "$ret" ]; then
+ printf >&2 "Error: $ret"
+ false
+fi
diff --git a/debian/watch b/debian/watch
index 7f23944..2deab7a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,5 @@
-version=3D4
-opts=3D"repack,compression=3Dxz" \
-https://archive.apache.org/dist/tomcat/tomcat-connectors/native/([\d\.]+)/=
source/tomcat-native-([\d\.]+)-src\.tar\.gz debian uupdate
+Version: 5
+Source: https://archive.apache.org/dist/tomcat/tomcat-connectors/native/@A=
NY_VERSION@/source/
+Matching-Pattern: tomcat-native-@ANY_VERSION@-src\.tar\.gz
+Repack: yes
+Compression: xz
Thanks!
-- Santiago
--ZZDg6Qjy6bd/mJ4T
Content-Type: application/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQR+lHTq7mkJOyB6t2Un3j1FEEiG7wUCavbaygAKCRAn3j1FEEiG
72C7AQD1hL6cc9rz96eAu7jdYFpgTh+eKsUgoUKQzumo5NrqnQD/fVaz9qB0ZUno
fWfFsBBrOBNZtXhDlXbf7klXrd/NvA0=
=EaIS
-----END PGP SIGNATURE-----
--ZZDg6Qjy6bd/mJ4T--
Technical Details
Message-ID:
<NYW4V-bBCa-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NYhXP-bf6w-5@gated-at.bofh.it> <GHhZT-giYO-3@gated-at.bofh.it> <NYhXP-bf6w-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Ruano Rincón <santiagorr@riseup.net> Newsgroups: linux.debian.bugs.dist,linux.debian.maint.java Subject: Bug#1143583: libtcnative for tomcat11 Date: Fri, 13 Nov 2026 10:50:01 +0100 Message-ID: <NYW4V-bBCa-7@gated-at.bofh.it> References: <NYhXP-bf6w-5@gated-at.bofh.it> <GHhZT-giYO-3@gated-at.bofh.it> <NYhXP-bf6w-5@gated-at.bofh.it> X-Original-To: Bastien Roucaries <rouca@debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Nov 13 09:41:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Santiago Ruano Rincón <santiagorr@riseup.net>, 1143583@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-java-maintainers@lists.alioth.debian.org X-Debian-Pr-Message: followup 1143583 X-Debian-Pr-Package: tomcat11 X-Debian-Pr-Source: tomcat11 X-Riseup-User-ID: 9D156D2529F0E3EE7F76E975434F6CB86A162B5829175541FB197238205C8886 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZZDg6Qjy6bd/mJ4T" Content-Disposition: inline X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002361 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 251 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 1143583@bugs.debian.org, 1146376@bugs.debian.org, debian-java@lists.debian.org X-Original-Date: Fri, 13 Nov 2026 10:39:26 +0100 X-Original-Message-ID: <avbaylh8CcQl8w6I@voleno> X-Original-References: <XB5RtIkNSBSrcY3jZ4vrDA@debian.org> <168692264381.15535.3560148424678311915.reportbug@infoot.inov.pt> <XB5RtIkNSBSrcY3jZ4vrDA@debian.org>