GNU bug report logs -
#27893
[PATCH] gnu: julia: Work around some test failures related to libgit2.
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Tue, 1 Aug 2017 00:15:02 UTC
Severity: normal
Tags: patch
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
Message #8 received at 27893 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Leo,
Leo Famulari <leo <at> famulari.name> skribis:
> * gnu/packages/version-control.scm (libgit2-0.25): New variable.
> * gnu/packages/julia.scm (julia)[inputs]: Replace LIBGIT2 with LIBGIT2-0.25.
> * gnu/packages/patches/libgit2-use-after-free.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Add it.
Sorry for not noticing the breakage! I wonder if it would be
easier/safer to fix Julia than to keep the old libgit2.
Does this upstream commit fix the failures that you saw?
[Message part 2 (text/x-patch, inline)]
commit 782460f9bab4af35097c13c4dbab61cb263490b9
Author: Milan Bouchet-Valat <nalimilan <at> club.fr>
Date: Tue Jul 11 10:02:32 2017 +0200
Fix libgit2 test failure with system libgit2 and OpenSSL (#22722)
The first letter of the error message is in lowercase in some systems,
notably Fedora Rawhide with libgit2 0.26 and OpenSSL 1.1.0f.
diff --git a/test/libgit2.jl b/test/libgit2.jl
index d7e32d21a9..f5104e9ec7 100644
--- a/test/libgit2.jl
+++ b/test/libgit2.jl
@@ -1905,7 +1905,8 @@ mktempdir() do dir
deserialize(f)
end
@test err.code == LibGit2.Error.ECERTIFICATE
- @test startswith(err.msg, "The SSL certificate is invalid")
+ @test startswith(lowercase(err.msg),
+ lowercase("The SSL certificate is invalid"))
rm(errfile)
[Message part 3 (text/plain, inline)]
Ludo’.
This bug report was last modified 7 years and 79 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.