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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30577 in the body.
You can then email your comments to 30577 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#30577; Package automake. (Thu, 22 Feb 2018 17:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adrian Sweet <adrians <at> bsquare.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Thu, 22 Feb 2018 17:30:03 GMT) Full text and rfc822 format available.

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].





Information forwarded to bug-automake <at> gnu.org:
bug#30577; Package automake. (Sat, 24 Feb 2018 13:24:01 GMT) Full text and rfc822 format available.

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

From: Mathieu Lirzin <mthl <at> gnu.org>
To: Adrian Sweet <adrians <at> bsquare.com>
Cc: 30577 <at> debbugs.gnu.org
Subject: Re: bug#30577: automake 1.15.1 path issue
Date: Sat, 24 Feb 2018 14:23:14 +0100
Hello,

Adrian Sweet <adrians <at> bsquare.com> writes:

> 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

This issue has already been reported in bug#20903, and solved in commit
fd244f28f5637e13009f75b6962d03401b22149c

The fix will be released in Automake 1.16.

Thanks for the report.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37




Forcibly Merged 20903 25299 30577. Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 24 Feb 2018 15:34:01 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. (Sun, 25 Mar 2018 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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