GNU bug report logs - #72267
automake 1.17 issue with new AM_SILENT_RULES

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Reported by: Francis Dupont <Francis.Dupont@HIDDEN>; dated Wed, 24 Jul 2024 07:27:01 UTC; Maintainer for automake is bug-automake@HIDDEN.

Message received at 72267 <at> debbugs.gnu.org:


Received: (at 72267) by debbugs.gnu.org; 28 Jul 2024 16:35:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 28 12:35:08 2024
Received: from localhost ([127.0.0.1]:44301 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sY6rR-0005h1-JW
	for submit <at> debbugs.gnu.org; Sun, 28 Jul 2024 12:35:08 -0400
Received: from givry.fdupont.fr ([91.121.26.85]:11875)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Francis.Dupont@HIDDEN>) id 1sXz3z-0000vN-Ky
 for 72267 <at> debbugs.gnu.org; Sun, 28 Jul 2024 04:15:33 -0400
Received: from givry.fdupont.fr (localhost [IPv6:::1])
 by givry.fdupont.fr (8.14.7/8.14.7) with ESMTP id 46S785Ta059330;
 Sun, 28 Jul 2024 09:08:05 +0200 (CEST)
 (envelope-from dupont@HIDDEN)
Message-Id: <202407280708.46S785Ta059330@HIDDEN>
From: Francis Dupont <Francis.Dupont@HIDDEN>
To: Karl Berry <karl@HIDDEN>
Subject: Re: bug#72267: automake 1.17 issue with new AM_SILENT_RULES
In-reply-to: Your message of Fri, 26 Jul 2024 10:48:54 -0600.
 <202407261648.46QGmsw7041512@HIDDEN>
Date: Sun, 28 Jul 2024 09:08:05 +0200
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 72267
X-Mailman-Approved-At: Sun, 28 Jul 2024 12:35:04 -0400
Cc: nbowler@HIDDEN, 72267 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

 In your previous mail you wrote:

>  Francis, can you show us your configure.ac please?

=> it is part of the ISC Kea distrib so you can either
download the last dev sources (go to https://www.isc.org,
DOWNLOADS, Kea, Download and Kea-2.7.0.tar.gz) or simply
https://dl.cloudsmith.io/public/isc/kea-dev/raw/versions/2.7.0/kea-2.7.0.tar.gz

Thanks

Francis.Dupont@HIDDEN




Information forwarded to bug-automake@HIDDEN:
bug#72267; Package automake. Full text available.

Message received at 72267 <at> debbugs.gnu.org:


Received: (at 72267) by debbugs.gnu.org; 28 Jul 2024 12:02:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 28 08:02:22 2024
Received: from localhost ([127.0.0.1]:42761 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sY2bW-0006cm-Ic
	for submit <at> debbugs.gnu.org; Sun, 28 Jul 2024 08:02:22 -0400
Received: from mail-qk1-f170.google.com ([209.85.222.170]:43358)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nbowler@HIDDEN>) id 1sY2bU-0006cY-54
 for 72267 <at> debbugs.gnu.org; Sun, 28 Jul 2024 08:02:21 -0400
Received: by mail-qk1-f170.google.com with SMTP id
 af79cd13be357-7a1d3e93cceso197106285a.1
 for <72267 <at> debbugs.gnu.org>; Sun, 28 Jul 2024 05:02:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=draconx-ca.20230601.gappssmtp.com; s=20230601; t=1722168063; x=1722772863;
 darn=debbugs.gnu.org; 
 h=content-transfer-encoding:in-reply-to:from:references:cc:to
 :content-language:subject:user-agent:mime-version:date:message-id
 :from:to:cc:subject:date:message-id:reply-to;
 bh=fsqZqb9VnJiSxopbryRozMtt7QizGU1ErP93ZxBYcOM=;
 b=jZxJu9q2zsPJDPtfHH6iJBynVP8xb5p0GR0EntY3zORekM0BBSHA0X9aex6J4v4Npx
 vW/AJVvTpkff2jX+v2JG9FMmNEE7P534UtGQeOfSjDcAOYrsyXsacenl6K2XuKYxKWIP
 dSWraqjIcizZ9nQAJOkJa3yPtx1u4rRKw+pm24Dh7z/2n6FYehC44lqVS46p6NPIIAHo
 Jx5LgFOb5kKXxAAScosBSAiDlVUJGi/z4tvARziUjpPPuOG+1KfXOfbfc5vhdjGGG6lo
 6Hligt4LbbvOeXahJOSaw5Tzbf8Mo2AjwGacSKJSuNzLpiRt1CyT6Rj3ghHpf2XuROLE
 DltA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1722168063; x=1722772863;
 h=content-transfer-encoding:in-reply-to:from:references:cc:to
 :content-language:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=fsqZqb9VnJiSxopbryRozMtt7QizGU1ErP93ZxBYcOM=;
 b=ZgFD3cwGvJ2d672jRIAJHWFJ1JPHkkMHVN8/67jPE6NT3FlDE3cqwE3GOlrPiWgh5+
 FZOYTE+IVW8MCzC7a+GnVIzihCOxTP7QRhmGE3YjtTtTHHylwBFqDzTKyMVJklCFnIRX
 vhFAlb+6MNFHt76AMArWVIkhPsNmNmEGEqLtRqTFPNsjx5vwfRYiFrfA6Ww6bxISX2R1
 TXU7ssSNhyfScnjQ/CB2K8+Wo9k0V/cfibhONan+okiUYOkLcRsrObrOGOqcdoZeMin8
 FImA1WX24syT1gHyKxJbJw9v2Yc8NRexm2Ok6h99CuyYCuCBW64W0kDOo+Y9xdstN533
 DrJQ==
X-Gm-Message-State: AOJu0YwBVwX3Cd7n8t9eJ4xEf0IN9WZe1f7dKptqEeAypFq73z8F6nbu
 I4TMEQ9PazteypBNfYReTOo64VVVE+UsEkYNtSlBwC5/iogbthNjkJ8mQ8s2NmY=
X-Google-Smtp-Source: AGHT+IEIGSFXWD2BjTPUBzLyLbGkZ2jO/F1VXWWdwlpQ02975CducK9APtl3Fz/MeKGVYCEATf/LYQ==
X-Received: by 2002:a05:620a:414a:b0:79f:399:332 with SMTP id
 af79cd13be357-7a1e57a97c4mr865122185a.33.1722168062711; 
 Sun, 28 Jul 2024 05:01:02 -0700 (PDT)
Received: from [192.168.0.51] (dhcp-24-53-241-2.cable.user.start.ca.
 [24.53.241.2]) by smtp.gmail.com with ESMTPSA id
 af79cd13be357-7a1e087ccb2sm304027485a.106.2024.07.28.05.01.01
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 28 Jul 2024 05:01:02 -0700 (PDT)
Message-ID: <d0125588-0f73-49ca-a19c-75e04aeb5b5b@HIDDEN>
Date: Sun, 28 Jul 2024 08:00:59 -0400
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#72267: automake 1.17 issue with new AM_SILENT_RULES
Content-Language: en-US
To: Francis Dupont <Francis.Dupont@HIDDEN>
References: <202407280708.46S785Ta059330@HIDDEN>
From: Nick Bowler <nbowler@HIDDEN>
In-Reply-To: <202407280708.46S785Ta059330@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 72267
Cc: 72267 <at> debbugs.gnu.org, Karl Berry <karl@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 2024-07-28 03:08, Francis Dupont wrote:
>  In your previous mail you wrote:
>
>>  Francis, can you show us your configure.ac please?
>
> => it is part of the ISC Kea distrib so you can either
> download the last dev sources (go to https://www.isc.org,
> DOWNLOADS, Kea, Download and Kea-2.7.0.tar.gz) or simply
> https://dl.cloudsmith.io/public/isc/kea-dev/raw/versions/2.7.0/kea-2.7.0.tar.gz
>
> Thanks
>
> Francis.Dupont@HIDDEN

In configure.ac, I suggest changing this:

m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])dnl be backward compatible
AC_CONFIG_HEADERS([config.h])

To this:

m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])
])dnl
AC_CONFIG_HEADERS([config.h])

Alternately just leave it the same and remove the dnl instead, and don't
worry about the extra newline with some automake versions.

Hope that helps,
  Nick




Information forwarded to bug-automake@HIDDEN:
bug#72267; Package automake. Full text available.

Message received at 72267 <at> debbugs.gnu.org:


Received: (at 72267) by debbugs.gnu.org; 26 Jul 2024 16:49:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 26 12:49:19 2024
Received: from localhost ([127.0.0.1]:39952 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sXO87-0005ZN-Dp
	for submit <at> debbugs.gnu.org; Fri, 26 Jul 2024 12:49:19 -0400
Received: from frenzy.freefriends.org ([198.99.81.75]:33000
 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <karl@HIDDEN>) id 1sXO85-0005ZF-Ct
 for 72267 <at> debbugs.gnu.org; Fri, 26 Jul 2024 12:49:18 -0400
X-Envelope-From: karl@HIDDEN
Received: from freefriends.org (localhost [127.0.0.1])
 by freefriends.org (8.16.1/8.16.1) with ESMTPS id 46QGmuiC041513
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
 Fri, 26 Jul 2024 10:48:56 -0600
Received: (from apache@localhost)
 by freefriends.org (8.16.1/8.14.7/Submit) id 46QGmsw7041512;
 Fri, 26 Jul 2024 10:48:54 -0600
Date: Fri, 26 Jul 2024 10:48:54 -0600
Message-Id: <202407261648.46QGmsw7041512@HIDDEN>
From: Karl Berry <karl@HIDDEN>
To: nbowler@HIDDEN
Subject: Re: bug#72267: automake 1.17 issue with new AM_SILENT_RULES
In-Reply-To: <bd887ea7-6193-475c-a579-025711022cf5@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 72267
Cc: 72267 <at> debbugs.gnu.org, Francis.Dupont@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

    nb> there must be an expansion written somewhere in configure.ac
    which is producing the problematic construct.

Thanks Nick.

Francis, can you show us your configure.ac please?

    But at the same time, it is probably not a big deal to restore the
    extra newline in Automake.  But maybe use m4_newline() to make it
    extremely obvious that it was put there on purpose.

Ack. Thanks.

(Unfortunately it will be some time before I can get back to Automake.
If anyone else wants to jump in with patches, so much the better.)

Karl




Information forwarded to bug-automake@HIDDEN:
bug#72267; Package automake. Full text available.

Message received at 72267 <at> debbugs.gnu.org:


Received: (at 72267) by debbugs.gnu.org; 25 Jul 2024 02:38:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 24 22:38:12 2024
Received: from localhost ([127.0.0.1]:35033 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sWoMu-00068o-67
	for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 22:38:12 -0400
Received: from mail-qk1-f175.google.com ([209.85.222.175]:52631)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nbowler@HIDDEN>) id 1sWoMq-00068W-PH
 for 72267 <at> debbugs.gnu.org; Wed, 24 Jul 2024 22:38:10 -0400
Received: by mail-qk1-f175.google.com with SMTP id
 af79cd13be357-7a1d42da3baso26387485a.1
 for <72267 <at> debbugs.gnu.org>; Wed, 24 Jul 2024 19:38:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=draconx-ca.20230601.gappssmtp.com; s=20230601; t=1721875016; x=1722479816;
 darn=debbugs.gnu.org; 
 h=content-transfer-encoding:in-reply-to:cc:from:references:to
 :content-language:subject:user-agent:mime-version:date:message-id
 :from:to:cc:subject:date:message-id:reply-to;
 bh=oWoHitgDnn5GcSj8sN29d5m7fIdXTE++DKyDqtYPgbw=;
 b=aJzYblcCbRgpTh1B7oHLZ3KV+uBwLwwq0PeGwykoFCvXgxqN95UikaByFkL14cYfEt
 YAUYuzQaBy4Zq2CaHWwPQ7j1ox6+Rzlppo7SMXpSm+HgIQ8AEnOvT10k1HNKH5jqx3AR
 wsqhYg6nmXzFU4Ie3y89ZStWQrh5IlWGiqsxQK0K6cbc83EiL49aCnZPHYdrRSwmoiAp
 mpc/XTWKwp//4tYJHQzi/hBGYL9rZ++ZDB7wwO9iVP7aSzPi4xAwUb5lI2R8ZdXuKbKx
 hAuL0JmU+WpKkmi6DJN7PVcFnUbB99uT/QvnnjUNeiz6qlvsU4q6+6YIGhCeAVrcK+73
 hZjA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1721875016; x=1722479816;
 h=content-transfer-encoding:in-reply-to:cc:from:references:to
 :content-language:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=oWoHitgDnn5GcSj8sN29d5m7fIdXTE++DKyDqtYPgbw=;
 b=WAr45JCvdFOvYVNoz4WlCxHgOUW3A2jLwsRsmnv5axW+VKlHbddOEqPTMHq7HI3Inx
 d1pi43iPhUlJuplRbv++fsLTcpWGbSizAnw3eIs2/meIehzdcieq4I7Bmebbx6cexQDw
 LHAdNzMJf0QdM22Gir0XOitFYCVe+qrHPa0aKS15VGRedCjBmPbPdyQ8kr/+NvzuFGDS
 0tHzCd1EME3yXypGJth+R37FryEDtDr09d68AsUbCzC0YQLmcvg719QITpPlyBy2WC4m
 hbHCwjzj+3t4Hev2vO80c9FkjYrX4LzwcF+sAjnQWOlftF0RzrfsssO4EosBLMsdSTH7
 5gyg==
X-Gm-Message-State: AOJu0YyGkebPhe+ixr3qYBrnsqK5jTRBrUUR2b+qsMZhgTEytdkzDxg5
 dCfbCR86hMICY0NZVUtHhbeTTPJOIbKesIbZZz+OxTAcf028+XIPgDpWUGXU56o0k5xhhHeidZ6
 H
X-Google-Smtp-Source: AGHT+IHjyqK6aFfhWAVGxipb3HLkNLRM2E7ghn5kQDA1+8NLWNJ33JQHCwFMsHv4RA3y5CPcgDfagw==
X-Received: by 2002:a05:620a:4081:b0:79f:62a:808 with SMTP id
 af79cd13be357-7a1d7f28bc1mr65306485a.61.1721875015906; 
 Wed, 24 Jul 2024 19:36:55 -0700 (PDT)
Received: from [192.168.0.50] (dhcp-24-53-241-2.cable.user.start.ca.
 [24.53.241.2]) by smtp.gmail.com with ESMTPSA id
 af79cd13be357-7a1d744434asm26607285a.100.2024.07.24.19.36.55
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Wed, 24 Jul 2024 19:36:55 -0700 (PDT)
Message-ID: <bd887ea7-6193-475c-a579-025711022cf5@HIDDEN>
Date: Wed, 24 Jul 2024 22:36:54 -0400
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#72267: automake 1.17 issue with new AM_SILENT_RULES
Content-Language: en-US
To: Francis Dupont <Francis.Dupont@HIDDEN>
References: <202407231723.46NHNiJ4082495@HIDDEN>
From: Nick Bowler <nbowler@HIDDEN>
In-Reply-To: <202407231723.46NHNiJ4082495@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 72267
Cc: 72267 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 2024-07-23 13:23, Francis Dupont wrote:
> I use homebrew on macOS Sonoma 14.5. This package system
> installed the version 1.17 automake (I use a binary package
> but the source one refers to this metadata:
>   desc "Tool for generating GNU Standards-compliant Makefiles"
>   homepage "https://www.gnu.org/software/automake/"
>   url "https://ftp.gnu.org/gnu/automake/automake-1.17.tar.xz"
>   mirror "https://ftpmirror.gnu.org/automake/automake-1.17.tar.xz"
>   sha256 "8920c1fc411e13b90bf704ef9db6f29d540e76d232cb3b2c9f4dc4cc599bd990"
>   license "GPL-2.0-or-later"
> 
> My problem is simple: configure generated by autoreconf includes
> this line:
> AM_DEFAULT_VERBOSITY=0ac_config_headers="$ac_config_headers config.h"
> 
> i.e. the last macro generating AM_DEFAULT_VERBOSITY setting
> misses to add a newline after its expansion.
> 
> I can propose an easy patch which fixes the problem for me:
> at the end of the silent.m4 file (m4 directory in sources
> but installed at another location my homebrew add a newline
> in the AM_SILENT_RULES macro setting AM_DEFAULT_VERBOSITY:
> 
> --- /usr/local/Cellar/automake/1.17/share/aclocal-1.17/silent.m4-orig-nl	2024-07-12 07:21:44
> +++ /usr/local/Cellar/automake/1.17/share/aclocal-1.17/silent.m4		2024-07-23 07:40:50
> @@ -68,4 +68,5 @@
>  # empty being verbose).
>  AC_DEFUN([AM_SILENT_RULES],
>  [AC_REQUIRE([_AM_SILENT_RULES])
> -AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1])])
> +AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1])
> +])

As far as I can see nothing in Automake expands AM_SILENT_RULES so
there must be an expansion written somewhere in configure.ac which is
producing the problematic construct.

The usual convention for an autoconf macro that ends in a shell command
is not to include a newline.  The newline present where a macro is
expanded serves to terminate the command.  Otherwise we'd have to write
dnl after basiclaly everything just to avoid unneeded newlines.

However, it is true that this is a change in behaviour.  Automake 1.16.5
didn't follow this convention and it does produce a newline at the end
of the AM_SILENT_RULES expansion.

So before, if you wrote something like:

  AM_SILENT_RULES([no])something else without intervening newline

it would work before (and avoid an extra newline) but now indeed it
probably will not work.

If possible, it is probably a good idea to change whatever package was
broken by this.  But at the same time, it is probably not a big deal to
restore the extra newline in Automake.  But maybe use m4_newline() to
make it extremely obvious that it was put there on purpose.

Cheers,
  Nick




Information forwarded to bug-automake@HIDDEN:
bug#72267; Package automake. Full text available.

Message received at 72267 <at> debbugs.gnu.org:


Received: (at 72267) by debbugs.gnu.org; 24 Jul 2024 22:06:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 24 18:06:31 2024
Received: from localhost ([127.0.0.1]:34655 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sWk7z-0007OI-5s
	for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 18:06:31 -0400
Received: from frenzy.freefriends.org ([198.99.81.75]:33978
 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <karl@HIDDEN>) id 1sWk7v-0007O6-Ko
 for 72267 <at> debbugs.gnu.org; Wed, 24 Jul 2024 18:06:29 -0400
X-Envelope-From: karl@HIDDEN
Received: from freefriends.org (localhost [127.0.0.1])
 by freefriends.org (8.16.1/8.16.1) with ESMTPS id 46OM6BKY1489490
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
 Wed, 24 Jul 2024 16:06:11 -0600
Received: (from apache@localhost)
 by freefriends.org (8.16.1/8.14.7/Submit) id 46OM6Bl91489489;
 Wed, 24 Jul 2024 16:06:11 -0600
Date: Wed, 24 Jul 2024 16:06:11 -0600
Message-Id: <202407242206.46OM6Bl91489489@HIDDEN>
From: Karl Berry <karl@HIDDEN>
To: Francis.Dupont@HIDDEN
Subject: Re: bug#72267: automake 1.17 issue with new AM_SILENT_RULES
In-Reply-To: <202407231723.46NHNiJ4082495@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 72267
Cc: 72267 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

    AM_DEFAULT_VERBOSITY=0ac_config_headers="$ac_config_headers config.h"

Thank you very much for the report and patch (which looks perfectly
reasonable at first blush). I am surprised there's no test for this so
that it would have been caught before the release. I'll look into it as
soon as I have a chance. --thanks again, karl.





Information forwarded to bug-automake@HIDDEN:
bug#72267; Package automake. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Jul 2024 07:26:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 24 03:26:11 2024
Received: from localhost ([127.0.0.1]:33041 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sWWNz-00010o-Sd
	for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 03:26:11 -0400
Received: from lists.gnu.org ([209.51.188.17]:32880)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Francis.Dupont@HIDDEN>) id 1sWKGg-0003jY-HP
 for submit <at> debbugs.gnu.org; Tue, 23 Jul 2024 14:29:49 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Francis.Dupont@HIDDEN>)
 id 1sWKGb-0001VZ-D0
 for bug-automake@HIDDEN; Tue, 23 Jul 2024 14:29:41 -0400
Received: from givry.fdupont.fr ([2001:41d0:1:6d55:211:5bff:fe98:d51e])
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256)
 (Exim 4.90_1) (envelope-from <Francis.Dupont@HIDDEN>)
 id 1sWKGZ-0005Fa-73
 for bug-automake@HIDDEN; Tue, 23 Jul 2024 14:29:41 -0400
Received: from givry.fdupont.fr (localhost [IPv6:::1])
 by givry.fdupont.fr (8.14.7/8.14.7) with ESMTP id 46NHNiJ4082495
 for <bug-automake@HIDDEN>; Tue, 23 Jul 2024 19:23:45 +0200 (CEST)
 (envelope-from dupont@HIDDEN)
Message-Id: <202407231723.46NHNiJ4082495@HIDDEN>
From: Francis Dupont <Francis.Dupont@HIDDEN>
To: bug-automake@HIDDEN
Subject: automake 1.17 issue with new AM_SILENT_RULES
Date: Tue, 23 Jul 2024 19:23:44 +0200
Received-SPF: pass client-ip=2001:41d0:1:6d55:211:5bff:fe98:d51e;
 envelope-from=Francis.Dupont@HIDDEN; helo=givry.fdupont.fr
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 24 Jul 2024 03:26:06 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

I use homebrew on macOS Sonoma 14.5. This package system
installed the version 1.17 automake (I use a binary package
but the source one refers to this metadata:
  desc "Tool for generating GNU Standards-compliant Makefiles"
  homepage "https://www.gnu.org/software/automake/"
  url "https://ftp.gnu.org/gnu/automake/automake-1.17.tar.xz"
  mirror "https://ftpmirror.gnu.org/automake/automake-1.17.tar.xz"
  sha256 "8920c1fc411e13b90bf704ef9db6f29d540e76d232cb3b2c9f4dc4cc599bd990"
  license "GPL-2.0-or-later"

My problem is simple: configure generated by autoreconf includes
this line:
AM_DEFAULT_VERBOSITY=0ac_config_headers="$ac_config_headers config.h"

i.e. the last macro generating AM_DEFAULT_VERBOSITY setting
misses to add a newline after its expansion.

I can propose an easy patch which fixes the problem for me:
at the end of the silent.m4 file (m4 directory in sources
but installed at another location my homebrew add a newline
in the AM_SILENT_RULES macro setting AM_DEFAULT_VERBOSITY:

--- /usr/local/Cellar/automake/1.17/share/aclocal-1.17/silent.m4-orig-nl	2024-07-12 07:21:44
+++ /usr/local/Cellar/automake/1.17/share/aclocal-1.17/silent.m4		2024-07-23 07:40:50
@@ -68,4 +68,5 @@
 # empty being verbose).
 AC_DEFUN([AM_SILENT_RULES],
 [AC_REQUIRE([_AM_SILENT_RULES])
-AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1])])
+AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1])
+])

Regards

Francis.Dupont@HIDDEN (or fdupont@HIDDEN)




Acknowledgement sent to Francis Dupont <Francis.Dupont@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#72267; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.