GNU bug report logs - #31417
Compilation failure when source directory is renamed to automake

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: Charles Gonnaud <charles.gonnaud@HIDDEN>; dated Fri, 11 May 2018 16:03:02 UTC; Maintainer for automake is bug-automake@HIDDEN.

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


Received: (at 31417) by debbugs.gnu.org; 11 May 2018 17:49:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 11 13:49:19 2018
Received: from localhost ([127.0.0.1]:58663 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fHCAR-0002ys-6L
	for submit <at> debbugs.gnu.org; Fri, 11 May 2018 13:49:19 -0400
Received: from mailout11.t-online.de ([194.25.134.85]:59512)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <HBBroeker@HIDDEN>) id 1fHCAP-0002yk-DH
 for 31417 <at> debbugs.gnu.org; Fri, 11 May 2018 13:49:18 -0400
Received: from fwd32.aul.t-online.de (fwd32.aul.t-online.de [172.20.26.144])
 by mailout11.t-online.de (Postfix) with SMTP id 3865A424E14B;
 Fri, 11 May 2018 19:49:16 +0200 (CEST)
Received: from [192.168.2.28]
 (SyvCMeZbZhNxeHbwp7P3aADyW7yQyI5y3dzxETQwLVEmigE5Ge-Km-eKR9M7G6Vw1U@[91.59.11.121])
 by fwd32.t-online.de
 with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted)
 esmtp id 1fHCAL-29ALRY0; Fri, 11 May 2018 19:49:13 +0200
Subject: Re: bug#31417: Compilation failure when source directory is renamed
 to automake
To: Charles Gonnaud <charles.gonnaud@HIDDEN>, 31417 <at> debbugs.gnu.org
References: <CAHWNgy48AwxKdHB9BdEGt5hTqcLFMgWOh5hKvO_FfY84LD36Ww@HIDDEN>
From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= <HBBroeker@HIDDEN>
Message-ID: <ec1eafe4-f596-6819-fd13-d035fd933367@HIDDEN>
Date: Fri, 11 May 2018 19:49:11 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CAHWNgy48AwxKdHB9BdEGt5hTqcLFMgWOh5hKvO_FfY84LD36Ww@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: de-DE
Content-Transfer-Encoding: 7bit
X-ID: SyvCMeZbZhNxeHbwp7P3aADyW7yQyI5y3dzxETQwLVEmigE5Ge-Km-eKR9M7G6Vw1U
X-TOI-MSGID: 6c0de6b8-31a1-4f46-83f2-e2b0d014f71c
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 31417
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 11.05.2018 um 17:40 schrieb Charles Gonnaud:
> Hello all,
> 
> I encountered some difficulties today when trying to compile automake 
> 1.16.1 from the sources : automake wouldn't compile if the parent 
> directory was named automake.

[...]
> cp -r automake-1.16.1 automake

Ah, but you're not just renaming it: you're copying the whole thing, and 
throwing away the original timestamps in the process!

That's rather a different kettle of fish, because it triggers re-build 
rules that have to run automake itself, trapping you in a chicken-or-egg 
cycle.

I'm relatively sure that an actual rename would have worked better, as 
should an attribute-preserved copy:

	cp -a automake-1.16.1 automake	




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

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


Received: (at submit) by debbugs.gnu.org; 11 May 2018 16:02:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 11 12:02:59 2018
Received: from localhost ([127.0.0.1]:58644 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fHAVW-0000Xc-EG
	for submit <at> debbugs.gnu.org; Fri, 11 May 2018 12:02:59 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59180)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <charles.gonnaud@HIDDEN>) id 1fHAAL-0008TT-QR
 for submit <at> debbugs.gnu.org; Fri, 11 May 2018 11:41:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <charles.gonnaud@HIDDEN>) id 1fHAAF-0007WC-Gp
 for submit <at> debbugs.gnu.org; Fri, 11 May 2018 11:41:00 -0400
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,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:32929)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <charles.gonnaud@HIDDEN>)
 id 1fHAAF-0007W8-DQ
 for submit <at> debbugs.gnu.org; Fri, 11 May 2018 11:40:59 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50151)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <charles.gonnaud@HIDDEN>) id 1fHAAD-0001UV-UY
 for bug-automake@HIDDEN; Fri, 11 May 2018 11:40:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <charles.gonnaud@HIDDEN>) id 1fHAAC-0007VP-Tk
 for bug-automake@HIDDEN; Fri, 11 May 2018 11:40:57 -0400
Received: from mail-it0-x231.google.com ([2607:f8b0:4001:c0b::231]:35474)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <charles.gonnaud@HIDDEN>)
 id 1fHAAC-0007V8-Oh
 for bug-automake@HIDDEN; Fri, 11 May 2018 11:40:56 -0400
Received: by mail-it0-x231.google.com with SMTP id q72-v6so2695128itc.0
 for <bug-automake@HIDDEN>; Fri, 11 May 2018 08:40:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=PH08vHKOcCrq6mMphMy8xWa2DzmA5iK353ithmbMS/8=;
 b=YgWcuynsKqo8hMNknKOE3NOAKZbj3gFNDJJwRolRscT+k0cvTYmomVuaAbZA3cQN4Z
 lo36vTzjXTya5ugVJo2uQsA2oGazhshDppr/WqRhb4UdkZrFgtMR0dq8eb8Ll++Neyru
 s9YRhtKo+ztsgU10HET5yss+fSGeqcX9/OOxRfh6MRpXt9SGVM7Ceh+LOgi4tGs2doEJ
 SNFcG9yr3d/wpfhry7zSux0U2OdHM0gDfyk0145qfYBbprN/pI+0ULw4k13xvjPhfFAK
 0XMoAkGCYtRJ+tHz8x/Bi/dG7+eorgj1abFLuJDF1xcm0rSR6kfG5Lui8iBPDvYMAg0y
 TXmg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=PH08vHKOcCrq6mMphMy8xWa2DzmA5iK353ithmbMS/8=;
 b=d+t94HOKmFz/WSTaUj/SgetjPvYS2Bpldp9eIX/180DqRNJX+7cBY/uVd41r2Ya8el
 NtMYMcaMRx0LLXGGeRvkNZA/ZZRZUi6n+EKO/IrHt1BT+9WiKhQvKz8e+ynLJsAyLxYg
 mwcs+RZcEyLNyN4ycC+ll1bQgUtKIms1+aKVktaQqFXtRNZYBEak+Br4U7qkRnBznToI
 TLIKEGG0TWByFGxyb/DSFFZVGZE7mitEsLPZRfeEwNB3wW8e08etGn1YCKHh3NP58DBN
 zuuvx7SPDYH7xhSj4cdxGDVeaOvoZU72xv73lJBz32ML+0eQPSLK9p/BKvvH6LKeODi1
 gv2Q==
X-Gm-Message-State: ALKqPwfpB8os64g2jcMGHez+k13km0wRDwDpxZOQOJcBplqCq+OHBnid
 sLZGE2szTpy+u8CnNKUj4WwpMo2YBMBvsDZIJC9Bhg==
X-Google-Smtp-Source: AB8JxZpwcJPbul1eoK+8WL5cE2ARzk/SJQl1ZRqmqhtqECz+KD+SgUtY+6emmSfjK2BfmbA+YTTn9yZE45RgltReP6o=
X-Received: by 2002:a24:3555:: with SMTP id
 k82-v6mr3656926ita.49.1526053255638; 
 Fri, 11 May 2018 08:40:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a4f:5cc4:0:0:0:0:0 with HTTP; Fri, 11 May 2018 08:40:55
 -0700 (PDT)
From: Charles Gonnaud <charles.gonnaud@HIDDEN>
Date: Fri, 11 May 2018 17:40:55 +0200
Message-ID: <CAHWNgy48AwxKdHB9BdEGt5hTqcLFMgWOh5hKvO_FfY84LD36Ww@HIDDEN>
Subject: Compilation failure when source directory is renamed to automake
To: bug-automake@HIDDEN
Content-Type: multipart/alternative; boundary="00000000000036135b056beff6df"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 11 May 2018 12:02:57 -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: -5.0 (-----)

--00000000000036135b056beff6df
Content-Type: text/plain; charset="UTF-8"

Hello all,

I encountered some difficulties today when trying to compile automake
1.16.1 from the sources : automake wouldn't compile if the parent directory
was named automake.

If this is not a bug but a feature, a simple warning message would be nice
to prevent some other people from losing their mind link i did !

To reproduce the issue (one colleague of mine reproduced it):
# Code to reproduce the issue
tar -xzf automake-1.16.1.tar.gz
cp -r automake-1.16.1 automake

#This line will fail
cd automake && ./configure && make -j4

#This line will succeed
cd automake-1.16.1 && ./configure && make -j4

Error output :
[17:18:00] charles@localhost ~/dev/automake > make -j4
  GEN      t/testsuite-part.am
  GEN      m4/amversion.m4
CDPATH="${ZSH_VERSION+.}:" && cd . &&
"/home/charles/dev/automake/pre-inst-env" aclocal-1.16
/home/charles/dev/automake/pre-inst-env: line 41: exec: aclocal-1.16: not
found
make: *** [aclocal.m4] Error 127
make: *** Waiting for unfinished jobs....

Success output :
[17:18:19] charles@localhost ~/dev/automake-1.16.1 > make -j4
  GEN      bin/automake
  GEN      bin/aclocal
  GEN      t/ax/shell-no-trail-bslash
  GEN      t/ax/cc-no-c-o
  GEN      runtest
  GEN      doc/aclocal.1
  GEN      doc/automake.1
  GEN      lib/Automake/Config.pm
  GEN      t/ax/test-defs.sh
  GEN      bin/aclocal-1.16
  GEN      bin/automake-1.16
  GEN      doc/aclocal-1.16.1
  GEN      doc/automake-1.16.1

Thanks and good luck,
Charles

--00000000000036135b056beff6df
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>Hello all,<br><br></div>I encountered some diffi=
culties today when trying to compile automake 1.16.1 from the sources : aut=
omake wouldn&#39;t compile if the parent directory was named automake.</div=
><div><br></div><div>If this is not a bug but a feature, a simple warning m=
essage would be nice to prevent some other people from losing their mind li=
nk i did !<br></div><div><br></div><div>To reproduce the issue (one colleag=
ue of mine reproduced it): <br></div><div># Code to reproduce the issue<br>=
</div><div>tar -xzf automake-1.16.1.tar.gz</div><div>cp -r automake-1.16.1 =
automake</div><div><br></div><div>#This line will fail<br></div><div>cd aut=
omake &amp;&amp; ./configure &amp;&amp; make -j4<br></div><div><br></div><d=
iv>#This line will succeed</div><div><div>cd automake-1.16.1 &amp;&amp; ./c=
onfigure &amp;&amp; make -j4<br></div><div><br></div><div>Error output :</d=
iv><div>[17:18:00] charles@localhost ~/dev/automake &gt; make -j4<br>=C2=A0=
 GEN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 t/<a href=3D"http://testsuite-part.am">t=
estsuite-part.am</a><br>=C2=A0 GEN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 m4/amversi=
on.m4<br>CDPATH=3D&quot;${ZSH_VERSION+.}:&quot; &amp;&amp; cd . &amp;&amp; =
&quot;/home/charles/dev/automake/pre-inst-env&quot; aclocal-1.16 <br>/home/=
charles/dev/automake/pre-inst-env: line 41: exec: aclocal-1.16: not found<b=
r>make: *** [aclocal.m4] Error 127<br>make: *** Waiting for unfinished jobs=
....</div><div><br></div><div>Success output :</div><div>[17:18:19] charles=
@localhost ~/dev/automake-1.16.1 &gt; make -j4<br>=C2=A0 GEN=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 bin/automake<br>=C2=A0 GEN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bi=
n/aclocal<br>=C2=A0 GEN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 t/ax/shell-no-trail-b=
slash<br>=C2=A0 GEN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 t/ax/cc-no-c-o<br>=C2=A0 =
GEN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 runtest<br>=C2=A0 GEN=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 doc/aclocal.1<br>=C2=A0 GEN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 doc/=
automake.1<br>=C2=A0 GEN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 lib/Automake/Config.=
pm<br>=C2=A0 GEN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 t/ax/test-defs.sh<br>=C2=A0 =
GEN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bin/aclocal-1.16<br>=C2=A0 GEN=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 bin/automake-1.16<br>=C2=A0 GEN=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 doc/aclocal-1.16.1<br>=C2=A0 GEN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 do=
c/automake-1.16.1</div><div><br></div><div>Thanks and good luck,</div><div>=
Charles<br></div></div></div>

--00000000000036135b056beff6df--




Acknowledgement sent to Charles Gonnaud <charles.gonnaud@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#31417; 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: 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.