GNU bug report logs - #46038
Tests (tests/channels.scm) assume UTF-8 locale

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Vagrant Cascadian <vagrant@HIDDEN>; merged with #50123, #50512; dated Fri, 22 Jan 2021 16:58:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Changed bug title to 'Tests (tests/channels.scm) assume UTF-8 locale' from 'Tests assume UTF-8 locale (specifically' Request was from Tobias Geerinckx-Rice <me@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to 'Tests assume UTF-8 locale (specifically' from 'guix 1.2.0 test failure: channels-news, one entry' Request was from Tobias Geerinckx-Rice <me@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 46038 50123 50512. Request was from Tobias Geerinckx-Rice <me@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 46038 <at> debbugs.gnu.org:


Received: (at 46038) by debbugs.gnu.org; 6 May 2021 10:46:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 06 06:46:59 2021
Received: from localhost ([127.0.0.1]:37335 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lebX0-00022D-Ow
	for submit <at> debbugs.gnu.org; Thu, 06 May 2021 06:46:58 -0400
Received: from eggs.gnu.org ([209.51.188.92]:52182)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1lebWy-0001x7-Ia
 for 46038 <at> debbugs.gnu.org; Thu, 06 May 2021 06:46:57 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:57176)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1lebWs-00058K-Un; Thu, 06 May 2021 06:46:50 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60832 helo=ribbon)
 by fencepost.gnu.org with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2)
 (envelope-from <ludo@HIDDEN>)
 id 1lebWs-0005FR-Gs; Thu, 06 May 2021 06:46:50 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Vagrant Cascadian <vagrant@HIDDEN>
Subject: Re: bug#46038: guix 1.3.0rc1 test failure: channels-news, one entry
References: <87lfck6hbl.fsf@yucca> <87bl9tvppm.fsf@yucca>
 <875yzymg1h.fsf@HIDDEN> <871ramt9ff.fsf@yucca>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 17 =?utf-8?Q?Flor=C3=A9al?= an 229 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Thu, 06 May 2021 12:46:48 +0200
In-Reply-To: <871ramt9ff.fsf@yucca> (Vagrant Cascadian's message of "Tue, 04
 May 2021 15:34:44 -0700")
Message-ID: <87eeekgmw7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 46038
Cc: 46038 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Vagrant Cascadian <vagrant@HIDDEN> skribis:

> 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).

Since it=E2=80=99s the only test that makes this assumption, you can choose
whichever option sounds best to you.  In Guix proper, I=E2=80=99d rather as=
sume
we=E2=80=99re running in a UTF-8 locale.  If that=E2=80=99s not a good opti=
on for you,
you could patch this one non-ASCII character.

HTH!

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#46038; Package guix. Full text available.

Message received at 46038 <at> debbugs.gnu.org:


Received: (at 46038) by debbugs.gnu.org; 4 May 2021 22:35:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 04 18:35:17 2021
Received: from localhost ([127.0.0.1]:55833 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1le3dN-0000zq-0J
	for submit <at> 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 <vagrant@HIDDEN>) id 1le3dK-0000zi-Tw
 for 46038 <at> 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@HIDDEN)
 by cascadia.aikidev.net (Postfix) with ESMTPSA id D87A31A904;
 Tue,  4 May 2021 15:35:08 -0700 (PDT)
From: Vagrant Cascadian <vagrant@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#46038: guix 1.3.0rc1 test failure: channels-news, one entry
In-Reply-To: <875yzymg1h.fsf@HIDDEN>
References: <87lfck6hbl.fsf@yucca> <87bl9tvppm.fsf@yucca>
 <875yzymg1h.fsf@HIDDEN>
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-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 46038
Cc: 46038 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2021-05-04, Ludovic Court=C3=A8s wrote:
> Vagrant Cascadian <vagrant@HIDDEN> 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-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#46038; Package guix. Full text available.

Message received at 46038 <at> debbugs.gnu.org:


Received: (at 46038) by debbugs.gnu.org; 4 May 2021 19:53:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 04 15:53:56 2021
Received: from localhost ([127.0.0.1]:55066 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1le17E-0007ff-CS
	for submit <at> debbugs.gnu.org; Tue, 04 May 2021 15:53:56 -0400
Received: from eggs.gnu.org ([209.51.188.92]:46450)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1le17C-0007fZ-Gi
 for 46038 <at> debbugs.gnu.org; Tue, 04 May 2021 15:53:54 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:59052)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1le176-0005ad-K5; Tue, 04 May 2021 15:53:48 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60562 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1le176-0000CC-10; Tue, 04 May 2021 15:53:48 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Vagrant Cascadian <vagrant@HIDDEN>
Subject: Re: bug#46038: guix 1.3.0rc1 test failure: channels-news, one entry
References: <87lfck6hbl.fsf@yucca> <87bl9tvppm.fsf@yucca>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 15 =?utf-8?Q?Flor=C3=A9al?= an 229 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Tue, 04 May 2021 21:53:46 +0200
In-Reply-To: <87bl9tvppm.fsf@yucca> (Vagrant Cascadian's message of "Sat, 01
 May 2021 19:23:17 -0700")
Message-ID: <875yzymg1h.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 46038
Cc: 46038 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Vagrant,

Vagrant Cascadian <vagrant@HIDDEN> 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/amd64=
/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,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#46038; Package guix. Full text available.

Message received at 46038 <at> debbugs.gnu.org:


Received: (at 46038) by debbugs.gnu.org; 2 May 2021 02:23:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 01 22:23:30 2021
Received: from localhost ([127.0.0.1]:39775 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ld1la-00005c-9m
	for submit <at> debbugs.gnu.org; Sat, 01 May 2021 22:23:30 -0400
Received: from cascadia.aikidev.net ([173.255.214.101]:38552)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vagrant@HIDDEN>) id 1ld1lY-00005W-GP
 for 46038 <at> debbugs.gnu.org; Sat, 01 May 2021 22:23:29 -0400
Received: from localhost (97-120-1-76.ptld.qwest.net [97.120.1.76])
 (Authenticated sender: vagrant@HIDDEN)
 by cascadia.aikidev.net (Postfix) with ESMTPSA id 47CC81A904
 for <46038 <at> debbugs.gnu.org>; Sat,  1 May 2021 19:23:22 -0700 (PDT)
From: Vagrant Cascadian <vagrant@HIDDEN>
To: 46038 <at> debbugs.gnu.org
Subject: guix 1.3.0rc1 test failure: channels-news, one entry
In-Reply-To: <87lfck6hbl.fsf@yucca>
References: <87lfck6hbl.fsf@yucca>
Date: Sat, 01 May 2021 19:23:17 -0700
Message-ID: <87bl9tvppm.fsf@yucca>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 46038
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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/amd64/=
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:
> + (test-assert
> +   "channel-news, one entry"
> +   (with-temporary-git-repository
> +     directory
> +     `((add ".guix-channel"
> +            ,(object->string
> +               '(channel (version 0) (news-file "news.scm"))))
> +       (commit "first commit")
> +       (add "src/a.txt" "A")
> +       (commit "second commit")
> +       (tag "tag-for-first-news-entry")
> +       (add "news.scm"
> +            ,(lambda (repository)
> +               (let ((previous
> +                       (reference-name->oid repository "HEAD")))
> +                 (object->string
> +                   `(channel-news
> +                      (version 0)
> +                      (entry (commit ,(oid->string previous))
> +                             (title (en "New file!") (eo "Nova dosiero!"=
))
> +                             (body (en "Yeah, a.txt."))))))))
> +       (commit "third commit")
> +       (add "src/b.txt" "B")
> +       (commit "fourth commit")
> +       (add hint: Using 'master' as the name for the initial branch. Thi=
s default branch name
> hint: is subject to change. To configure the initial branch name to use i=
n all
> hint: of your new repositories, which will suppress this warning, call:
> hint:=20
> hint: 	git config --global init.defaultBranch <name>
> hint:=20
> hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
> hint: 'development'. The just-created branch can be renamed via this comm=
and:
> hint:=20
> hint: 	git branch -m <name>
> Initialized empty Git repository in /tmp/guix-directory.6SfxEu/.git/
> [master (root-commit) 8b5d0e8] first commit
>  1 file changed, 1 insertion(+)
>  create mode 100644 .guix-channel
> [master b8dd467] second commit
>  1 file changed, 1 insertion(+)
>  create mode 100644 src/a.txt
> [master 324d7bc] third commit
>  1 file changed, 1 insertion(+)
>  create mode 100644 news.scm
> [master 2cd62e1] fourth commit
>  1 file changed, 1 insertion(+)
>  create mode 100644 src/b.txt
> [master d0e63c3] fifth commit
>  1 file changed, 1 insertion(+), 1 deletion(-)
> hint: Using 'master' as the name for the initial branch. This default bra=
nch name
> hint: is subject to change. To configure the initial branch name to use i=
n all
> hint: of your new repositories, which will suppress this warning, call:
> hint:=20
> hint: 	git config --global init.defaultBranch <name>
> hint:=20
> hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
> hint: 'development'. The just-created branch can be renamed via this comm=
and:
> hint:=20
> hint: 	git branch -m <name>
> Initialized empty Git repository in /tmp/guix-directory.M2UpCv/.git/
> [master (root-commit) f84a5c3] first commit
>  1 file changed, 1 insertion(+)
>  create mode 100644 a.txt
> [master b1e63da] second commit
>  1 file changed, 1 insertion(+)
>  create mode 100644 b.scm
> "news.scm"
> +            ,(lambda (repository)
> +               (let ((second
> +                       (commit-id
> +                         (find-commit repository "second commit")))
> +                     (previous
> +                       (reference-name->oid repository "HEAD")))
> +                 (object->string
> +                   `(channel-news
> +                      (version 0)
> +                      (entry (commit ,(oid->string previous))
> +                             (title (en "Another file!"))
> +                             (body (en "Yeah, b.txt.")))
> +                      (entry (tag "tag-for-first-news-entry")
> +                             (title (en "Old news.") (eo "Malnova?oj."))
> +                             (body (en "For a.txt"))))))))
> +       (commit "fifth commit"))
> +     (with-repository
> +       directory
> +       repository
> +       (define (find-commit* message)
> +         (oid->string
> +           (commit-id (find-commit repository message))))
> +       (let ((channel
> +               (channel
> +                 (url (string-append "file://" directory))
> +                 (name 'foo)))
> +             (commit1 (find-commit* "first commit"))
> +             (commit2 (find-commit* "second commit"))
> +             (commit3 (find-commit* "third commit"))
> +             (commit4 (find-commit* "fourth commit"))
> +             (commit5 (find-commit* "fifth commit")))
> +         (and (null? (channel-news-for-commit channel commit2))
> +              (lset=3D string=3D?
> +                     (map channel-news-entry-commit
> +                          (channel-news-for-commit channel commit5))
> +                     (list commit2 commit4))
> +              (lset=3D equal?
> +                     (map channel-news-entry-title
> +                          (channel-news-for-commit channel commit5))
> +                     '((("en" . "Another file!"))
> +                       (("en" . "Old news.") ("eo" . "Malnova?oj."))))
> +              (lset=3D string=3D?
> +                     (map channel-news-entry-commit
> +                          (channel-news-for-commit channel commit3))
> +                     (list commit2))
> +              (lset=3D string=3D?
> +                     (map channel-news-entry-commit
> +                          (channel-news-for-commit channel commit3 commi=
t1))
> +                     (list commit2))
> +              (lset=3D string=3D?
> +                     (map channel-news-entry-commit
> +                          (channel-news-for-commit channel commit5 commi=
t3))
> +                     (list commit4))
> +              (lset=3D string=3D?
> +                     (map channel-news-entry-commit
> +                          (channel-news-for-commit channel commit5 commi=
t1))
> +                     (list commit4 commit2))
> +              (lset=3D equal?
> +                     (map channel-news-entry-tag
> +                          (channel-news-for-commit channel commit5 commi=
t1))
> +                     '(#f "tag-for-first-news-entry")))))))
> actual-value: #f
> result: FAIL


live well,
  vagrant

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYI4NFgAKCRDcUY/If5cW
qrldAQD+BqPUJDBGtukLOZq+IQLxXKIIYgZQKhmOZCK6OupYDgD/XcWmIv7TguzL
YBqXj4yTUtx3PEuEFE0NaBXgL5LALww=
=R028
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#46038; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Jan 2021 16:57:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 22 11:57:10 2021
Received: from localhost ([127.0.0.1]:32915 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l2zkD-0007wF-Lc
	for submit <at> debbugs.gnu.org; Fri, 22 Jan 2021 11:57:10 -0500
Received: from lists.gnu.org ([209.51.188.17]:44846)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vagrant@HIDDEN>) id 1l2zk9-0007w6-VK
 for submit <at> debbugs.gnu.org; Fri, 22 Jan 2021 11:57:08 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:34932)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <vagrant@HIDDEN>)
 id 1l2zk8-0002aq-5M
 for bug-guix@HIDDEN; Fri, 22 Jan 2021 11:57:04 -0500
Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:47272)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <vagrant@HIDDEN>) id 1l2zk2-0002F6-QJ
 for bug-guix@HIDDEN; Fri, 22 Jan 2021 11:57:03 -0500
Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b])
 (Authenticated sender: vagrant@HIDDEN)
 by cascadia.aikidev.net (Postfix) with ESMTPSA id F02D91AA3C
 for <bug-guix@HIDDEN>; Fri, 22 Jan 2021 08:56:51 -0800 (PST)
From: Vagrant Cascadian <vagrant@HIDDEN>
To: bug-guix@HIDDEN
Subject: guix 1.2.0 test failure: channels-news, one entry
Date: Fri, 22 Jan 2021 08:56:46 -0800
Message-ID: <87lfck6hbl.fsf@yucca>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c;
 envelope-from=vagrant@HIDDEN; helo=cascadia.aikidev.net
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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/amd64/gu=
ix.html

test-name: channel-news, one entry
location: /build/1st/guix-1.2.0/tests/channels.scm:324
source:
+ (test-assert
+   "channel-news, one entry"
+   (with-temporary-git-repository
+     directory
+     `((add ".guix-channel"
+            ,(object->string
+               '(channel (version 0) (news-file "news.scm"))))
+       (commit "first commit")
+       (add "src/a.txt" "A")
+       (commit "second commit")
+       (tag "tag-for-first-news-entry")
+       (add "news.scm"
+            ,(lambda (repository)
+               (let ((previous
+                       (reference-name->oid repository "HEAD")))
+                 (object->string
+                   `(channel-news
+                      (version 0)
+                      (entry (commit ,(oid->string previous))
+                             (title (en "New file!") (eo "Nova dosiero!"))
+                             (body (en "Yeah, a.txt."))))))))
+       (commit "third commit")
+       (add "src/b.txt" "B")
+       (commit "fourth commit")
+       (add hint: Using 'master' as the name for the initial branch. This =
default branch name
hint: is subject to change. To configure the initial branch name to use in =
all
hint: of your new repositories, which will suppress this warning, call:
hint:=20
hint: 	git config --global init.defaultBranch <name>
hint:=20
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this comman=
d:
hint:=20
hint: 	git branch -m <name>
Initialized empty Git repository in /tmp/guix-directory.6SfxEu/.git/
[master (root-commit) 8b5d0e8] first commit
 1 file changed, 1 insertion(+)
 create mode 100644 .guix-channel
[master b8dd467] second commit
 1 file changed, 1 insertion(+)
 create mode 100644 src/a.txt
[master 324d7bc] third commit
 1 file changed, 1 insertion(+)
 create mode 100644 news.scm
[master 2cd62e1] fourth commit
 1 file changed, 1 insertion(+)
 create mode 100644 src/b.txt
[master d0e63c3] fifth commit
 1 file changed, 1 insertion(+), 1 deletion(-)
hint: Using 'master' as the name for the initial branch. This default branc=
h name
hint: is subject to change. To configure the initial branch name to use in =
all
hint: of your new repositories, which will suppress this warning, call:
hint:=20
hint: 	git config --global init.defaultBranch <name>
hint:=20
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this comman=
d:
hint:=20
hint: 	git branch -m <name>
Initialized empty Git repository in /tmp/guix-directory.M2UpCv/.git/
[master (root-commit) f84a5c3] first commit
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
[master b1e63da] second commit
 1 file changed, 1 insertion(+)
 create mode 100644 b.scm
"news.scm"
+            ,(lambda (repository)
+               (let ((second
+                       (commit-id
+                         (find-commit repository "second commit")))
+                     (previous
+                       (reference-name->oid repository "HEAD")))
+                 (object->string
+                   `(channel-news
+                      (version 0)
+                      (entry (commit ,(oid->string previous))
+                             (title (en "Another file!"))
+                             (body (en "Yeah, b.txt.")))
+                      (entry (tag "tag-for-first-news-entry")
+                             (title (en "Old news.") (eo "Malnova?oj."))
+                             (body (en "For a.txt"))))))))
+       (commit "fifth commit"))
+     (with-repository
+       directory
+       repository
+       (define (find-commit* message)
+         (oid->string
+           (commit-id (find-commit repository message))))
+       (let ((channel
+               (channel
+                 (url (string-append "file://" directory))
+                 (name 'foo)))
+             (commit1 (find-commit* "first commit"))
+             (commit2 (find-commit* "second commit"))
+             (commit3 (find-commit* "third commit"))
+             (commit4 (find-commit* "fourth commit"))
+             (commit5 (find-commit* "fifth commit")))
+         (and (null? (channel-news-for-commit channel commit2))
+              (lset=3D string=3D?
+                     (map channel-news-entry-commit
+                          (channel-news-for-commit channel commit5))
+                     (list commit2 commit4))
+              (lset=3D equal?
+                     (map channel-news-entry-title
+                          (channel-news-for-commit channel commit5))
+                     '((("en" . "Another file!"))
+                       (("en" . "Old news.") ("eo" . "Malnova?oj."))))
+              (lset=3D string=3D?
+                     (map channel-news-entry-commit
+                          (channel-news-for-commit channel commit3))
+                     (list commit2))
+              (lset=3D string=3D?
+                     (map channel-news-entry-commit
+                          (channel-news-for-commit channel commit3 commit1=
))
+                     (list commit2))
+              (lset=3D string=3D?
+                     (map channel-news-entry-commit
+                          (channel-news-for-commit channel commit5 commit3=
))
+                     (list commit4))
+              (lset=3D string=3D?
+                     (map channel-news-entry-commit
+                          (channel-news-for-commit channel commit5 commit1=
))
+                     (list commit4 commit2))
+              (lset=3D equal?
+                     (map channel-news-entry-tag
+                          (channel-news-for-commit channel commit5 commit1=
))
+                     '(#f "tag-for-first-news-entry")))))))
actual-value: #f
result: FAIL


live well,
  vagrant

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYAsDzwAKCRDcUY/If5cW
qgGYAP4ndX3GCLNV/hSA2z9pMtDBUAffBv+zSSl7AqtE4sEBAQEA/s8ZTZBt9IZw
EbMykzn6hSLgTM3Se4XRPLLwlrdU3QM=
=7up1
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Vagrant Cascadian <vagrant@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#46038; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 27 Nov 2021 14:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.