Your message dated Sat, 30 Oct 2021 12:03:35 +0000
with message-id <[email protected]>
and subject line Bug#995317: fixed in apertium 3.7.2-1
has caused the Debian Bug report #995317,
regarding apertium broken on s390x due to missing endianness definition
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
995317: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995317
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apertium
Version: 3.7.1-1
Severity: grave
Tags: patch
Justification: ships a binary package that's effectively unusable on an
architecture
User: [email protected]
Usertags: origin-ubuntu impish ubuntu-patch
Dear maintainers,
The apertium-br-fr autopkgtests have been failing on s390x in Debian and
Ubuntu. Although this is not considered a regression in Debian because
there was never a test that passed, and therefore apertium-br-fr 0.5.1-1 is
in Debian testing (and stable), in Ubuntu the tests were previously run with
apertium-br-fr 0.5.0~r61325-4 which passed, so the new apertium-br-fr has
been blocked from reaching an Ubuntu release.
Digging into the failure, the apertium invocation of pcre is failing with
the error:
Error: Unknown error matching regexp (code -29)
-29 in pcre maps to PCRE_ERROR_BADENDIANNESS.
There is code in apertium to detect the host endianness and set the correct
option to the pcre engine, but a missing header include means that the code
in question doesn't know the host endianness, so doesn't set it.
The attached patch fixes the omission, and when rebuilt with this flag, the
apertium-br-fr autopkgtest now passes with both 0.5.1-1 and 0.5.0~r61325-4
versions of the data files.
I'm marking this bug as grave because to my understanding this makes
apertium completely unusable on s390x with any current data files - it's
just that only 3 of the apertium dictionary packages have autopkgtests.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
[email protected] [email protected]
diff -Nru apertium-3.7.1/debian/patches/endianness.patch
apertium-3.7.1/debian/patches/endianness.patch
--- apertium-3.7.1/debian/patches/endianness.patch 1969-12-31
16:00:00.000000000 -0800
+++ apertium-3.7.1/debian/patches/endianness.patch 2021-09-29
08:12:26.000000000 -0700
@@ -0,0 +1,20 @@
+Description: include the necessary header to configure the code for endianness
+ This source file has code to configure the regexp engine for the correct
+ host endianness, however, it is missing the include that allows the code to
+ know what the host endianness is. Correct this omission.
+Author: Steve Langasek <[email protected]>
+Last-Update: 2021-09-29
+Forwarded: no
+
+Index: apertium-3.7.1/apertium/apertium_re.cc
+===================================================================
+--- apertium-3.7.1.orig/apertium/apertium_re.cc
++++ apertium-3.7.1/apertium/apertium_re.cc
+@@ -14,6 +14,7 @@
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
++#include "apertium/apertium_config.h"
+ #include <apertium/apertium_re.h>
+ #include <lttoolbox/compression.h>
+ #include <iostream>
diff -Nru apertium-3.7.1/debian/patches/series
apertium-3.7.1/debian/patches/series
--- apertium-3.7.1/debian/patches/series 1969-12-31 16:00:00.000000000
-0800
+++ apertium-3.7.1/debian/patches/series 2021-09-29 08:07:34.000000000
-0700
@@ -0,0 +1 @@
+endianness.patch
--- End Message ---
--- Begin Message ---
Source: apertium
Source-Version: 3.7.2-1
Done: Kartik Mistry <[email protected]>
We believe that the bug you reported is fixed in the latest version of
apertium, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Kartik Mistry <[email protected]> (supplier of updated apertium package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 29 Oct 2021 17:23:51 +0530
Source: apertium
Architecture: source
Version: 3.7.2-1
Distribution: unstable
Urgency: low
Maintainer: Debian Science Team
<[email protected]>
Changed-By: Kartik Mistry <[email protected]>
Closes: 995317
Changes:
apertium (3.7.2-1) unstable; urgency=low
.
[ Tino Didriksen ]
* Update to latest upstream non-ICU release
* Apply patch from [email protected] (Closes: #995317)
.
[ Kartik Mistry ]
* debian/control:
+ Updated Standards-Version to 4.6.0
Checksums-Sha1:
586efef9e74fe07ea77d2618638ad4eb389c3cbf 2360 apertium_3.7.2-1.dsc
664da18ec570bcbfae5d21db16ac858b83ddc624 301032 apertium_3.7.2.orig.tar.xz
7377cb1c02f7660b62a47120d381ead4fe8bfcb2 7352 apertium_3.7.2-1.debian.tar.xz
Checksums-Sha256:
f877f6f5c0234ebe59b0bb7f65197376b8af73af82104f3efe73b0ddbfed9987 2360
apertium_3.7.2-1.dsc
41a3b9e1c35092ce19162cbfdc621671d05dea8f86193c425713f3f4650cd51d 301032
apertium_3.7.2.orig.tar.xz
86fce9d6aa7c8edeebdf7e5af98ba9c52f08afaadc2d9bfa6675330ab0af96bf 7352
apertium_3.7.2-1.debian.tar.xz
Files:
e635ead02901ab5d32ffe09db47f802a 2360 science optional apertium_3.7.2-1.dsc
8ea6fc8af861ee9cce28e6be25c2034d 301032 science optional
apertium_3.7.2.orig.tar.xz
49752a27c8a71c86395f13790def6d16 7352 science optional
apertium_3.7.2-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEa2MbXvVUr2sRlmKSAsHT8ng6pN4FAmF9LboACgkQAsHT8ng6
pN7+Pw/9Gts0/2Y/rfsfMNCWIog2jCTflhSTm8QfAasEpvDKuDeG7NKINgDXnEtb
3dUZXr8MOPK1j4XGHzrdfAUaiv+n0qdt5sJVwPRUmkj72jT2y/wn/2R0qaVeJcML
CAPbaV/L8mmdNWFGk2py7POre9YvkgpZJ1AR/UDZfF7UFp9AhTzDJvo2gYRZN89S
4RJUMG40ELLwhbuj5/CBJXzaKO4lfrTpLdZ91KxV1vWtEaxvGOzQjjVazH4qw/uV
KoTSCrLoIn8XXQArrJDiK15CZ7vRLr1kZ86UsuYc8uwoD9bs0IM1ohwqoUE5W/uZ
19m1YPf20PQtHbpKCiA/vdqAhrkju68x7wmzuDFDnr0J3qjErdFy6fZMcDCDbhZF
wdRamWRzkZBfxOdT3ImNmeDipL6jkgYX6pDa5DjO6fmdPPBCSDy3dJN+/Hqo1Oy2
tpVfF+gY9xTozaDPx5VhKrQpaJXKdP4FrkNUSY3cAnMTNDTsYPMd9st2aLlTjF6R
GqbCSTRmlFmxdnCBpFYgYEh7PgrRcQ7K5On0gKg0XLOCI+cw4sdFW8kEeoUtDkdC
3xjU5HlGbs543HQaTBvJzImyVt2I4lrCqwMrsTpopEqvNjeycxIjT+smj7PSP6Qg
i4LPOMx/7Bci+ZZVISwtI1KbztWBxPXgYLg31Pm0GSgxNVI8Cac=
=OSc6
-----END PGP SIGNATURE-----
--- End Message ---