[LLVMbugs] [Bug 8437] New: CMake bad interaction with symbolic links (FindSubversion.cmake)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 22 08:19:59 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=8437

           Summary: CMake bad interaction with symbolic links
                    (FindSubversion.cmake)
           Product: Build scripts
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


In my setup llvm is a symbolic link to somewhere else.  This breaks the cmake
build:

  CMake Error at /usr/share/cmake-2.8/Modules/FindSubversion.cmake:70
(MESSAGE):
    Command "/usr/bin/svn info /home/duncan/LLVM/llvm" failed with output:

    svn: '/home/duncan/LLVM' is not a working copy

This is because "svn info" doesn't look through symbolic links.

Likewise, llvm/tools/clang is a symbolic link to somewhere else, causing

CMake Error at /usr/share/cmake-2.8/Modules/FindSubversion.cmake:70 (MESSAGE):

  Command "/usr/bin/svn info /home/duncan/LLVM/llvm.top/llvm/tools/clang"
  failed with output:

  /home/duncan/LLVM/llvm.top/llvm/tools/clang: (Not a versioned resource)

-- 
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