Thread View: linux.debian.bugs.dist
5 messages
5 total messages
Started by Bastien Roucaries
Wed, 11 Nov 2026 15:00
Bug#1143583: libtcnative for tomcat11
Author: Bastien Roucaries
Date: Wed, 11 Nov 2026 15:00
Date: Wed, 11 Nov 2026 15:00
39 lines
3104 bytes
3104 bytes
--nextPartFrG70ld2T5WjK-HW49ocCA Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Bastien Roucaries <rouca@debian.org> Subject: libtcnative for tomcat11 Date: Wed, 11 Nov 2026 15:55:13 +0100 Message-ID: <XB5RtIkNSBSrcY3jZ4vrDA@debian.org> MIME-Version: 1.0 Hi, Newer version will need 2.0.16-1, so could you: - asses rdeps ? - prepare a backport of 2.0.16-1 ? rouca --nextPartFrG70ld2T5WjK-HW49ocCA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmr0gdEACgkQADoaLapB CF+LGg//TLYMJb6xnkVSZLIRckKfHsZCAbXz+48IQy9JNh/LsIYnLlsaiL6SjegD hGhm6MbhPQs8sg2kdKTanUIcgNGwxgHxPkbB1ydcs6/+gFWlZ1oVMS3nAe4Gy66u xk2pnxjXZnhyRyEksNHINnFIYUSrmkJX7uaXn472lkBfFe+pt47te+lgLBzUzy6w 85HE92slBa79F1c5fQ6UZRUOdoPuT4TYvrskbn7nonVyiFYjHrWMi9XvDv4of7La wwvmeXjKDcnapzt6X039afd+N6GWmqiPD4btQfK9j7JAaQt24i2c3FJ23/HcRNCm BXfU52xYgQNjQu08ieL9ubaLh554FYgIoImSe40pbSv18BhII8cM63tMA44LLUHx 4Pt+mJQLLW+TXA7YD/Io2DtZ8YKEDiQOj1igbtPK4Dz+ma20ZfA9AXMP9YZBl9Hu ngEde5Gi0ZmysJl3YMx/l2rmb05ojkgeEZr5b2ZI+cL24AvC54aMgrBpqLeHEVOq IjVS9m8gIOypvVikMArVAVAI3guJ7gHJB1u9HPgHWtkVtEBXq5KJM+CgyOjWMeBZ K1mX2oohrtKctjPsxYHiJu4AxWblZu0a5UFIrcuFTilA2LQjSetV2jbRG7o18Nk2 MV6Mqox8DrT0m6/nQUkOIgKra3Zqm8v9F0Q2TuLi5tMQOAdr7GU= =X44e -----END PGP SIGNATURE----- --nextPartFrG70ld2T5WjK-HW49ocCA--
Bug#1143583: libtcnative for tomcat11
Author: 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--
Bug#1143583: PU #1146376: libtcnative for tomcat11
Author: Bastien Roucaries
Date: Sun, 22 Nov 2026 13:20
Date: Sun, 22 Nov 2026 13:20
42 lines
3823 bytes
3823 bytes
--nextPartWpmDtiOrToKcEj6QVwYACQ Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Bastien Roucaries <rouca@debian.org> Subject: PU #1146376: libtcnative for tomcat11 Date: Sun, 22 Nov 2026 14:13:05 +0100 Message-ID: <QF2-fbFcS8SuHYTqfiIt1w@debian.org> In-Reply-To: <avbaylh8CcQl8w6I@voleno> References: <XB5RtIkNSBSrcY3jZ4vrDA@debian.org> <avbaylh8CcQl8w6I@voleno> MIME-Version: 1.0 control: tags 1146376 + security Dear security team, This PU is in fact a security blocker. It block tomcat11/10/9 to be fixed rouca --nextPartWpmDtiOrToKcEj6QVwYACQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmsC6mEACgkQADoaLapB CF+Wwg/9EF5NampWcclUv6V9bBElIHMsvBLFBgJHQCHV2t5JFE5HwbCukIMWwRED zV/2qHxhPh+gx6wmYwmnwBPV9V0BC/fbvo4ratNeboRQhS0zYiJsBt2iNxHGOzFS bm4XG6QBkscpjeRQWp0WuvZYMe8kU1VP7vKXjqJhgYpzhLaGyTyM9SvRaFmMR5KY jFd0aav+nGDehR+VjoduV0ZOLhjviwR56MVPCv5Vk1DmhlavY52UhPl7w5p8bfZg P5F/ypGOp9x9Fq3L6gAiEYcheXQX4Auxbd66X8SS66uyA59V56IHUY1d11lft+s3 CtFRyRtqxmMbhKVKZMvfBkXvgSUwN53X81JXi7NC7yn8XCZt/Qmf2GUfeqHCx+2H wnRXGJD/IC8Hb/SFVZpq48LGDKXgobMoqw0+MUpVSVxyWcDctUSg5OdToVayQ0OX j7dRKlcdfEkHK12Gxh+ZTrBtC9kqqNKIZaWqy1LaAmigY3Tq0n3cHtEsakABG+YU aU67/rQDJ5G4jGwwy9N8f62NFSOzlz9ifq1qYOzCiUuWaPXmTGuoGmRlQXYmtUP4 dQnRV1ymyQ+uD5CpZoQZXeVFtAcjFKGj3lmKLe+eEQQdqMlCcTY/QIbumNE0er40 0JwTm6FsRtQUgyF43bt0enoTfICZdZrKe9I9CmtOmusG+vGUKH4= =pz6W -----END PGP SIGNATURE----- --nextPartWpmDtiOrToKcEj6QVwYACQ--
Bug#1146376: PU #1146376: libtcnative for tomcat11
Author: Moritz Mühlenhoff
Date: Fri, 27 Nov 2026 22:40
Date: Fri, 27 Nov 2026 22:40
16 lines
2681 bytes
2681 bytes
Am Sun, Nov 22, 2026 at 02:13:33PM +0100 schrieb Bastien Roucaries:
> control: tags 1146376 + security
>
> Dear security team,
>
> This PU is in fact a security blocker. It block tomcat11/10/9 to be fixed
We need some context, why is that the case? If this is strictly
needed, do we need to upgrade tcnative in lockstep with the new
Tomcat?
If not, we can also first release tcnative via trixie-security
and then follow up with Tomcat.
Cheers,
Moritz
Bug#1143583: PU #1146376: libtcnative for tomcat11
Author: Santiago Ruano Rincón
Date: Sat, 28 Nov 2026 20:10
Date: Sat, 28 Nov 2026 20:10
70 lines
4955 bytes
4955 bytes
--xNR3RzW63iz+E1+d
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi,
El 27/11/26 a las 23:33, Moritz M=FChlenhoff escribi=F3:
> Am Sun, Nov 22, 2026 at 02:13:33PM +0100 schrieb Bastien Roucaries:
> > control: tags 1146376 + security
> >=20
> > Dear security team,
> >=20
> > This PU is in fact a security blocker. It block tomcat11/10/9 to be fix=
ed
>=20
> We need some context, why is that the case? If this is strictly
> needed, do we need to upgrade tcnative in lockstep with the new
> Tomcat?
>=20
> If not, we can also first release tcnative via trixie-security
> and then follow up with Tomcat.
Trying to describe what Bastien meant: tomcat11 (and older versions) are
full-version backpoerted from unstable ton {old,}stable-security. E.g.:
https://tracker.debian.org/news/1761206/accepted-tomcat11-11022-1deb13u1-so=
urce-into-stable-security/.
Since 11.0.22-2, tomcat11 Build-Depends / Recommends libtcnative-2
instead of the replaced libtcnative-1:
https://salsa.debian.org/java-team/tomcat11/-/commit/2c87dcbcbd3623191256de=
d26a101d37aeefdaf0
Recent versions of tomcat{11,10,9,...} bumped the tcnative version
dependency. Trixie currently ships 1.3.1-1, which is not supported by
any of the different tomcat versions. tomcat complains, with a SEVERE
error, when trying to load 1.3.1. See e.g:
- https://bugs.debian.org/1038204#19 (for tomcat10, but also valid for
tomcat11)
tomcat still runs, but in a "degraded" mode since it doesn't use the
native functions provided by tcnative.
My first proposal was to upload trixie's tomcat-native to 1.3.8 (the
1.3.9), which is still supported by tomcat, but upstream will EOL it at
the end of March. The recommended version is tomcat-native 2.x anyway,
so it makes more sense to bump the dependency directly to 2.x.
I do agree that the ideal case is to have tomcat-native 2.x in stable,
so tomcat11 (and older) can update their Build-Dep / Recommends, and
actually use the tomcat native library. The alternative is to backport
tomcat still Build-Depending / Recommending libtcnative-1, but that
means not using the native library.
Please, let me know if more details are welcome.
Have a nice weekend,
-- Santiago
--xNR3RzW63iz+E1+d
Content-Type: application/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQR+lHTq7mkJOyB6t2Un3j1FEEiG7wUCawszBwAKCRAn3j1FEEiG
7xyXAP97o9EuVno7Ak2YbtxEMegK03sijHhMyCVMK7LAuuHc2wD/Th8hed0NTOgv
rLt48/Z3EwaS+Wcl9x3ngXLf7+DF6AA=
=2rZM
-----END PGP SIGNATURE-----
--xNR3RzW63iz+E1+d--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads