bugmake - Bugs: bug #29025, problem with odd directory names...

 
 

bug #29025: problem with odd directory names with spaces and/or parentheses

Submitter:  Ozkan Sezer <sezero>
Submitted:  Sun 28 Feb 2010 10:35:47 AM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  4.0 Operating System:  Any
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 03 Jul 2010 07:23:07 PM UTC, comment #2: 

Make doesn't support pathnames containing spaces.  That's Savannah bug #712.

The other problem is a duplicate of the just-fixed bug #28525.

Paul D. Smith <psmith>
Group administrator
Mon 01 Mar 2010 01:52:33 PM UTC, comment #1: 

FWIW, I am attaching the original SubDirSpaces directory from the
cmake test failure report at http://sourceforge.net/projects/mingw-w64/forums/forum/723798/topic/3551522
The original error message, as reported to me is the following:

"gmake[2]: Entering directory
`M:/Development/x64/cmake/Tests/SubDirSpaces'Some(x86)
Sources\CMakeFiles\testOddPath.dir\build.make:46: x86)
Sources/CMakeFiles/testOddPath.dir/depend.make): No such file or directory
Some(x86) Sources\CMakeFiles\testOddPath.dir\build.make:49: x86)
Sources/CMakeFiles/testOddPath.dir/progress.make): No such file or directory
Some(x86) Sources\CMakeFiles\testOddPath.dir\build.make:52: x86)
Sources/CMakeFiles/testOddPath.dir/flags.make): No such file or directory
gmake[2]: * No rule to make target `x86)
Sources/CMakeFiles/testOddPath.dir/flags.make)'.  Stop.
gmake[2]: Leaving directory `M:/Development/x64/cmake/Tests/SubDirSpaces'
gmake[1]: * [x86) Sources/CMakeFiles/testOddPath.dir/all)] Error 2
gmake[1]: Leaving directory `M:/Development/x64/cmake/Tests/SubDirSpaces'
gmake: * [all] Error 2"



(file #19828)

Ozkan Sezer <sezero>
Sun 28 Feb 2010 10:35:47 AM UTC, original submission:  

I was notified of this bug by someone who was trying
to build cmake-2.8.0 for mingw-w64:
http://sourceforge.net/projects/mingw-w64/forums/forum/723798/topic/3551522
I reduced the testcase to this:

ls -R SubDirSpaces
SubDirSpaces:
err.txt  Makefile  Some(x86) Sources

SubDirSpaces/Some(x86) Sources:
CMakeFiles

SubDirSpaces/Some(x86) Sources/CMakeFiles:
testOddPath.dir

SubDirSpaces/Some(x86) Sources/CMakeFiles/testOddPath.dir:
build.make

$ cd SubDirSpaces && cat Makefile
all:
$(MAKE) -f "Some(x86) Sources\CMakeFiles\testOddPath.dir\build.make" "Some(x86) Sources/CMakeFiles/testOddPath.dir/build"

$ cat Some\(x86\)\ Sources/CMakeFiles/testOddPath.dir/build.make
Some(x86)\ Sources/CMakeFiles/testOddPath.dir/build:
@echo Hey I am here!!!

With the CVS version of make (a binary for mingw-w64 is here
http://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/make/make_20100202_bin.zip/download )
.. I get this error on windows:

C:\Users\ozzie\CODE\SubDirSpaces>make
make -f "Some(x86) Sources\CMakeFiles\testOddPath.dir\build.make" "Some(x86) Sou
rces/CMakeFiles/testOddPath.dir/build"
make[1]: Entering directory `C:/Users/ozzie/CODE/SubDirSpaces'
make[1]: * No rule to make target `Some(x86) Sources/CMakeFiles/testOddPath.di
r/build'.  Stop.
make[1]: Leaving directory `C:/Users/ozzie/CODE/SubDirSpaces'
make: * [all] Error 2

However, with an earlier version of make, specifically
make-3.81-20090914-mingw32 (patched further for mingw-w64:
http://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/make/make-3.81-20100227.zip/download )
.. the process succeeds:

C:\Users\ozzie\CODE\SubDirSpaces>make
make -f "Some(x86) Sources\CMakeFiles\testOddPath.dir\build.make" "Some(x86) Sou
rces/CMakeFiles/testOddPath.dir/build"
make[1]: Entering directory `C:/Users/ozzie/CODE/SubDirSpaces'
Hey I am here!!!
make[1]: Leaving directory `C:/Users/ozzie/CODE/SubDirSpaces'

The same error with the CVS version of make also happens
on linux if I replace the backslashes with forward slashes
in the relevant places in the makefiles. I was unable to
find when the breakage occured in the CVS.

Regards.

Ozkan Sezer <sezero>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #19828:  SubDirSpaces.zip added by sezero (308KiB - application/zip - original SubDirSpaces directory from the cmake test failure on windows)
file #19814:  SubDirSpaces.tar.gz added by sezero (544B - application/x-gzip - makefiles for reproducing the described problem)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by sezero (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-03 psmith StatusNone Duplicate
        Open/ClosedOpen Closed
    2010-03-01 sezero Attached File- Added SubDirSpaces.zip, #19828
    2010-02-28 sezero Attached File- Added SubDirSpaces.tar.gz, #19814

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code