Your message dated Wed, 27 Nov 2024 10:34:58 +0000
with message-id <e1tgfnq-00asuk...@fasolo.debian.org>
and subject line Bug#1088237: fixed in rust-leptonica-sys 0.4.9-1
has caused the Debian Bug report #1088237,
regarding rust-leptonica-sys: Bindgen layout tests failing on i386
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 ow...@bugs.debian.org
immediately.)
--
1088237: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088237
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: rust-leptonica-sys
Severity: serious
Tags: upstream
Justification: RT
X-Debbugs-Cc: noisyc...@tutanota.com
Control: affects -1 + src:rust-tesseract-sys
Hi,
The recent bindgen update uncovered an i386 bug which was already present in
leptonica-sys, namely, the one described in [1]. It manifested itself in
tesseract-sys' autopkgtests. According to bindgen's maintainers, there's not
much bindgen can do about it. Libraries' maintainers should deal with it by
either making the max_align_t type opaque if the library is actually using
the type, or by blacklisting it from the bindings if the library is not using
it.
In more detail: starting from v0.70, bindgen switched from layout tests in
the form of cargo tests, to compile-time tests [2]. Running `cargo test` on
the unpatched upstream crate, which still uses bindgen v0.64, shows that the
`bindgen_test_layout_max_align_t` test, which is automatically generated by
bindgen, fails on i386. On Debian infrastructure, bindgen layout tests are
not run for some reason which I was not able to identify yet: [3] shows that
only 3 tests are executed, but for the upstream crate 73 tests are run when
executing `cargo test`, 70 of which are bindgen layout tests and include the
failing one. When bindgen switched from actual tests to compile-time tests in
v0.70, the very same failure (just now with a slightly different output)
started to show up not in leptonica-sys, but in tesseract-sys, which
evidently at some point must import the leptonica bindings. In the leptonica
bindings, layout test failures now manifest themselves as compilation failures,
and this makes tesseract-sys' autopkgtests fail.
I've marked this bug as serious because of tesseract-sys's autopkgtest failure,
although I should note this is not a regression from previous behavior, just
something that showed up after the upgrade. Still, a compilation failure may
have far-reaching consequences.
Best.
[1]: https://github.com/rust-lang/rust-bindgen/issues/1823
[2]: https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md#changed-2
[3]: https://ci.debian.net/packages/r/rust-leptonica-sys/testing/amd64/54595820/
--- End Message ---
--- Begin Message ---
Source: rust-leptonica-sys
Source-Version: 0.4.9-1
Done: Jonas Smedegaard <d...@jones.dk>
We believe that the bug you reported is fixed in the latest version of
rust-leptonica-sys, 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 1088...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jonas Smedegaard <d...@jones.dk> (supplier of updated rust-leptonica-sys
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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 27 Nov 2024 11:12:18 +0100
Source: rust-leptonica-sys
Architecture: source
Version: 0.4.9-1
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <d...@jones.dk>
Changed-By: Jonas Smedegaard <d...@jones.dk>
Closes: 1088237 1088263
Changes:
rust-leptonica-sys (0.4.9-1) unstable; urgency=medium
.
[ upstream ]
* new release
+ blacklist max_align_t from bindgen;
closes: bug#1088237, #1088263, thanks to NoisyCoil and peter green
.
[ Jonas Smedegaard ]
* bump project versions in virtual packages and autopkgtests
Checksums-Sha1:
05e1fe99efe678d6ca2da2fb60bcee8a0db62ded 2272 rust-leptonica-sys_0.4.9-1.dsc
3d3720e3d881ba8b62b745f6b55258777775d56f 15007
rust-leptonica-sys_0.4.9.orig.tar.gz
c68cd0260fff69201b3997dfd9512d9a94a3ea77 4408
rust-leptonica-sys_0.4.9-1.debian.tar.xz
bcd2548a634781aac706f1fd793153ff6d096e7c 11568
rust-leptonica-sys_0.4.9-1_amd64.buildinfo
Checksums-Sha256:
bf284250fff2928eab0cb5cdfbbe3eb308507853fecdb946855e1d7c08dbdff1 2272
rust-leptonica-sys_0.4.9-1.dsc
7586b47b50e81545ca05febc56ffb8f9402c2f1f6d5f4f695df9337ae2311753 15007
rust-leptonica-sys_0.4.9.orig.tar.gz
f9995b555c46e77547cadedc9ab46436a11c1668e4ab5dda0aa6824e7d2edde7 4408
rust-leptonica-sys_0.4.9-1.debian.tar.xz
0890c0e2cddb6fc75c81cba6bdf9dc17139f1393ad0f717d3aaa50729416a718 11568
rust-leptonica-sys_0.4.9-1_amd64.buildinfo
Files:
6f922712dd3caed736026ffbd13f9355 2272 rust optional
rust-leptonica-sys_0.4.9-1.dsc
fda1453a0e90f340945ef615e78d08a7 15007 rust optional
rust-leptonica-sys_0.4.9.orig.tar.gz
5e59a96ed146783e88a85e59f3f767e6 4408 rust optional
rust-leptonica-sys_0.4.9-1.debian.tar.xz
d3f8fced1af7f227107fb5df5133611e 11568 rust optional
rust-leptonica-sys_0.4.9-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
wsG7BAEBCgBvBYJnRvGLCRAsfDFGwaABIUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmf7DCe09f0L7lfYiYcwLV2cBbGPrJCqKHFw/TT3LlSS
gBYhBJ/j6cNmkaaf9TzGhCx8MUbBoAEhAAAJdhAArqWqcgFWvDHy+rhteZ5ze9Oh
YL2iaa0/4lfwHP1A2U+PSMKPsex+4MlE/rDU+r84/RziOA9UV7p0lERdULpc9z+B
u2s2BBcbJtgfLQsCxufq21Wi0gZX7jY0SbtlY7cI06J9PPuJVZ621bkAkHqUj3n4
1o/Qg6mZm0fz4nKc0CGbR48sU/r8ucDvSTvtL9mfmslh5zlGaxg/F2knDAQl6tLC
BqKtf08ABrvzXHz0PEcLbG+xhliZIwRl98Ay/x1Q2eNcnpRwlg03HI0+cuJfIrqH
Is6eUJlJ+1KiuHV93crx5EFuu6DMRNoJ7pA7yZFe7y5y4PCTTAOzru1fkJx08zDi
LgHQRfW8Ds7VN3Sr9oSvZ2hMir4ehjIyKlUuTfEjZ8xyRJrdXsfwNl0PkWki5YnX
RNu0r2aYtjlLNQXdmTYdlcJ4BtP2uOYHuSLCfeG+aKTyfC+nHzB/g0HuX8erXaqu
R3sN3/sPkNtZQ9CgVOFy/DKgGyyaJyGak0pZhUAQebaIzdg8glmmg0XgI51npio2
1vhsOO8Z1+LC5B+ts24cbzp/CyjuFZtp3O2Po0PsJDchj05kvH3sc1OIGed2q3Ih
31rA8SkXyNV7mTgS6Uu2OcQseXH3KnhTOtXwiCB1ia8oyJQRTGYGRMuetRFX4qIg
FmltcFk7ZHjqO9e2zwo=
=ubCI
-----END PGP SIGNATURE-----
pgpOo_b9Cfkiz.pgp
Description: PGP signature
--- End Message ---