GNU logs - #14177, boring messages


Message sent to bug-automake@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14177: Incorrect extending of rules in documentation
Resent-From: Bastien ROUCARIES <roucaries.bastien@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-automake@HIDDEN
Resent-Date: Wed, 10 Apr 2013 23:33:01 +0000
Resent-Message-ID: <handler.14177.B.13656367733495 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 14177
X-GNU-PR-Package: automake
X-GNU-PR-Keywords: 
To: 14177 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-automake@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.13656367733495
          (code B ref -1); Wed, 10 Apr 2013 23:33:01 +0000
Received: (at submit) by debbugs.gnu.org; 10 Apr 2013 23:32:53 +0000
Received: from localhost ([127.0.0.1]:44312 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UQ4VZ-0000uK-GT
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2013 19:32:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57909)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UQ4VW-0000uC-AH
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2013 19:32:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UQ4Rp-0000c2-OH
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2013 19:29:04 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:33631)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UQ4Rp-0000bt-L9
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2013 19:29:01 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41032)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UQ4Rn-00023C-7h
	for bug-automake@HIDDEN; Wed, 10 Apr 2013 19:29:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UQ4Rk-0000YP-HL
	for bug-automake@HIDDEN; Wed, 10 Apr 2013 19:28:59 -0400
Received: from mail-la0-x234.google.com ([2a00:1450:4010:c03::234]:61835)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UQ4Rk-0000Xl-90
	for bug-automake@HIDDEN; Wed, 10 Apr 2013 19:28:56 -0400
Received: by mail-la0-f52.google.com with SMTP id ej20so957142lab.39
	for <bug-automake@HIDDEN>; Wed, 10 Apr 2013 16:28:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:x-received:date:message-id:subject:from:to
	:content-type; bh=jZqW1V0Uuf8IKfLs9zdOr5vxnWsuidFvsiW+UwQJw/w=;
	b=qsjZ13b7tCrBkbShSu9+srFiQt4n0+4mAbo98Pa10c6cDU3rvmR91yCKEY/TF6IcS+
	OtA7w4XIQdB+4tphP08OjYzMuvMt7OPxVo48Z5/Ef0vAIklw660DO5jdxAKBOU99pMrc
	Co4o9Ykb/MLFBYi97Ermrh1FCnn0cG601OA7Y4KSeqBPgGFel2/dijf32xjqSHhzHAOl
	v1F5dseIteTfA1ndrXujqSEZuiQEyWg59x8ILoD3X66SGt8US/eY0R/sxoNmOhb+Z74Q
	r/PnCiQ71vv7CWNVpuvXJ5381ZSWOu12ZSxk82Fb9kKB4cM09BM0R0SbF9GfBewJu+aR
	j1Gg==
MIME-Version: 1.0
X-Received: by 10.112.130.102 with SMTP id od6mr2160343lbb.122.1365636534382; 
	Wed, 10 Apr 2013 16:28:54 -0700 (PDT)
Received: by 10.112.11.3 with HTTP; Wed, 10 Apr 2013 16:28:54 -0700 (PDT)
Date: Thu, 11 Apr 2013 01:28:54 +0200
Message-ID: <CAE2SPAbpy0idqUYhotB7k2VQ4A_1+s=OscvZ3os09+FuPdHrRA@HIDDEN>
From: Bastien ROUCARIES <roucaries.bastien@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -3.4 (---)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.1 (------)

The make code fragment at
http://www.gnu.org/software/automake/manual/html_node/Extending.html#Extending
does not work as expected if you use --program-suffix=-hdr :



     install-exec-hook:
             cd $(DESTDIR)$(bindir) && \
               mv -f prog$(EXEEXT) prog-$(VERSION)$(EXEEXT) && \
               $(LN_S) prog-$(VERSION)$(EXEEXT) prog$(EXEEXT)


error:

mv: cannot stat `./animate': No such file or directory
mv: cannot stat `./compare': No such file or directory
mv: cannot stat `./composite': No such file or directory

Could you please correct the example code and explain us how to be compatible?




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.428 (Entity 5.428)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Bastien ROUCARIES <roucaries.bastien@HIDDEN>
Subject: bug#14177: Acknowledgement (Incorrect extending of rules in
 documentation)
Message-ID: <handler.14177.B.13656367733495.ack <at> debbugs.gnu.org>
References: <CAE2SPAbpy0idqUYhotB7k2VQ4A_1+s=OscvZ3os09+FuPdHrRA@HIDDEN>
X-Gnu-PR-Message: ack 14177
X-Gnu-PR-Package: automake
Reply-To: 14177 <at> debbugs.gnu.org
Date: Wed, 10 Apr 2013 23:33:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-automake@HIDDEN

If you wish to submit further information on this problem, please
send it to 14177 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
14177: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14177
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-automake@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14177: Incorrect extending of rules in documentation
Resent-From: Nick Bowler <nbowler@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-automake@HIDDEN
Resent-Date: Thu, 11 Apr 2013 13:38:02 +0000
Resent-Message-ID: <handler.14177.B14177.136568743814832 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14177
X-GNU-PR-Package: automake
X-GNU-PR-Keywords: 
To: Bastien ROUCARIES <roucaries.bastien@HIDDEN>
Cc: 14177 <at> debbugs.gnu.org
Received: via spool by 14177-submit <at> debbugs.gnu.org id=B14177.136568743814832
          (code B ref 14177); Thu, 11 Apr 2013 13:38:02 +0000
Received: (at 14177) by debbugs.gnu.org; 11 Apr 2013 13:37:18 +0000
Received: from localhost ([127.0.0.1]:45279 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UQHgi-0003r0-F6
	for submit <at> debbugs.gnu.org; Thu, 11 Apr 2013 09:37:17 -0400
Received: from mx.scalarmail.ca ([98.158.95.75]:1177
	helo=ironport-01.sms.scalar.ca)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <prvs=nbowler=806a7dc58@HIDDEN>)
	id 1UQHge-0003px-Ir
	for 14177 <at> debbugs.gnu.org; Thu, 11 Apr 2013 09:37:14 -0400
Received: from unknown (HELO sms-zimbra-mta-01.sms.scalar.ca) ([192.168.32.56])
	by ironport-01.sms.scalar.ca with ESMTP; 11 Apr 2013 09:33:22 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by sms-zimbra-mta-01.sms.scalar.ca (Postfix) with ESMTP id 3F4C1DBA6B; 
	Thu, 11 Apr 2013 09:33:22 -0400 (EDT)
X-Virus-Scanned: amavisd-new at sms-zimbra-mta-01.sms.scalar.ca
Received: from sms-zimbra-mta-01.sms.scalar.ca ([127.0.0.1])
	by localhost (sms-zimbra-mta-01.sms.scalar.ca [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id F99AiElGT-C6; Thu, 11 Apr 2013 09:33:21 -0400 (EDT)
Received: from mail.ellipticsemi.com (mail.elliptictech.com [209.217.122.41])
	(Authenticated sender: nbowler@HIDDEN)
	by sms-zimbra-mta-01.sms.scalar.ca (Postfix) with ESMTPSA id 466E5DB955;
	Thu, 11 Apr 2013 09:33:21 -0400 (EDT)
Date: Thu, 11 Apr 2013 09:33:20 -0400
From: Nick Bowler <nbowler@HIDDEN>
Message-ID: <20130411133320.GA18332@HIDDEN>
References: <CAE2SPAbpy0idqUYhotB7k2VQ4A_1+s=OscvZ3os09+FuPdHrRA@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAE2SPAbpy0idqUYhotB7k2VQ4A_1+s=OscvZ3os09+FuPdHrRA@HIDDEN>
Organization: Elliptic Technologies Inc.
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Spam-Score: 0.8 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

On 2013-04-11 01:28 +0200, Bastien ROUCARIES wrote:
> The make code fragment at
> http://www.gnu.org/software/automake/manual/html_node/Extending.html#Extending
> does not work as expected if you use --program-suffix=-hdr :
> 
> 
> 
>      install-exec-hook:
>              cd $(DESTDIR)$(bindir) && \
>                mv -f prog$(EXEEXT) prog-$(VERSION)$(EXEEXT) && \
>                $(LN_S) prog-$(VERSION)$(EXEEXT) prog$(EXEEXT)
> 
> 
> error:
> 
> mv: cannot stat `./animate': No such file or directory
> mv: cannot stat `./compare': No such file or directory
> mv: cannot stat `./composite': No such file or directory
> 
> Could you please correct the example code and explain us how to be compatible?

The suffix feature (partially) come from Autoconf; see §15.7 "Trans-
forming Program Names When Installing"[1] of the autoconf manual.  You
are correct that this example in the Automake manual is broken if the
user decides to use the feature.

The transformation is communicated to the Makefile as a sed program, so
I think you should be able to make it work with something like this
(untested):

  install-exec-hook:
  	instprog=`echo prog | sed '$(program_transform_name)'`; \
  	  cd $(DESTDIR)$(bindir) && \
  	  mv -f $$instprog$(EXEEXT) $$instprog-$(VERSION)$(EXEEXT) && \
  	  $(LN_S) $$instprog-$(VERSION)$(EXEEXT) $$instprog$(EXEEXT)

[1] https://gnu.org/software/autoconf/manual/autoconf.html#Transforming-Names
  	
Hope that helps,
-- 
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)




Message sent to bug-automake@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14177: Incorrect extending of rules in documentation
Resent-From: Stefano Lattarini <stefano.lattarini@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-automake@HIDDEN
Resent-Date: Sat, 20 Apr 2013 15:19:01 +0000
Resent-Message-ID: <handler.14177.B14177.136647109530261 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14177
X-GNU-PR-Package: automake
X-GNU-PR-Keywords: 
To: Nick Bowler <nbowler@HIDDEN>
Cc: Bastien ROUCARIES <roucaries.bastien@HIDDEN>, 14177 <at> debbugs.gnu.org
Received: via spool by 14177-submit <at> debbugs.gnu.org id=B14177.136647109530261
          (code B ref 14177); Sat, 20 Apr 2013 15:19:01 +0000
Received: (at 14177) by debbugs.gnu.org; 20 Apr 2013 15:18:15 +0000
Received: from localhost ([127.0.0.1]:33631 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UTZYM-0007s1-N3
	for submit <at> debbugs.gnu.org; Sat, 20 Apr 2013 11:18:15 -0400
Received: from mail-wi0-f176.google.com ([209.85.212.176]:36260)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1UTZYJ-0007rr-UE
	for 14177 <at> debbugs.gnu.org; Sat, 20 Apr 2013 11:18:13 -0400
Received: by mail-wi0-f176.google.com with SMTP id hj19so2235235wib.9
	for <14177 <at> debbugs.gnu.org>; Sat, 20 Apr 2013 08:13:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	bh=bh5qdVrgM80RRYMQgbz8fgIGvBwLDnqgQ3IKocnDBBY=;
	b=Mbq7/39OGI08vZv1jQSVHHNfKZUFzgH0wXhaMca9cNhjPN8THFVahVT/QrzpLWdRLw
	z3RLXqRbTdnJgSSYx8DqCwNBwun8A65306XeBv5tsuBNujJedH4A3pkVlgQwkj7shh/M
	0srcPJ0s78tOvs0OWKAJnP+claJOYB+cbAPuO1tgfv3r3jVH+Hn6w6PmM1Qbj4xWzYYH
	bM63w6L5JISsppsi2su1m9yv1eTgRwOgvSvFMSv4BQYoYop/HzqFmXl0g3LAgGOtnS+Z
	iKTRKaPeIcJ8zIlMPIzIWEL2U39ykRnHoVVJrKUg661S1aNXwMST/Wwt9s4svhbu9AsJ
	qkqg==
X-Received: by 10.180.189.205 with SMTP id gk13mr49627933wic.25.1366470810599; 
	Sat, 20 Apr 2013 08:13:30 -0700 (PDT)
Received: from [192.168.178.20]
	(host93-95-dynamic.6-79-r.retail.telecomitalia.it. [79.6.95.93])
	by mx.google.com with ESMTPSA id fp2sm9327810wib.7.2013.04.20.08.13.28
	for <multiple recipients>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sat, 20 Apr 2013 08:13:29 -0700 (PDT)
Message-ID: <5172B096.4070707@HIDDEN>
Date: Sat, 20 Apr 2013 17:13:26 +0200
From: Stefano Lattarini <stefano.lattarini@HIDDEN>
MIME-Version: 1.0
References: <CAE2SPAbpy0idqUYhotB7k2VQ4A_1+s=OscvZ3os09+FuPdHrRA@HIDDEN>
	<20130411133320.GA18332@HIDDEN>
In-Reply-To: <20130411133320.GA18332@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.1 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

tags 14177 + moreinfo
severity 14177 minor
stop

Hello Nick, Bastien, sorry for the delay.

On 04/11/2013 03:33 PM, Nick Bowler wrote:
> On 2013-04-11 01:28 +0200, Bastien ROUCARIES wrote:
>> The make code fragment at
>> http://www.gnu.org/software/automake/manual/html_node/Extending.html#Extending
>> does not work as expected if you use --program-suffix=-hdr :
>>
>>
>>
>>      install-exec-hook:
>>              cd $(DESTDIR)$(bindir) && \
>>                mv -f prog$(EXEEXT) prog-$(VERSION)$(EXEEXT) && \
>>                $(LN_S) prog-$(VERSION)$(EXEEXT) prog$(EXEEXT)
>>
>>
>> error:
>>
>> mv: cannot stat `./animate': No such file or directory
>> mv: cannot stat `./compare': No such file or directory
>> mv: cannot stat `./composite': No such file or directory
>>
>> Could you please correct the example code and explain us how to be compatible?
> 
> The suffix feature (partially) come from Autoconf; see §15.7 "Trans-
> forming Program Names When Installing"[1] of the autoconf manual.  You
> are correct that this example in the Automake manual is broken if the
> user decides to use the feature.
> 
> The transformation is communicated to the Makefile as a sed program, so
> I think you should be able to make it work with something like this
> (untested):
> 
>   install-exec-hook:
>   	instprog=`echo prog | sed '$(program_transform_name)'`; \
>   	  cd $(DESTDIR)$(bindir) && \
>   	  mv -f $$instprog$(EXEEXT) $$instprog-$(VERSION)$(EXEEXT) && \
>   	  $(LN_S) $$instprog-$(VERSION)$(EXEEXT) $$instprog$(EXEEXT)
> 
Thank you Nick for providing this code.  However, I'm not really convinced that
it would be worth to additionally complicate the example in the manual to cater
to the seldom-used "program name transformation" feature (which I actually
believe is a misfeature in several respects, but that's something for another
thread).

Still, I'd like to hear the community's opinion on this before committing to
a decision, so for the moment being I'm tagging this report with "more info
required" rather than with "will not fix".

> [1] https://gnu.org/software/autoconf/manual/autoconf.html#Transforming-Names
>   	
> Hope that helps,

Thanks,
  Stefano




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


Received: (at control) by debbugs.gnu.org; 20 Apr 2013 15:49:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 11:49:12 2013
Received: from localhost ([127.0.0.1]:33672 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UTa2J-0000sp-UB
	for submit <at> debbugs.gnu.org; Sat, 20 Apr 2013 11:49:12 -0400
Received: from mail-we0-f176.google.com ([74.125.82.176]:32802)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1UTa2G-0000sU-Gv
	for control <at> debbugs.gnu.org; Sat, 20 Apr 2013 11:49:09 -0400
Received: by mail-we0-f176.google.com with SMTP id s43so4477637wey.7
	for <control <at> debbugs.gnu.org>; Sat, 20 Apr 2013 08:44:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding;
	bh=8gDTu2mAaPSZVn/nLMyL+BnYElCuCCDzjn74K3ftDUM=;
	b=w2Zv9qN5XpWGEbqn0v2i74KgVYjuaVAIOk7lJdr0T8kBZpFqRvRdsj18ux/UUcT66t
	cxXhmZMoQaSiAjvN6oXwp+0AFHXDp9I9TXMg2URBdn/0ayo0nC7nV7QhJ9svQp0dCurL
	ZvhCLUvtQY95UbcWd8lrcAXavw0G5fyCD3WaSMJBYFyxWD4jWlRz0NDU+8mc/Eet/LFY
	mCULGMfAiEviY5ctzTamTVLC0uFilHi2EXO6jUDgTNEKdxI9X4elldvErvkrEXykeccO
	JrFW9q50+lZMCCeENJTZSitOjz67hJoBUO1KHN2RizAlthv0EHah7VlKhpCrDMoppwpt
	jmyg==
X-Received: by 10.180.11.136 with SMTP id q8mr22360466wib.18.1366472667528;
	Sat, 20 Apr 2013 08:44:27 -0700 (PDT)
Received: from [192.168.178.20]
	(host93-95-dynamic.6-79-r.retail.telecomitalia.it. [79.6.95.93])
	by mx.google.com with ESMTPSA id t14sm10033126wib.0.2013.04.20.08.44.25
	for <control <at> debbugs.gnu.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sat, 20 Apr 2013 08:44:26 -0700 (PDT)
Message-ID: <5172B7D6.4000406@HIDDEN>
Date: Sat, 20 Apr 2013 17:44:22 +0200
From: Stefano Lattarini <stefano.lattarini@HIDDEN>
MIME-Version: 1.0
To: GNU bug tracker automated control server <control <at> debbugs.gnu.org>
Subject: x
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

severity 14079 minor
tags 14177 + moreinfo
severity 14177 minor
stop




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


Received: (at control) by debbugs.gnu.org; 20 Apr 2013 15:49:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 11:49:12 2013
Received: from localhost ([127.0.0.1]:33672 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UTa2J-0000sp-UB
	for submit <at> debbugs.gnu.org; Sat, 20 Apr 2013 11:49:12 -0400
Received: from mail-we0-f176.google.com ([74.125.82.176]:32802)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1UTa2G-0000sU-Gv
	for control <at> debbugs.gnu.org; Sat, 20 Apr 2013 11:49:09 -0400
Received: by mail-we0-f176.google.com with SMTP id s43so4477637wey.7
	for <control <at> debbugs.gnu.org>; Sat, 20 Apr 2013 08:44:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding;
	bh=8gDTu2mAaPSZVn/nLMyL+BnYElCuCCDzjn74K3ftDUM=;
	b=w2Zv9qN5XpWGEbqn0v2i74KgVYjuaVAIOk7lJdr0T8kBZpFqRvRdsj18ux/UUcT66t
	cxXhmZMoQaSiAjvN6oXwp+0AFHXDp9I9TXMg2URBdn/0ayo0nC7nV7QhJ9svQp0dCurL
	ZvhCLUvtQY95UbcWd8lrcAXavw0G5fyCD3WaSMJBYFyxWD4jWlRz0NDU+8mc/Eet/LFY
	mCULGMfAiEviY5ctzTamTVLC0uFilHi2EXO6jUDgTNEKdxI9X4elldvErvkrEXykeccO
	JrFW9q50+lZMCCeENJTZSitOjz67hJoBUO1KHN2RizAlthv0EHah7VlKhpCrDMoppwpt
	jmyg==
X-Received: by 10.180.11.136 with SMTP id q8mr22360466wib.18.1366472667528;
	Sat, 20 Apr 2013 08:44:27 -0700 (PDT)
Received: from [192.168.178.20]
	(host93-95-dynamic.6-79-r.retail.telecomitalia.it. [79.6.95.93])
	by mx.google.com with ESMTPSA id t14sm10033126wib.0.2013.04.20.08.44.25
	for <control <at> debbugs.gnu.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sat, 20 Apr 2013 08:44:26 -0700 (PDT)
Message-ID: <5172B7D6.4000406@HIDDEN>
Date: Sat, 20 Apr 2013 17:44:22 +0200
From: Stefano Lattarini <stefano.lattarini@HIDDEN>
MIME-Version: 1.0
To: GNU bug tracker automated control server <control <at> debbugs.gnu.org>
Subject: x
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

severity 14079 minor
tags 14177 + moreinfo
severity 14177 minor
stop




Message sent to bug-automake@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14177: Incorrect extending of rules in documentation
Resent-From: Bastien ROUCARIES <roucaries.bastien@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-automake@HIDDEN
Resent-Date: Mon, 22 Apr 2013 07:06:01 +0000
Resent-Message-ID: <handler.14177.B14177.13666143191913 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14177
X-GNU-PR-Package: automake
X-GNU-PR-Keywords: moreinfo
To: Stefano Lattarini <stefano.lattarini@HIDDEN>
Cc: 14177 <at> debbugs.gnu.org, Nick Bowler <nbowler@HIDDEN>
Received: via spool by 14177-submit <at> debbugs.gnu.org id=B14177.13666143191913
          (code B ref 14177); Mon, 22 Apr 2013 07:06:01 +0000
Received: (at 14177) by debbugs.gnu.org; 22 Apr 2013 07:05:19 +0000
Received: from localhost ([127.0.0.1]:36319 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UUAoQ-0000Ul-0f
	for submit <at> debbugs.gnu.org; Mon, 22 Apr 2013 03:05:18 -0400
Received: from mail-la0-f48.google.com ([209.85.215.48]:41533)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UUAoL-0000UV-Km
	for 14177 <at> debbugs.gnu.org; Mon, 22 Apr 2013 03:05:15 -0400
Received: by mail-la0-f48.google.com with SMTP id eo20so1265255lab.7
	for <14177 <at> debbugs.gnu.org>; Mon, 22 Apr 2013 00:00:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:x-received:in-reply-to:references:date:message-id
	:subject:from:to:cc:content-type:content-transfer-encoding;
	bh=jlqaW7cBQEENAoGvhfI0VavS4NnmaOUWCvGyVwZbvbg=;
	b=ntIIcRc7h3n1822pOzq9A20vWvf2tkiJblUgbtGHukfXC51L6WFKiGChOYHMse9v+w
	JuKy34v63kV6t+BeE3SiqAyEv0HbvJjOIu+VcJeQJFgaOqW8WCZBJTf/1Z2G/9lLzl+K
	Y8qTQWJPpINyGhekM/ii8r1WGeVicCNZnM7325W1ZrUgcumQdMkSKjfe9j8Yas0ZXXE+
	P3rb458fckn8oYahDMfqrwcZTVjPXBelymfuqg178/UACsZ8zahqyt3xcu/bEI+kreBz
	1iVx0DKRhquqgSJlqeKwfOLghepw4DtslqEDu0XdqjYpMERPQpA7i0QnzWM8QRtPsgIg
	EKUw==
MIME-Version: 1.0
X-Received: by 10.152.6.102 with SMTP id z6mr11073747laz.7.1366614022968; Mon,
	22 Apr 2013 00:00:22 -0700 (PDT)
Received: by 10.112.132.35 with HTTP; Mon, 22 Apr 2013 00:00:22 -0700 (PDT)
In-Reply-To: <5172B096.4070707@HIDDEN>
References: <CAE2SPAbpy0idqUYhotB7k2VQ4A_1+s=OscvZ3os09+FuPdHrRA@HIDDEN>
	<20130411133320.GA18332@HIDDEN>
	<5172B096.4070707@HIDDEN>
Date: Mon, 22 Apr 2013 09:00:22 +0200
Message-ID: <CAE2SPAYZR4zrFq9iKhK0z+mL7YFMdYLhx3ADeNiSwDoPJ3y50Q@HIDDEN>
From: Bastien ROUCARIES <roucaries.bastien@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.6 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

On Sat, Apr 20, 2013 at 5:13 PM, Stefano Lattarini
<stefano.lattarini@HIDDEN> wrote:
> tags 14177 + moreinfo
> severity 14177 minor
> stop
>
> Hello Nick, Bastien, sorry for the delay.
>
> On 04/11/2013 03:33 PM, Nick Bowler wrote:
>> On 2013-04-11 01:28 +0200, Bastien ROUCARIES wrote:
>>> The make code fragment at
>>> http://www.gnu.org/software/automake/manual/html_node/Extending.html#Ex=
tending
>>> does not work as expected if you use --program-suffix=3D-hdr :
>>>
>>>
>>>
>>>      install-exec-hook:
>>>              cd $(DESTDIR)$(bindir) && \
>>>                mv -f prog$(EXEEXT) prog-$(VERSION)$(EXEEXT) && \
>>>                $(LN_S) prog-$(VERSION)$(EXEEXT) prog$(EXEEXT)
>>>
>>>
>>> error:
>>>
>>> mv: cannot stat `./animate': No such file or directory
>>> mv: cannot stat `./compare': No such file or directory
>>> mv: cannot stat `./composite': No such file or directory
>>>
>>> Could you please correct the example code and explain us how to be comp=
atible?
>>
>> The suffix feature (partially) come from Autoconf; see =C2=A715.7 "Trans=
-
>> forming Program Names When Installing"[1] of the autoconf manual.  You
>> are correct that this example in the Automake manual is broken if the
>> user decides to use the feature.
>>
>> The transformation is communicated to the Makefile as a sed program, so
>> I think you should be able to make it work with something like this
>> (untested):
>>
>>   install-exec-hook:
>>       instprog=3D`echo prog | sed '$(program_transform_name)'`; \
>>         cd $(DESTDIR)$(bindir) && \
>>         mv -f $$instprog$(EXEEXT) $$instprog-$(VERSION)$(EXEEXT) && \
>>         $(LN_S) $$instprog-$(VERSION)$(EXEEXT) $$instprog$(EXEEXT)
>>
> Thank you Nick for providing this code.  However, I'm not really convince=
d that
> it would be worth to additionally complicate the example in the manual to=
 cater
> to the seldom-used "program name transformation" feature (which I actuall=
y
> believe is a misfeature in several respects, but that's something for ano=
ther
> thread).


I believe a footnote mentionning the problem will be sufficient with a solu=
tion.
> Still, I'd like to hear the community's opinion on this before committing=
 to
> a decision, so for the moment being I'm tagging this report with "more in=
fo
> required" rather than with "will not fix".
>
>> [1] https://gnu.org/software/autoconf/manual/autoconf.html#Transforming-=
Names
>>
>> Hope that helps,
>
> Thanks,
>   Stefano





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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