GNU bug report logs - #30577
automake 1.15.1 path issue

Previous Next

Package: automake;

Reported by: Adrian Sweet <adrians <at> bsquare.com>

Date: Thu, 22 Feb 2018 17:30:02 UTC

Severity: normal

Tags: fixed

Merged with 20903, 25299

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

Bug is archived. No further changes may be made.

Full log


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

From: Adrian Sweet <adrians <at> bsquare.com>
To: bug-automake <at> gnu.org
Subject: automake 1.15.1 path issue
Date: Thu, 22 Feb 2018 17:12:08 +0000
Hi,


I've installed automake 1.15.1 into a path containing the @ symbol 
(Jenkins pipeline build), on running aclocal in my package the script 
fails with a perl error:


Setting up aclocal
Possible unintended interpolation of @1 in string at /tmp/@1/bin/aclocal 
line 72.
aclocal: error: couldn't open directory '/tmp//share/aclocal-1.15': No 
such file or directory


Looking at aclocal line 72 I believe the path has been enclosed in the 
incorrect quotes, I've included a patch below which resolves the issue.


diff -Naur aaa/bin/aclocal.in bbb/bin/aclocal.in
--- aaa/bin/aclocal.in  2017-06-17 02:28:31.000000000 +0100
+++ bbb/bin/aclocal.in  2018-02-22 15:58:58.642816923 +0000
@@ -69,7 +69,7 @@
 # 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].





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

Previous Next


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