GNU bug report logs - #25299
'@' character in installation prefix breaks automake-1.15

Previous Next

Package: automake;

Reported by: "Brantley, Michael" <Michael.Brantley <at> deshaw.com>

Date: Fri, 30 Dec 2016 17:14:02 UTC

Severity: normal

Tags: fixed

Merged with 20903, 30577

Done: Mathieu Lirzin <mthl <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Brantley, Michael" <Michael.Brantley <at> deshaw.com>
To: 25299 <at> debbugs.gnu.org
Subject: bug#25299: '@' character in installation prefix breaks automake-1.15
Date: Fri, 30 Dec 2016 16:06:57 +0000
[Message part 1 (text/plain, inline)]
Configuring automake to install to a path containing a '@' character breaks the compilation as shown in the attached typescripts. We found that we were able to work around the bug with the following patch:

diff --git a/bin/aclocal.in b/bin/aclocal.in
index 349f24a2..c8ab8b3e 100644
--- a/bin/aclocal.in
+++ b/bin/aclocal.in
@@ -69,7 +69,7 @@ $perl_threads = 0;
# ACLOCAL_PATH environment variable, and reset with the '--system-acdir'
# option.
my @user_includes = ();
-my @automake_includes = ("@datadir@/aclocal-$APIVERSION");
+my @automake_includes = ('@datadir@/aclocal-' . $APIVERSION);
my @system_includes = ('@datadir@/aclocal');

# Whether we should copy M4 file in $user_includes[0].

In considering alternative fixes we found that we could equally address the problem by replacing the double-quoted string with '@datadir@/aclocal-@APIVERSION@', similar to the use of @APIVERSION@ on line 30, but elected to continue the use of $APIVERSION in the event that there was a specific reason for using the Perl variable in this instance.

Regards,

Michael Brantley
[Message part 2 (text/html, inline)]
[typescript.good.txt (text/plain, attachment)]
[typescript.bad.txt (text/plain, attachment)]

This bug report was last modified 7 years and 86 days ago.

Previous Next


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