From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#40604: http-parser 2.9.4 fails to build on armhf-linux Date: Mon, 13 Apr 2020 20:16:11 +0200 Message-ID: <87sgh7i74k.fsf@devup.no> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48447) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO3dn-0001yd-E8 for bug-guix@gnu.org; Mon, 13 Apr 2020 14:17:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO3dm-00023g-9Z for bug-guix@gnu.org; Mon, 13 Apr 2020 14:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49198) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jO3dm-00023b-6r for bug-guix@gnu.org; Mon, 13 Apr 2020 14:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jO3dm-0003OI-3J for bug-guix@gnu.org; Mon, 13 Apr 2020 14:17:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:48391) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO3d5-0001nR-3C for bug-guix@gnu.org; Mon, 13 Apr 2020 14:16:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO3d2-0001cT-KI for bug-guix@gnu.org; Mon, 13 Apr 2020 14:16:19 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:40697) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jO3d1-0001bJ-MK for bug-guix@gnu.org; Mon, 13 Apr 2020 14:16:16 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3C4DE5C020C for ; Mon, 13 Apr 2020 14:16:14 -0400 (EDT) Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id 96D0E3280060 for ; Mon, 13 Apr 2020 14:16:13 -0400 (EDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: 40604@debbugs.gnu.org --=-=-= Content-Type: text/plain The update to http-parser in 62f7f0d636d3b3ff796263ab892ebf53263539fa causes a test failure armhf-linux: --8<---------------cut here---------------start------------->8--- starting phase `check' gcc -I. -DHTTP_PARSER_STRICT=1 -Wall -Wextra -Werror -O0 -g -c http_parser.c -o http_parser_g.o gcc -I. -DHTTP_PARSER_STRICT=1 -Wall -Wextra -Werror -O0 -g -c test.c -o test_g.o gcc -I. -DHTTP_PARSER_STRICT=0 -Wall -Wextra -Werror -O3 -c http_parser.c gcc -I. -DHTTP_PARSER_STRICT=0 -Wall -Wextra -Werror -O3 -c test.c -o test.o gcc -shared -Wl,-soname=libhttp_parser.so.2.9 -o libhttp_parser.so.2.9.4 libhttp_parser.o gcc -Wall -Wextra -Werror -O0 -g http_parser_g.o test_g.o -o test_g gcc -Wall -Wextra -Werror -O3 http_parser.o test.o -o test_fast ./test_g test_g: test.c:4237: main: Assertion `sizeof(http_parser) == 4 + 4 + 8 + 2 + 2 + 4 + sizeof(void *)' failed. make: *** [Makefile:76: test] Aborted Test suite failed, dumping logs. command "make" "test" "-j" "4" "PREFIX=/gnu/store/qlis9jzgcdk1m48hjdzag6gij244cwvz-http-parser-2.9.4" "CC=gcc" "library" failed with status 2 builder for `/gnu/store/gzywh6bmn10ip49yklmiagsjfcr2jflf-http-parser-2.9.4.drv' failed with exit code 1 --8<---------------cut here---------------end--------------->8--- The assert is new in 2.9.4 (one of two commits since 2.9.3): https://github.com/nodejs/http-parser/commit/714cbb2dfbea9a521960b82b6239a991a64e3b9a I can't tell what causes the size difference on armhf and don't currently have access to hardware or QEMU for testing. Any takers? Meanwhile I've reverted the commit on 'master' as this is a dependency of libgit2 which is needed for 'guix pull'. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6UrGsACgkQoqBt8qM6 VPqnnggArlTnC2uF3+kvWsngxnJs+coakzp4OAfDGBTRj2bVXouJmR9PxcB0L1qb oh+CnK3vxo5q41/h8kHp7AnX/SaCRfsAeMeYkCU9KbDrmpDkrr/G/+aNZbrbqF8b hqQX7iGBd6pL4RFfiycMMCCniXjj41ryYVzroBXwsYZFuZ0WltBAhrVpP8ES/A1/ +J3Nde/WkxmUpykFrHQpNtvyO7oaSmT0uYoGlgdMpQUUYC7uCuG05v0uEf6+Cc37 beX+XvVrHqFI6vopDTomuuFr4XeZ1V1yyFQmy3bf+8cRZJRTMGxh4bogAKcWGyfg eNViZ9R8dSP0keuXThS1qKnCTaBuSA== =0aNZ -----END PGP SIGNATURE----- --=-=-=--