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: Mon, 14 Oct 2019 23:47:51 +0200 Message-ID: <87mue3kni0.fsf@gnu.org> References: <87y2xn1e84.fsf@devup.no> 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]:37241) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK8D8-0001li-Nr for bug-guix@gnu.org; Mon, 14 Oct 2019 17:49:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iK8D7-0004jV-OX for bug-guix@gnu.org; Mon, 14 Oct 2019 17:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33540) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iK8D7-0004jK-LN for bug-guix@gnu.org; Mon, 14 Oct 2019 17:49:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iK8D7-0002Qv-Is for bug-guix@gnu.org; Mon, 14 Oct 2019 17:49:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y2xn1e84.fsf@devup.no> (Marius Bakke's message of "Mon, 14 Oct 2019 18:30: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@debbugs.gnu.org Hi Marius, 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/package= s.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 commit = and will push tomorrow if everything goes well and nobody beats me at it. Thanks, Ludo=E2=80=99.