[LLVMbugs] [Bug 11451] New: LLVM can't handle spaces in directory names

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 28 20:38:47 PST 2011


             Bug #: 11451
           Summary: LLVM can't handle spaces in directory names
           Product: Build scripts
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: norse_dog at live.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When the full path to the LLVM source directory contains a space, make will
fail with a cryptic error message (on OSX Lion 10.7).


LLVM_SRC_ROOT=/Volumes/OSX Data/Projects/llvm



$ make 
Makefile:145: /Volumes/OSX/Makefile.rules: No such file or directory
make: *** No rule to make target `/Volumes/OSX/Makefile.rules'.  Stop.

The only way to fix this is to rename the Volume (ie rename to OSX_Data,
configure, builds fine).

Incredibly annoying (if the drive is used for anything but llvm) and hard to
google an answer for.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list