From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 04 03:16:54 2015 Received: (at submit) by debbugs.gnu.org; 4 Jan 2015 08:16:54 +0000 Received: from localhost ([127.0.0.1]:35948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7gMn-00037j-5m for submit@debbugs.gnu.org; Sun, 04 Jan 2015 03:16:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36794) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7gMk-00037Z-D2 for submit@debbugs.gnu.org; Sun, 04 Jan 2015 03:16:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7gMi-0000AF-SR for submit@debbugs.gnu.org; Sun, 04 Jan 2015 03:16:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7gMi-0000A9-PR for submit@debbugs.gnu.org; Sun, 04 Jan 2015 03:16:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7gMh-0000bS-4t for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 03:16:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7gMd-00009K-RL for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 03:16:47 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:43087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7gMd-000095-J3 for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 03:16:43 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 297AEA60002 for ; Sun, 4 Jan 2015 00:16:42 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5yneWmvyv+YL for ; Sun, 4 Jan 2015 00:16:38 -0800 (PST) Received: from [192.168.1.9] (pool-173-55-11-52.lsanca.fios.verizon.net [173.55.11.52]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 0C42539E8016 for ; Sun, 4 Jan 2015 00:16:38 -0800 (PST) Message-ID: <54A8F6E5.4060209@cs.ucla.edu> Date: Sun, 04 Jan 2015 00:16:37 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Emacs bug reports and feature requests Subject: Default to 'configure --enable-silent-rules' Content-Type: multipart/mixed; boundary="------------000709040705060203020307" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) This is a multi-part message in MIME format. --------------000709040705060203020307 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Tags: patch Severity: wishlist Attached is a patch to change the defaults for Emacs's build procedure to generate less output, to help builders and developers focus more easily on the diagnostics and warnings that are worth paying attention to. For the shorter output, use 'make V=0' (the new default); for the traditional verbose output, use 'make V=1' (the old default). This sort of thing has been used for some time for other GNU utilities, and seems to work fairly well. I plan to install this into the Emacs master after some more testing. --------------000709040705060203020307 Content-Type: text/x-diff; name="0001-Default-to-configure-enable-silent-rules.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Default-to-configure-enable-silent-rules.patch" >From fe61981f51e02cf6da93c4ecdcac6db747ec445c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 4 Jan 2015 00:09:17 -0800 Subject: [PATCH] Default to 'configure --enable-silent-rules' This greatly shortens the 'make' output, making it more readable and useful. For example, on my platform it shortens a 4125-character line "gcc -std=gnu99 -c -Demacs -I. -I. -I../lib ... emacs.c" -- a line so long that it's hard to see what's going on or where the diagnostics are -- to just "CC emacs.o". * INSTALL, etc/NEWS: Document this. * configure.ac: Add AM_SILENT_RULES([yes]). (AM_DEFAULT_VERBOSITY): Remove now-unnecessary initialization. --- ChangeLog | 10 ++++++++++ INSTALL | 7 +++---- configure.ac | 4 +++- etc/ChangeLog | 3 +++ etc/NEWS | 6 ++++-- 5 files changed, 23 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 68d1391..624c65a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2015-01-04 Paul Eggert + Default to 'configure --enable-silent-rules' + This greatly shortens the 'make' output, making it more readable + and useful. For example, on my platform it shortens a + 4125-character line "gcc -std=gnu99 -c -Demacs -I. -I. -I../lib + ... emacs.c" -- a line so long that it's hard to see what's going + on or where the diagnostics are -- to just "CC emacs.o". + * INSTALL: Document this. + * configure.ac: Add AM_SILENT_RULES([yes]). + (AM_DEFAULT_VERBOSITY): Remove now-unnecessary initialization. + Clarify 'make info' * Makefile.in (info): Use GNU make conditional rather than an '@' rule with a shell conditional, so that the builder can diff --git a/INSTALL b/INSTALL index 6850c7d..3d1a9a3 100644 --- a/INSTALL +++ b/INSTALL @@ -314,10 +314,9 @@ and is useful with GNU-compatible compilers. On a recent GNU system there should be no warnings; on older and on non-GNU systems the generated warnings may still be useful. -Use --enable-silent-rules to cause 'make' to chatter less. This is -helpful when combined with options like --enable-gcc-warnings that -generate long shell-command lines. 'make V=0' also suppresses the -chatter. +Use --disable-silent-rules to cause 'make' to give more details about +the commands it executes. This can be helpful when debugging a build +that goes awry. 'make V=1' also enables the extra chatter. Use --enable-link-time-optimization to enable link-time optimizer. If you're using GNU compiler, this feature is supported since version 4.5.0. diff --git a/configure.ac b/configure.ac index e09b289..4cad214 100644 --- a/configure.ac +++ b/configure.ac @@ -1011,9 +1011,11 @@ if test "${enableval}" != "no"; then fi fi) +dnl Prefer silent make output. For verbose output, use +dnl 'configure --disable-silent-rules' or 'make V=1' . +AM_SILENT_RULES([yes]) dnl Port to Automake 1.11. dnl This section can be removed once we assume Automake 1.14 or later. -: ${AM_DEFAULT_VERBOSITY=1} : ${AM_V=$AM_DEFAULT_VERBOSITY} : ${AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY} AC_SUBST([AM_V]) diff --git a/etc/ChangeLog b/etc/ChangeLog index c72c560..fe498ef 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,5 +1,8 @@ 2015-01-04 Paul Eggert + Default to 'configure --enable-silent-rules' + * NEWS: Document this. + batch write-region no longer says "Wrote FOO" * NEWS: Document this. diff --git a/etc/NEWS b/etc/NEWS index ac42a9f..2ddb067 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -40,8 +40,10 @@ or by sticking with Emacs 24.4. ** The configure option `--with-pkg-config-prog' has been removed. Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to. -** The configure option '--enable-silent-rules' and the command -'make V=0' now do a better job of suppressing chatter. +** The configure option '--enable-silent-rules' is now the default. +It and the command 'make V=0' now do a better job of suppressing chatter. +To get the old behavior, configure with '--disable-silent-rules' or +build with 'make V=1'. --- ** The `grep-changelog' script (and its manual page) are no longer included. -- 2.1.0 --------------000709040705060203020307-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 11 04:22:34 2015 Received: (at 19501-done) by debbugs.gnu.org; 11 Jan 2015 09:22:34 +0000 Received: from localhost ([127.0.0.1]:42363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YAEjC-0002UZ-0O for submit@debbugs.gnu.org; Sun, 11 Jan 2015 04:22:34 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:57974) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YAEj9-0002UQ-RX for 19501-done@debbugs.gnu.org; Sun, 11 Jan 2015 04:22:32 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id ED6B7A60026 for <19501-done@debbugs.gnu.org>; Sun, 11 Jan 2015 01:22:30 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ekyDcaCHk9Wb for <19501-done@debbugs.gnu.org>; Sun, 11 Jan 2015 01:22:30 -0800 (PST) Received: from [192.168.1.9] (pool-173-55-11-52.lsanca.fios.verizon.net [173.55.11.52]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id A8831A60022 for <19501-done@debbugs.gnu.org>; Sun, 11 Jan 2015 01:22:30 -0800 (PST) Message-ID: <54B240C2.8000405@cs.ucla.edu> Date: Sun, 11 Jan 2015 01:22:10 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: 19501-done@debbugs.gnu.org Subject: Re: Default to 'configure --enable-silent-rules' References: <54A8F6E5.4060209@cs.ucla.edu> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 19501-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I installed the patch in the master as commit b995b4ae8f9e08719a92bbe3bd6ac7e8ff091309 and am marking this as done. From unknown Mon Aug 18 09:01:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 08 Feb 2015 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator