Article View: linux.debian.bugs.dist
Article #3280Bug#1152930: vim: FTBFS on s390x (big-endian) in trixie-security
From: Yves-Alexis Perez
Date: Wed, 04 Nov 2026 20:40
Date: Wed, 04 Nov 2026 20:40
127 lines
6974 bytes
6974 bytes
--=-EchQtvM6kIauBm3PSIyQ
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Top-posting for full context.
Lee, could you take a look at this? We could do a -2 on the DSA to fix big
endian arches.
Regards,
On Tue, 2026-11-03 at 10:50 +0100, Martin Grimm wrote:
> Source: vim
> Version: 2:9.1.1230-2+deb13u1
> Severity: serious
> Tags: patch security trixie
> Justification: FTBFS (s390x)
> X-Debbugs-Cc: team@security.debian.org
> Dear Maintainer,
>=20
> vim 2:9.1.1230-2+deb13u1 (DSA-6600-1) has not been built for s390x in
> trixie-security. The arch:all packages vim-common and vim-runtime were
> updated, but the arch-dependent binaries (vim, vim-tiny, vim-nox, ...)
> on s390x are still at 2:9.1.1230-2. Because of the strict versioned
> dependency on vim-common, apt full-upgrade wants to remove vim on s390x
> systems, and vim cannot be reinstalled without downgrading vim-common
> and vim-runtime.
>=20
> The cause is a test failure on big-endian systems. I cannot see the
> security buildd logs, but I reproduced it on s390x in a clean trixie
> sbuild chroot (unshare mode, mmdebstrap --variant=3Dbuildd, trixie +
> trixie-security), building the unmodified
> vim_9.1.1230-2+deb13u1.dsc:
>=20
> Executed:=C2=A0 7130 Tests
> =C2=A0 Skipped:=C2=A0=C2=A0 103 Tests
> =C2=A0=C2=A0 FAILED:=C2=A0=C2=A0=C2=A0=C2=A0 1 Tests
>=20
>=20
> Failures:
> From test_recover.vim:
> Found errors in Test_recover_corrupted_swap_file1():
> command line..script /build/reproducible-path/vim-9.1.1230/src/vim-
> gtk3/testdir/runtest.vim[620]..function
> RunTheTest[60]..Test_recover_corrupted_swap_file1 line 16: Pattern
> '???ILLEGAL BLOCK NUMBER' does not match ''
> command line..script /build/reproducible-path/vim-9.1.1230/src/vim-
> gtk3/testdir/runtest.vim[620]..function
> RunTheTest[60]..Test_recover_corrupted_swap_file1 line 30: Pattern
> '???ILLEGAL BLOCK NUMBER' does not match ''
> command line..script /build/reproducible-path/vim-9.1.1230/src/vim-
> gtk3/testdir/runtest.vim[620]..function
> RunTheTest[60]..Test_recover_corrupted_swap_file1 line 31: Pattern '???LI=
NES
> MISSING' does not match ''
>=20
> TEST FAILURE
> make[4]: *** [Makefile:53: report] Error 1
> make[4]: Leaving directory '/build/reproducible-path/vim-9.1.1230/src/vim=
-
> gtk3/testdir'
> make[3]: *** [Makefile:2199: scripttests] Error 2
> make[3]: Leaving directory '/build/reproducible-path/vim-9.1.1230/src/vim=
-
> gtk3'
> make[2]: *** [debian/rules:245: test-vim-gtk3] Error 2
> make[2]: Leaving directory '/build/reproducible-path/vim-9.1.1230'
> make[1]: *** [debian/rules:211: override_dh_auto_test-arch] Error 2
> make[1]: Leaving directory '/build/reproducible-path/vim-9.1.1230'
> make: *** [debian/rules:168: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit
> status 2
> -------------------------------------------------------------------------=
---
> ----
> Build finished at 2026-11-03T09:24:45Z
>=20
> No other test failed (a few flaky tests passed on retry).
>=20
> The failing test and the sample swap files samples/recover-crash{1,2}.swp
> were introduced by the backport of the fix for CVE-2026-28421 (#1129431),
> a backport of upstream patch 9.2.0077.
> The samples were generated on a little-endian system and are not valid
> swap files on big-endian architectures.
>=20
> Upstream fixed this right afterwards in patch 9.2.0132 ("tests:
> Test_recover_corrupted_swap_file1 fails on be systems (after
> v9.2.0077)"):
> https://github.com/vim/vim/commit/ff16ebdb08bbefd41cdfcbdfc294bb67a151083=
f
>=20
> That follow-up patch is missing from the trixie-security backport. It
> only touches src/testdir/test_recover.vim and applies cleanly on top of
> CVE-2026-28421.patch (offset 2 lines). The security fix in
> src/memline.c is unaffected.
>=20
> With the attached patch (upstream 9.2.0132 minus the version.c hunk)
> added to debian/patches/series, the package builds successfully on
> s390x and the whole test suite passes.
>=20
> Please consider including it in a follow-up security or point release
> upload so that the s390x binaries can be built.
>=20
> Thanks!
> Martin
--=20
Yves-Alexis
--=-EchQtvM6kIauBm3PSIyQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAmrrliUACgkQ3rYcyPpX
RFvCDQgAjkAmDpd1VLCRUJwKqqnlwbdGNpC14luxMWRxktVPkJL8YoRL9CpsDzXP
rFQZGewnTZYycQ9Jz5TsaYIhRZs4/Q0EQ4M4wxn4Q57Bz7fHlSdNV18nzCT5IvwH
50UhgMfKXX8R52FYqbe6D8Q1DoQlE7/tyrwKKjdLn4W6XgQ4yQCtgoabUQjQ2Bjl
Y43ajT47j06NAEHnz/aIlDKYe0uJjkIFVsr6TRPXXW1AUWklod8OcUmfccL0/1FU
zgpiyr7Dogs5GVleqlN+hqmret8HRt+BQ7jku7QkZbAGJs+9lRjfsUVe0CLOHLZ3
W+xLU243pbGhh69XEtITZZaPS1Bhjg==
=0wBw
-----END PGP SIGNATURE-----
--=-EchQtvM6kIauBm3PSIyQ--
Technical Details
Message-ID:
<NVPW2-9RsA-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NVjt7-9A7P-5@gated-at.bofh.it> <NVjt7-9A7P-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Yves-Alexis Perez <corsac@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1152930: vim: FTBFS on s390x (big-endian) in trixie-security Date: Wed, 04 Nov 2026 21:40:02 +0100 Message-ID: <NVPW2-9RsA-7@gated-at.bofh.it> References: <NVjt7-9A7P-5@gated-at.bofh.it> <NVjt7-9A7P-5@gated-at.bofh.it> X-Original-To: Lee Garrett <debian@rocketjump.eu> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Nov 4 20:33:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Yves-Alexis Perez <corsac@debian.org>, 1152930@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+vim@tracker.debian.org X-Debian-Pr-Message: followup 1152930 X-Debian-Pr-Package: src:vim X-Debian-Pr-Keywords: trixie patch X-Debian-Pr-Source: vim Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-EchQtvM6kIauBm3PSIyQ" User-Agent: Evolution 3.56.2-10+b1 MIME-Version: 1.0 X-Debian-User: corsac X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000685 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 127 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Martin Grimm <extern.martin.grimm@itzbund.de>, 1152930@bugs.debian.org X-Original-Date: Wed, 04 Nov 2026 21:31:33 +0100 X-Original-Message-ID: <f616f85d80fd757280c7d780b5f14a1875da3f1c.camel@debian.org> X-Original-References: <d9e64481-117d-44b0-b992-3ce6b5ee69c2@itzbund.de> <d9e64481-117d-44b0-b992-3ce6b5ee69c2@itzbund.de>