🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
3 messages
3 total messages Started by Martin Grimm Tue, 03 Nov 2026 10:00
Bug#1152930: vim: FTBFS on s390x (big-endian) in trixie-security
#3124
Author: Martin Grimm
Date: Tue, 03 Nov 2026 10:00
75 lines
5329 bytes
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,

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.

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=buildd, trixie +
trixie-security), building the unmodified
vim_9.1.1230-2+deb13u1.dsc:

Executed:  7130 Tests
  Skipped:   103 Tests
   FAILED:     1 Tests


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 '???LINES MISSING' does not match ''

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

No other test failed (a few flaky tests passed on retry).

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.

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/ff16ebdb08bbefd41cdfcbdfc294bb67a151083f

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.

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.

Please consider including it in a follow-up security or point release
upload so that the s390x binaries can be built.

Thanks!
Martin
Bug#1152930: vim: FTBFS on s390x (big-endian) in trixie-security
#3280
Author: Yves-Alexis Perez
Date: Wed, 04 Nov 2026 20:40
127 lines
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--
Bug#1152930: vim: FTBFS on s390x (big-endian) in trixie-security
#3291
Author: James McCoy
Date: Wed, 04 Nov 2026 22:10
13 lines
2497 bytes
On Wed, Nov 04, 2026 at 09:31:33PM +0100, Yves-Alexis Perez wrote:
>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.

I've pulled in that patch and can upload. Now that the -1 has already
happened, I can do a source only upload, right?

Cheers,
-- 
James (he/him)
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB
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