From f4033fb5da9f07dce2b8049b1d7214c492790581 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 31 Mar 2016 23:52:15 +0200 Subject: cvs: Disable compression. Reported by Jan Nieuwenhuizen . * guix/build/cvs.scm (cvs-fetch): Use -z0. --- guix/build/cvs.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/guix/build/cvs.scm b/guix/build/cvs.scm index 033b626b96..9976e624b3 100644 --- a/guix/build/cvs.scm +++ b/guix/build/cvs.scm @@ -52,7 +52,10 @@ "Fetch REVISION from MODULE of CVS-ROOT-DIRECTORY into DIRECTORY. REVISION must either be a date in ISO-8601 format (e.g. \"2012-12-21\") or a CVS tag. Return #t on success, #f otherwise." - (and (zero? (system* cvs-command "-z3" + ;; Use "-z0" because enabling compression leads to hangs during checkout on + ;; certain repositories, such as + ;; ":pserver:anonymous@cvs.savannah.gnu.org:/sources/gnustandards". + (and (zero? (system* cvs-command "-z0" "-d" cvs-root-directory "checkout" (if (string-match "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" revision) -- cgit v1.2.3