GNU bug report logs - #16205
automake 1.14 chokes on file names with `='

Previous Next

Package: automake;

Reported by: Sebastian Freundt <freundt <at> ga-group.nl>

Date: Fri, 20 Dec 2013 19:20:02 UTC

Severity: wishlist

Tags: wontfix

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Sebastian Freundt <freundt <at> ga-group.nl>
Cc: 16205 <at> debbugs.gnu.org
Subject: bug#16205: automake 1.14 chokes on file names with `='
Date: Mon, 23 Dec 2013 20:10:14 +0100
tags 16205 wontfix
severity 16205 wishlist
close

On 12/20/2013 10:20 AM, Sebastian Freundt wrote:
> Consider following Makefile.am:
> noinst_PROGRAMS = footool
> footool_SOURCES = foo=bar.c
> footool_CPPFLAGS = -DVERSION=4.0
> 
> processed with automake 1.14, autoconf 2.69, yields:
> /usr/share/automake-1.14/am/depend2.am: error: bad characters in variable name 'footool-foo'
> /usr/share/automake-1.14/am/depend2.am: warning: footool-foo multiply defined in condition TRUE ...
> /usr/share/automake-1.14/am/depend2.am: ... 'footool-foo' previously defined here
> autoreconf: automake failed with exit status: 1
> 
> Other automake versions are affected as well, at least automake 1.13.1 and
> automake 1.12.6
> 
> 
> Also noteworthy the variant without CPPFLAGS seems to work:
> noinst_PROGRAMS = footool
> footool_SOURCES = foo=bar.c
> 
> $ autoreconf -fi
> $ echo $?
> 0
> 
Sorry, but I fear the real solution for this problem is: do not use
problematic characters in filenames.  I wouldn't reject a patch that
fixes your problem (assuming it wouldn't complicate the code in any
way), but I'm not going to attempt such a patch myself.  So I'm
closing this bug marking it as "Will Not Fix"; if you or anyone else
manages to write a patch with the characteristics I've required,
feel free to reopen the bug and sent the patch here.

Thanks,
  Stefano





This bug report was last modified 11 years and 150 days ago.

Previous Next


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