Article View: linux.debian.bugs.dist
Article #5181Bug#1154484: [Pkg-javascript-devel] Bug#1154484: rust-swc-core: autopkgtest fails on 32-bit: swc_ecma_parser size_of_error assum...
From: Jonas Smedegaard
Date: Fri, 20 Nov 2026 04:50
Date: Fri, 20 Nov 2026 04:50
67 lines
4516 bytes
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==--
Technical Details
Message-ID:
<O1oJr-d1c6-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O1cRY-cV4Y-11@gated-at.bofh.it> <O1cRY-cV4Y-11@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Jonas Smedegaard <jonas@jones.dk> Newsgroups: linux.debian.bugs.dist Subject: Bug#1154484: [Pkg-javascript-devel] Bug#1154484: rust-swc-core: autopkgtest fails on 32-bit: swc_ecma_parser size_of_error assumes 8-byte pointers Date: Fri, 20 Nov 2026 05:50:01 +0100 Message-ID: <O1oJr-d1c6-1@gated-at.bofh.it> References: <O1cRY-cV4Y-11@gated-at.bofh.it> <O1cRY-cV4Y-11@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Nov 20 04:49:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.651 Reply-To: Jonas Smedegaard <jonas@jones.dk>, 1154484@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-javascript-devel@lists.alioth.debian.org X-Debian-Pr-Message: followup 1154484 X-Debian-Pr-Package: rust-swc-core X-Debian-Pr-Keywords: patch upstream X-Debian-Pr-Source: rust-swc-core Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="===============7458328504299123573==" MIME-Version: 1.0 Content-Disposition: inline User-Agent: alot/0.12 X-Crossassassin-Score: 2 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003664 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 67 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 20 Nov 2026 05:45:56 +0100 X-Original-Message-ID: <179514995647.53319.16363331167950877331@cairon.jones.dk> X-Original-References: <1795104087602519191.3578417.sizeof@proton.me> <1795104087602519191.3578417.sizeof@proton.me>