🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Juan Manuel Méndez Rey Thu, 19 Nov 2026 16:10
Bug#1154484: rust-swc-core: autopkgtest fails on 32-bit: swc_ecma_parser size_of_error assumes 8-byte pointers
#5118
Author: Juan Manuel Méndez Rey
Date: Thu, 19 Nov 2026 16:10
27 lines
2746 bytes
Package: rust-swc-core
Version: 77.1.2+ds-2
Severity: important
Tags: patch upstream
Control: forwarded -1 https://github.com/swc-project/swc/issues/12813

The autopkgtest rust-swc_ecma_parser:default fails on armhf, and that
keeps 77.1.2+ds-2 out of testing:
https://ci.debian.net/packages/r/rust-swc-core/testing/armhf/77994695/

    ---- error::size_of_error stdout ----
    assertion `left == right` failed
      left: 4
     right: 8

The test asserts that Error is 8 bytes, but Error is a Box, so it's 4 on
32-bit. i386 will hit the same. It's new in ds-2 because that's the
first version that ships swc_ecma_parser.

The fix compares against size_of::<usize>() instead. I'll push it to
debian/latest as patch 1004_parser_error_size_32bit, with this bug in
the changelog. It builds on amd64 (297 tests, also on one CPU), autopkgtest
is 118/118, and the parser test passes on armhf under qemu.

Jonas, it'll be ready to upload as ds-3 whenever you like.

Juan
Bug#1154484: [Pkg-javascript-devel] Bug#1154484: rust-swc-core: autopkgtest fails on 32-bit: swc_ecma_parser size_of_error assum...
#5181
Author: Jonas Smedegaard
Date: Fri, 20 Nov 2026 04:50
67 lines
4516 bytes
--===============7458328504299123573==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Quoting Juan Manuel M=C3=A9ndez Rey (2026-11-19 17:01:31)
> Package: rust-swc-core
> Version: 77.1.2+ds-2
> Severity: important
> Tags: patch upstream
> Control: forwarded -1 https://github.com/swc-project/swc/issues/12813
>=20
> The autopkgtest rust-swc_ecma_parser:default fails on armhf, and that
> keeps 77.1.2+ds-2 out of testing:
> https://ci.debian.net/packages/r/rust-swc-core/testing/armhf/77994695/
>=20
>     ---- error::size_of_error stdout ----
>     assertion `left =3D=3D right` failed
>       left: 4
>      right: 8
>=20
> The test asserts that Error is 8 bytes, but Error is a Box, so it's 4 on
> 32-bit. i386 will hit the same. It's new in ds-2 because that's the
> first version that ships swc_ecma_parser.
>=20
> The fix compares against size_of::<usize>() instead. I'll push it to
> debian/latest as patch 1004_parser_error_size_32bit, with this bug in
> the changelog. It builds on amd64 (297 tests, also on one CPU), autopkgte=
st
> is 118/118, and the parser test passes on armhf under qemu.
>=20
> Jonas, it'll be ready to upload as ds-3 whenever you like.

Perfectly prepared. Thanks!

 - Jonas

--=20
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
--===============7458328504299123573==
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: signature
Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmr/0IEACgkQLHwxRsGg
ASF6Aw//WfEADdv60x0pFVXP4RVQKMAKmFD+JwYMqE/Zc/pM8pjcnLKEqClaRy5Z
Hd4V5rve+ron28ebddSur8X7qnhweC9miH7QbmytMgTeZIjibsvipjokUZL24w4K
75RRxOjiSLBCQ590PzSPUcM2yrqB4QaOiL0iMYb3bEX4qCmolnruVOJgiBFo6oct
Gw05/pYD+OEJvRAO7nPk5465jHK64NdWqsHYxQCzNp7DvVzZ3upcPlhicKTcVtzD
FSshD415XG7uDlgX6f/UJmROEBtnrHCLZW5INgtfoqwTrksnZBG08astiI4+fr98
2gEZPAZRaNrK9vIGx5PIGv6F8TFjpe9/JvB0aqxnUU81Hd8LfdtYALWR3PupizK1
A0gGHgAe3/Jj1Hwz0zzJLuuI+qMCBT8z1KqCMWHtoF7pBe7RJHDRoBCnFJFNuOFK
o5qhpCp1qoIemJijwJaUVwD4rAM3MbnENy/GDeTFer+N2sp2sXlsT9dlJVUxN4Al
zpr+Mwu1HA/T3EzMMNzxPZI52kClxmHyseixPQgbjFNUZkE/Zdjn4Fwk+Z2MsjO6
uQtlkcCUO5CJFvqeb2KpikGMS10o0ItVNgzNcANiKrczbl88mM58hmlvA8Ps0wnc
tT4ItOB8cnMuWkpAL9TzkhTIv01NS6di2x6p3z5oA1pQDSAj1yI=
=6XQj
-----END PGP SIGNATURE-----

--===============7458328504299123573==--
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