GNU bug report logs - #20903
aclocal failure when installed to prefix containing '@'

Previous Next

Package: automake;

Reported by: Eric Bavier <bavier <at> cray.com>

Date: Fri, 26 Jun 2015 15:35:02 UTC

Severity: normal

Tags: fixed

Merged with 25299, 30577

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 20903 in the body.
You can then email your comments to 20903 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#20903; Package automake. (Fri, 26 Jun 2015 15:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eric Bavier <bavier <at> cray.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Fri, 26 Jun 2015 15:35:03 GMT) Full text and rfc822 format available.

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

From: Eric Bavier <bavier <at> cray.com>
To: <bug-automake <at> gnu.org>
Subject: aclocal failure when installed to prefix containing '@'
Date: Fri, 26 Jun 2015 10:23:48 -0500
Hello Automake devs,

I have automake version 1.14.1 installed to a prefix containing the '@' 
character.  Perl version 5.10.0.  Running aclocal (through 
'autoreconf'), I get the following warnings, then failure:

Possible unintended interpolation of @4 in string at 
/ptmp/bavier/projects/spack/opt/unknown_arch/gcc <at> 4.3.4/automake <at> 1.14.1-56e69c6c/bin/aclocal 
line 72.
Possible unintended interpolation of @1 in string at 
/ptmp/bavier/projects/spack/opt/unknown_arch/gcc <at> 4.3.4/automake <at> 1.14.1-56e69c6c/bin/aclocal 
line 72.
aclocal: error: couldn't open directory 
'/ptmp/bavier/projects/spack/opt/unknown_arch/gcc.3.4/automake.14.1-56e69c6c/share/aclocal-1.14': 
No such file or directory
autoreconf: aclocal failed with exit status: 1

This seems related to perl's array interpolation in strings.  Line 72 
contains:

my @automake_includes = 
("/ptmp/bavier/projects/spack/opt/unknown_arch/gcc <at> 4.3.4/automake <at> 1.14.1-56e69c6c/share/aclocal-$APIVERSION");

Replacing the '@' characters with "\@" lets aclocal run without error.

`~Eric




Information forwarded to bug-automake <at> gnu.org:
bug#20903; Package automake. (Mon, 29 Jun 2015 09:26:02 GMT) Full text and rfc822 format available.

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

From: Thomas Jahns <jahns <at> dkrz.de>
To: bug-automake <at> gnu.org
Subject: Re: bug#20903: aclocal failure when installed to prefix containing '@'
Date: Mon, 29 Jun 2015 11:24:55 +0200
[Message part 1 (text/plain, inline)]
On 06/26/15 17:23, Eric Bavier wrote:
> This seems related to perl's array interpolation in strings.  Line 72 contains:
>
> my @automake_includes =
> ("/ptmp/bavier/projects/spack/opt/unknown_arch/gcc <at> 4.3.4/automake <at> 1.14.1-56e69c6c/share/aclocal-$APIVERSION");
>
>
> Replacing the '@' characters with "\@" lets aclocal run without error.

But the better method would be to get the desired effect without string 
interpolation here, i.e. to write something that becomes

my @automake_includes =
('/ptmp/bavier/projects/spack/opt/unknown_arch/gcc <at> 4.3.4/automake <at> 1.14.1-56e69c6c/share/aclocal-' 
. $APIVERSION);

Please see the attached (passes make check on Debian x64, but otherwise 
untested) patch

Thomas
-- 
Thomas Jahns
HD(CP)^2
Abteilung Anwendungssoftware

Deutsches Klimarechenzentrum GmbH
Bundesstraße 45a • D-20146 Hamburg • Germany

Phone:  +49 40 460094-151
Fax:    +49 40 460094-270
Email:  Thomas Jahns <jahns <at> dkrz.de>
URL:    www.dkrz.de

Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
[0001-Avoid-problematic-string-interpolation.patch.gz (application/x-gzip, attachment)]
[smime.p7s (application/pkcs7-signature, attachment)]

Information forwarded to bug-automake <at> gnu.org:
bug#20903; Package automake. (Sat, 15 Jul 2017 15:37:02 GMT) Full text and rfc822 format available.

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

From: Mathieu Lirzin <mthl <at> gnu.org>
To: Thomas Jahns <jahns <at> dkrz.de>
Cc: Eric Bavier <bavier <at> cray.com>, 20903 <at> debbugs.gnu.org
Subject: Re: bug#20903: aclocal failure when installed to prefix containing '@'
Date: Sat, 15 Jul 2017 17:36:05 +0200
Hello,

Thomas Jahns <jahns <at> dkrz.de> writes:

> On 06/26/15 17:23, Eric Bavier wrote:
>> This seems related to perl's array interpolation in strings.  Line 72 contains:
>>
>> my @automake_includes =
>> ("/ptmp/bavier/projects/spack/opt/unknown_arch/gcc <at> 4.3.4/automake <at> 1.14.1-56e69c6c/share/aclocal-$APIVERSION");
>>
>>
>> Replacing the '@' characters with "\@" lets aclocal run without error.
>
> But the better method would be to get the desired effect without
> string interpolation here, i.e. to write something that becomes
>
> my @automake_includes =
> ('/ptmp/bavier/projects/spack/opt/unknown_arch/gcc <at> 4.3.4/automake <at> 1.14.1-56e69c6c/share/aclocal-' 
> . $APIVERSION);
>
> Please see the attached (passes make check on Debian x64, but
> otherwise untested) patch

Thanks, I have applied this patch in commit
fd244f28f5637e13009f75b6962d03401b22149c in your name.

Eric: Thank you for the bug report.

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




Added tag(s) fixed. Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 15 Jul 2017 15:37:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 20903 <at> debbugs.gnu.org and Eric Bavier <bavier <at> cray.com> Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 15 Jul 2017 15:37:03 GMT) Full text and rfc822 format available.

Merged 20903 25299. Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 15 Jul 2017 16:57: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, 13 Aug 2017 11:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 24 Feb 2018 15:33:01 GMT) Full text and rfc822 format available.

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 87 days ago.

Previous Next


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