From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IIKYASHQkWDkjgAAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 00:52:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oK3dOCDQkWDFBwAAB5/wlQ (envelope-from ) for ; Tue, 04 May 2021 22:52:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B5DC81CE93 for ; Wed, 5 May 2021 00:52:15 +0200 (CEST) Received: from localhost ([::1]:48526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1le3tl-0007Bf-QA for larch@yhetil.org; Tue, 04 May 2021 18:52:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1le3e6-0006Av-Pv for bug-guix@gnu.org; Tue, 04 May 2021 18:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44290) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1le3e5-0003DZ-SB for bug-guix@gnu.org; Tue, 04 May 2021 18:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1le3e5-000106-O7 for bug-guix@gnu.org; Tue, 04 May 2021 18:36:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#46038: guix 1.3.0rc1 test failure: channels-news, one entry Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 04 May 2021 22:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46038 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 46038-submit@debbugs.gnu.org id=B46038.16201677173838 (code B ref 46038); Tue, 04 May 2021 22:36:01 +0000 Received: (at 46038) by debbugs.gnu.org; 4 May 2021 22:35:17 +0000 Received: from localhost ([127.0.0.1]:55833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1le3dN-0000zq-0J for submit@debbugs.gnu.org; Tue, 04 May 2021 18:35:17 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:45574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1le3dK-0000zi-Tw for 46038@debbugs.gnu.org; Tue, 04 May 2021 18:35:16 -0400 Received: from localhost (97-120-1-76.ptld.qwest.net [97.120.1.76]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id D87A31A904; Tue, 4 May 2021 15:35:08 -0700 (PDT) From: Vagrant Cascadian In-Reply-To: <875yzymg1h.fsf@gnu.org> References: <87lfck6hbl.fsf@yucca> <87bl9tvppm.fsf@yucca> <875yzymg1h.fsf@gnu.org> Date: Tue, 04 May 2021 15:34:44 -0700 Message-ID: <871ramt9ff.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 04 May 2021 18:52:02 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 46038@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620168736; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=w1a9G2Qs78IuL+Kxn7Uw1IVMUheLkbpO/+tCLDDlHtI=; b=iNMxXLTmlHoQOXJk+B2Uk9mrn6bdloMAUi6XV/ZI4FC1xknq0ZOojisttMRkh9nvI29dgd mk20+BteaGrAb7jLxqFBIIqfikc2zfADQ44cmJzKk8j8hj0mWEt4oL2pcT0vSqFojlL8vm Bomq7uOzAMg7e/xoMlVVk9egSfHBfGLtuKrQuZx7zsngKdKD0+G4oTtTN86llAto5yIHza EZNyCT5xXYP1rjZhxKfIJ16BC39+Ku2i3xrywOrV0qQQEHA+KZKamo1UKiKmwvkHUi6hhb YuqjAfmwc+fbMtAlwXv6/ukcF8ydNEsRHT4b6GX6QpDDl+Zltn4NFJ91kr6V3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620168736; a=rsa-sha256; cv=none; b=em/nfv9sYOvCTl138PVXyiwYz47olL48Pdqeoo1Cal/q5oTRxBwpTIMql94HQbdVX3/grg oup2+SeGg/d/FZGffBxzFgQN0jRX/+NqQ0wT2UqWhR7kpJeg1p7e2sBAUMWRKUvEnI2WHx QuifXXiMtgbLnwJgLq+ApXn3CXRYaF3iuqjg9SNdPmi5BY0EL1iwHOa9YtYYWLl7YlfULT DIXhWoWXAPXjWSrd7N4t/fczJQBdrCkLdGTGqSSM02AlBFkBSRPQuWEEZNBT0HXB0+3pou xWUiKLxCsJl/mJIADrHrrJWZNkcHi5s/AgF5pE010UEbWfR2odwZm/PdHPKyhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.56 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: B5DC81CE93 X-Spam-Score: -2.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: PjYVtEi2OYqe --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2021-05-04, Ludovic Court=C3=A8s wrote: > Vagrant Cascadian skribis: > >> On 2021-01-22, Vagrant Cascadian wrote: >>> I've uploaded guix 1.2.0 built against guile-2.2 to Debian, and while it >>> builds fine on the official buildd.debian.org infrastructure, on amd64 >>> and arm64 the "channel-news, one entry" test from tests/channels.scm >>> fails on tests.reproducible-builds.org. >>> >>> There are likely a few differences in the two build environments, >>> possibly including network access. >>> >>> Does the "channel-news, one entry" test indirectly depend on network or >>> bootstrap binaries? >>> >>> Could a difference in locale related variables affect the result of the >>> test (e.g. LANGUAGE=3Den:en_US vs. LANGUAGE unset, LC_ALL unset >>> vs. LC_ALL=3DC or LC_ALL=3DC.UTF-8)? >>> >>> https://tests.reproducible-builds.org/debian/rb-pkg/experimental/amd6= 4/guix.html >> >> Still basically the same story with 1.3.0rc1, in some cases this test >> fails, but I haven't consistently figured out what triggers it. >> >> >>> test-name: channel-news, one entry >>> location: /build/1st/guix-1.2.0/tests/channels.scm:324 >>> source: > > [...] > >>> + (lset=3D equal? >>> + (map channel-news-entry-title >>> + (channel-news-for-commit channel commit5)) >>> + '((("en" . "Another file!")) >>> + (("en" . "Old news.") ("eo" . "Malnova?oj.")))) > > The culprit is right here: it should read =E2=80=9CMalnova=C4=B5oj=E2=80= =9D, but there=E2=80=99s a > question mark instead of =E2=80=98=C4=B5=E2=80=99. > > Could it be that you=E2=80=99re not running tests in a UTF-8 locale? Thanks for taking a deeper look! Yes, on tests.reproducible-builds.org, one build is run in the C locale, the other in various UTF-8 locales (somewhat arbitrarily tied to architecture exactly which UTF-8 locale is used). I'm guessing buildd.debian.org use C.UTF-8, since it builds fine there. So now the question is what to do; should tests be able to assume a UTF-8 locale? Should I try to adapt the test to work in C? Should I workaround it in the Debian packaging by forcing to use a UTF-8 locale (on Debian, the only one definitely available is C.UTF-8, which isn't in upstream glibc, and thus not in guix itself). live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYJHMBAAKCRDcUY/If5cW qqQDAP9kMwfAOx1eDo/+OGZydmkGRjDxwHkSAM9htT3Fhb7f/wEA9sWmJj8hMmuE BjjFH33rWIzeofrSHZ0I+moziOEbAQo= =L1QL -----END PGP SIGNATURE----- --=-=-=--