GNU bug report logs - #33759
[PATCH] gnu: linkchecker: Fix build.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Sat, 15 Dec 2018 12:18:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 33759 <at> debbugs.gnu.org
Subject: [bug#33759] [PATCH] gnu: linkchecker: Fix build.
Date: Sun, 16 Dec 2018 16:12:23 +0100
Hello Chris!

Christopher Baines <mail <at> cbaines.net> skribis:

> For some reason, the tests fail due to the lack of pytest. But when that's
> added as an input, then some tests fail in other ways.
>
> * gnu/packages/web.scm (linkchecker)[native-inputs]: Add python2-pytest.
> [arguments]: Set #:tests? to #f.

[...]

> +     `(#:python ,python-2
> +       ;; TODO: Tests currently fail. Looks to be a mixture of trying to use
> +       ;; /homeless-shelter and maybe the network.
> +       #:tests? #f))

Did you try adding a phase that does (setenv "HOME" (getcwd))?

IMO it would be best to get some confidence that the test failures are
benign, possibly working around them with tricks as above.

Thanks!

Ludo’.




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

Previous Next


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