bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: "Tim Rühsen" <tim.ruehsen@gmx.de>
Cc: bug-gnulib@gnu.org
Subject: Re: wget -q in bootstrap is too silent
Date: Sat, 5 Oct 2019 21:38:12 -0700	[thread overview]
Message-ID: <523aac74-12a8-1e17-2bc5-f4b1eef166ef@cs.ucla.edu> (raw)
In-Reply-To: <dd59bd79-ec8f-4129-3e91-96b8e00df9b1@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

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.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-bootstrap-simplify-debugging-of-wget-failures.txt --]
[-- Type: text/x-patch; name="0001-bootstrap-simplify-debugging-of-wget-failures.txt", Size: 1787 bytes --]

From 60039e9a201ffbbddffb6c1e8ba31c4b9dce9ff2 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@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  <eggert@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  <bruno@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	other threads:[~2019-10-06  4:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-04 15:34 wget -q in bootstrap is too silent Tim Rühsen
2019-10-06  4:38 ` Paul Eggert [this message]
2019-10-06 14:29   ` Tim Rühsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=523aac74-12a8-1e17-2bc5-f4b1eef166ef@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=bug-gnulib@gnu.org \
    --cc=tim.ruehsen@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).