From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#37748: 'guix' fails tests on non-x86_64 systems Date: Tue, 15 Oct 2019 07:31:33 +0200 Message-ID: <87imoqlglm.fsf@gnu.org> References: <87y2xn1e84.fsf@devup.no> <87mue3kni0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37183) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKFRF-0006qE-Cd for bug-guix@gnu.org; Tue, 15 Oct 2019 01:32:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKFRE-0005ea-7R for bug-guix@gnu.org; Tue, 15 Oct 2019 01:32:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33752) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKFRE-0005eQ-4c for bug-guix@gnu.org; Tue, 15 Oct 2019 01:32:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iKFRE-0002iT-0e for bug-guix@gnu.org; Tue, 15 Oct 2019 01:32:04 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87mue3kni0.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 14 Oct 2019 23:47:51 +0200") 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.org@gnu.org Sender: "bug-Guix" To: Marius Bakke Cc: 37748-done@debbugs.gnu.org Ludovic Court=C3=A8s skribis: > Marius Bakke skribis: > >> test-name: fold-available-packages with/without cache >> location: /tmp/guix-build-guix-1.0.1-7.fc1fe72.drv-0/source/tests/packag= es.scm:1110 >> source: >> + (test-assert >> + "fold-available-packages with/without cache" >> + (let () >> + (define no-cache >> + (fold-available-packages >> + (lambda* (name version result #:rest rest) >> + (cons (cons* name version rest) result)) >> + '())) >> + (define from-cache >> + (call-with-temporary-directory >> + (lambda (cache) >> + (generate-package-cache cache) >> + (mock ((guix describe) current-profile (const cache)) >> + (mock ((gnu packages) >> + cache-is-authoritative? >> + (const #t)) >> + (fold-available-packages >> + (lambda* (name version result #:rest rest) >> + (cons (cons* name version rest) result)) >> + '())))))) >> + (and (equal? >> + (delete-duplicates from-cache) >> + from-cache) >> + (lset=3D equal? no-cache from-cache)))) >> actual-value: #f >> result: FAIL > > Oops! Commit 88da011592a679776088b64b8d11575563c3f867 fixes it. > > I=E2=80=99m testing =E2=80=98guix=E2=80=99 packages updated to that commi= t and will push > tomorrow if everything goes well and nobody beats me at it. Done in 062158cd7e89ccd40381ca96ce016c841507cedb. Ludo'.