GNU bug report logs - #12657
Can't have spaces in source files

Previous Next

Package: automake;

Reported by: Hristo Venev <mustrumr97 <at> gmail.com>

Date: Mon, 15 Oct 2012 15:57:01 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 12657 in the body.
You can then email your comments to 12657 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#12657; Package automake. (Mon, 15 Oct 2012 15:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hristo Venev <mustrumr97 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Mon, 15 Oct 2012 15:57:01 GMT) Full text and rfc822 format available.

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

From: Hristo Venev <mustrumr97 <at> gmail.com>
To: bug-automake <at> gnu.org
Subject: Can't have spaces in source files
Date: Mon, 15 Oct 2012 15:30:48 +0300
Consider the following example:
    bin_PROGRAMS = prog
    prog_SOURCES = "a file.c" "another file.c"

This doesn't work and nor does any other way I have thought of.




Information forwarded to bug-automake <at> gnu.org:
bug#12657; Package automake. (Mon, 15 Oct 2012 19:33:02 GMT) Full text and rfc822 format available.

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

From: Nick Bowler <nbowler <at> elliptictech.com>
To: Hristo Venev <mustrumr97 <at> gmail.com>
Cc: 12657 <at> debbugs.gnu.org
Subject: Re: bug#12657: Can't have spaces in source files
Date: Mon, 15 Oct 2012 15:31:10 -0400
On 2012-10-15 15:30 +0300, Hristo Venev wrote:
> Consider the following example:
>     bin_PROGRAMS = prog
>     prog_SOURCES = "a file.c" "another file.c"
> 
> This doesn't work and nor does any other way I have thought of.

Nope, it does not.  Unfortunately, make really does not work properly
with spaces in filenames, so Automake isn't going to be able to do
anything to help.  See §28.4 "Limitations on File Names" in the Automake
manual:

  https://www.gnu.org/software/automake/manual/automake.html#Limitations-on-File-Names

in particular:

  Source and installation file names like main.c are limited even
  further: they should conform to the POSIX/XOPEN rules described above

where the "POSIX/XOPEN rules" are described thusly:

  Portable packages should limit themselves to POSIX file names. These
  can contain ASCII letters and digits, ‘_’, ‘.’, and ‘-’. File names
  consist of components separated by ‘/’. File name components cannot
  begin with ‘-’. 

Cheers,
-- 
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)




Information forwarded to bug-automake <at> gnu.org:
bug#12657; Package automake. (Tue, 16 Oct 2012 08:22:02 GMT) Full text and rfc822 format available.

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

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Nick Bowler <nbowler <at> elliptictech.com>
Cc: 12657 <at> debbugs.gnu.org, Hristo Venev <mustrumr97 <at> gmail.com>
Subject: Re: bug#12657: Can't have spaces in source files
Date: Tue, 16 Oct 2012 10:19:43 +0200
tags 12657 + wontfix
close 12657
thanks

On 10/15/2012 09:31 PM, Nick Bowler wrote:
> On 2012-10-15 15:30 +0300, Hristo Venev wrote:
>> Consider the following example:
>>     bin_PROGRAMS = prog
>>     prog_SOURCES = "a file.c" "another file.c"
>>
>> This doesn't work and nor does any other way I have thought of.
> 
> Nope, it does not.  Unfortunately, make really does not work properly
> with spaces in filenames, so Automake isn't going to be able to do
> anything to help.  See §28.4 "Limitations on File Names" in the Automake
> manual:
> 
>   https://www.gnu.org/software/automake/manual/automake.html#Limitations-on-File-Names
> 
> in particular:
> 
>   Source and installation file names like main.c are limited even
>   further: they should conform to the POSIX/XOPEN rules described above
> 
> where the "POSIX/XOPEN rules" are described thusly:
> 
>   Portable packages should limit themselves to POSIX file names. These
>   can contain ASCII letters and digits, ‘_’, ‘.’, and ‘-’. File names
>   consist of components separated by ‘/’. File name components cannot
>   begin with ‘-’. 
> 
As Nick have correctly explained (BTW: thanks Nick for yet another
quick and detailed answer!), this Automake/make limitation is too much
ingrained to be removed or even tackled.  Thus I'm marling this report
as "won't fix", and closing it.

Regards,
  Stefano





Severity set to 'wishlist' from 'normal' Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 27 Oct 2012 07:23:02 GMT) Full text and rfc822 format available.

Added tag(s) wontfix. Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 27 Oct 2012 07:23:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 12657 <at> debbugs.gnu.org and Hristo Venev <mustrumr97 <at> gmail.com> Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 26 Dec 2013 14:30:06 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:05 GMT) Full text and rfc822 format available.

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

Previous Next


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