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.

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

Acknowledgement sent to Sebastian Freundt <freundt <at> ga-group.nl>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Fri, 20 Dec 2013 19:20:03 GMT) Full text and rfc822 format available.

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

From: Sebastian Freundt <freundt <at> ga-group.nl>
To: bug-automake <at> gnu.org
Subject: automake 1.14 chokes on file names with `='
Date: Fri, 20 Dec 2013 09:20:57 +0000
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





Information forwarded to bug-automake <at> gnu.org:
bug#16205; Package automake. (Mon, 23 Dec 2013 19:11:02 GMT) Full text and rfc822 format available.

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

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Sebastian Freundt <freundt <at> ga-group.nl>
Cc: 16205 <at> debbugs.gnu.org
Subject: Re: 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





Added tag(s) wontfix. Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 23 Dec 2013 19:11:03 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 23 Dec 2013 19:11:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 16205 <at> debbugs.gnu.org and Sebastian Freundt <freundt <at> ga-group.nl> Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 26 Dec 2013 14:30:04 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. (Fri, 24 Jan 2014 12:24:03 GMT) Full text and rfc822 format available.

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.