On 10/4/19 8:34 AM, Tim Rühsen wrote:
Instead of -q we could use -nv to avoid disguising the real error.
But there will be some diagnostic noice...

At this point the bootstrap script is so noisy that a bit more won't hurt, especially if it's in a good cause. Thanks for reporting the problem; I installed the attached.
>From 60039e9a201ffbbddffb6c1e8ba31c4b9dce9ff2 Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Sat, 5 Oct 2019 21:36:15 -0700
Subject: [PATCH] bootstrap: simplify debugging of wget failures
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Problem reported by Tim Rühsen in:
https://lists.gnu.org/r/bug-gnulib/2019-10/msg00000.html
* build-aux/bootstrap (po_download_command_format):
Invoke wget with -nv instead of -q, to make debugging easier.
---
 ChangeLog           | 8 ++++++++
 build-aux/bootstrap | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 325ddf57b..25f1f3e3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2019-10-05  Paul Eggert  <egg...@cs.ucla.edu>
+
+	bootstrap: simplify debugging of wget failures
+	Problem reported by Tim Rühsen in:
+	https://lists.gnu.org/r/bug-gnulib/2019-10/msg00000.html
+	* build-aux/bootstrap (po_download_command_format):
+	Invoke wget with -nv instead of -q, to make debugging easier.
+
 2019-09-29  Bruno Haible  <br...@clisp.org>
 
 	avltree-list: Fix compilation warning (introduced on 2014-09-16).
diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index 5b08e7e2d..e273ea732 100755
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -166,7 +166,7 @@ bootstrap_epilogue() { :; }
 # specified directory.  Fill in the first %s with the destination
 # directory and the second with the domain name.
 po_download_command_format=\
-"wget --mirror --level=1 -nd -q -A.po -P '%s' \
+"wget --mirror --level=1 -nd -nv -A.po -P '%s' \
  https://translationproject.org/latest/%s/";
 
 # Prefer a non-empty tarname (4th argument of AC_INIT if given), else
-- 
2.17.1

Reply via email to