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.

Full log


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

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

Previous Next


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