GNU bug report logs - #36912
JSON-related tests failing on latest master branch

Previous Next

Package: guix;

Reported by: Brian Leung <bkleung89 <at> gmail.com>

Date: Sat, 3 Aug 2019 20:00:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 36912-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: bkleung89 <at> gmail.com
Cc: 36912-done <at> debbugs.gnu.org
Subject: Re: bug#36912: JSON-related tests failing on latest master branch
Date: Mon, 05 Aug 2019 15:24:04 +0200
Brian Leung <bkleung89 <at> gmail.com> writes:

> For example, `make check TESTS="tests/swh.scm"` yields two failing tests.
> Running one of the package-manager test suites (such as gem.scm)` will also
> produce some failing tests.

This is not actually a bug.

We switched from Guile JSON 1.x to 3.x, which has a different
intermediate representation for JSON data structures.

swh.scm and all other modules have been modified, but when you run “guix
environment guix” you still get an environment with Guile JSON 1.x.
This leads to the test failure.

This problem disappears when you run “guix environment guix --ad-hoc
guile-json”; it will disappear when the “guix” package is upgraded to
point to the latest version of Guile JSON.

-- 
Ricardo





This bug report was last modified 5 years and 350 days ago.

Previous Next


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