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

Previous Next

Package: automake;

Reported by: Charles Gonnaud <charles.gonnaud <at> gmail.com>

Date: Fri, 11 May 2018 16:03:02 UTC

Severity: minor

Tags: notabug

Done: Mike Frysinger <vapier <at> gentoo.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31417 in the body.
You can then email your comments to 31417 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#31417; Package automake. (Fri, 11 May 2018 16:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Charles Gonnaud <charles.gonnaud <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Fri, 11 May 2018 16:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Charles Gonnaud <charles.gonnaud <at> gmail.com>
To: bug-automake <at> gnu.org
Subject: Compilation failure when source directory is renamed to automake
Date: Fri, 11 May 2018 17:40:55 +0200
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> 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
[Message part 2 (text/html, inline)]

Information forwarded to bug-automake <at> gnu.org:
bug#31417; Package automake. (Fri, 11 May 2018 17:50:01 GMT) Full text and rfc822 format available.

Message #8 received at 31417 <at> debbugs.gnu.org (full text, mbox):

From: Hans-Bernhard Bröker <HBBroeker <at> t-online.de>
To: Charles Gonnaud <charles.gonnaud <at> gmail.com>, 31417 <at> debbugs.gnu.org
Subject: Re: bug#31417: Compilation failure when source directory is renamed
 to automake
Date: Fri, 11 May 2018 19:49:11 +0200
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	




Severity set to 'minor' from 'normal' Request was from Mike Frysinger <vapier <at> gentoo.org> to control <at> debbugs.gnu.org. (Fri, 10 Dec 2021 07:35:02 GMT) Full text and rfc822 format available.

Added tag(s) notabug. Request was from Mike Frysinger <vapier <at> gentoo.org> to control <at> debbugs.gnu.org. (Fri, 10 Dec 2021 07:35:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 31417 <at> debbugs.gnu.org and Charles Gonnaud <charles.gonnaud <at> gmail.com> Request was from Mike Frysinger <vapier <at> gentoo.org> to control <at> debbugs.gnu.org. (Fri, 10 Dec 2021 07:35:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 07 Jan 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 180 days ago.

Previous Next


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