GNU bug report logs -
#33759
[PATCH] gnu: linkchecker: Fix build.
Previous Next
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
Message #11 received at 33759 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
> 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.
I've finally made some time to look at thsi more. The HOME issue seems
to not exist, and I think I've got the testsuite working now.
I noticed that some tests are skipped because they depend on the
network, and this seems helpful, but I think it's just been missed for
some tests. I've pushed a patch upstream to mark some more tests as
needing the network [1].
1: https://github.com/linkchecker/linkchecker/pull/202
I'll try to wrangle that patch in to Guix, and neaten up the other
changes, and send some updated patches soon.
Thanks for taking a look,
Chris
[signature.asc (application/pgp-signature, inline)]
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.