[LLVMbugs] [Bug 15692] New: cmake MinGW Makefiles DummyConfigureOutput.tmp and SVNVersion.inc missing

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 6 14:31:42 PDT 2013


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

            Bug ID: 15692
           Summary: cmake MinGW Makefiles DummyConfigureOutput.tmp and
                    SVNVersion.inc missing
           Product: Build scripts
           Version: 3.2
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Keywords: build-problem
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: Andre_Mikulec at Hotmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10307
  --> http://llvm.org/bugs/attachment.cgi?id=10307&action=edit
MinGW Makefiles CMakeOutput.log

llvm and clang
Checked out revisions 178956
on windows XP ( 5.1 ) using 
GNU Make 3.82
 Built for i386-pc-mingw3
Thread model: win32
gcc version 4.6.2 (GCC)

FIRST
When I try a cmake configure with my SVN executable in the path
cmake -G "MinGW Makefiles" ..\llvm

I get the following errors

-- Constructing LLVMBuild project information
CMake Error: Could not open file for write in copy operation
M:/YDrive/All_Economics/eclipse_workspace/build/DummyConfigureOutput.tmp
CMake Error: : System Error: Permission denied
CMake Error at
M:/YDrive/All_Economics/eclipse_workspace/build/LLVMBuild.cmake:290
(configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:318 (include)

-- Found Subversion: F:/Program Files/Subversion/bin/svn.exe (found version
"1.7.8")
-- Expecting header to go in
M:/YDrive/All_Economics/eclipse_workspace/build/tools/clang/lib/Basic/SVNVersion.inc
-- Configuring incomplete, errors occurred!

SECOND
When I try a cmake configure with my SVN executable in the path
cmake -G "MinGW Makefiles" ..\llvm

I get the following errors.

CMake Error: Could not open file for write in copy operation
M:/YDrive/All_Economics/eclipse_workspace/build/DummyConfigureOutput.tmp
CMake Error: : System Error: Permission denied
CMake Error at
M:/YDrive/All_Economics/eclipse_workspace/build/LLVMBuild.cmake:204
(configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:318 (include)

Expecting header to go in
M:/YDrive/All_Economics/eclipse_workspace/build/tools/clang/lib/Basic/SVNVersion.inc
Configuring incomplete, errors occurred!

But, I am logged in as "Administrator." 
I should not get "System Error: Permission denied"

I did not find "DummyConfigureOutput.tmp"

I did find "DummyConfigureOutput" with one line

    "from main import main"


If I "generate" using cmake and "MinGW Makefiles" 

I am still getting the following error

CMake Error: Could not open file for write in copy operation
M:/YDrive/All_Economics/eclipse_workspace/build/DummyConfigureOutput.tmp
CMake Error: : System Error: Permission denied
CMake Error at
M:/YDrive/All_Economics/eclipse_workspace/build/LLVMBuild.cmake:160
(configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:318 (include)

Expecting header to go in
M:/YDrive/All_Economics/eclipse_workspace/build/tools/clang/lib/Basic/SVNVersion.inc
Configuring incomplete, errors occurred!



THIRD
When I try a cmake configure without my SVN executable in the path
cmake -G "MinGW Makefiles" ..\llvm

I am still getting this error message.

Found Subversion: F:/Program Files/Subversion/bin/svn.exe (found version
"1.7.8") 
Expecting header to go in
M:/YDrive/All_Economics/eclipse_workspace/build/tools/clang/lib/Basic/SVNVersion.inc
Configuring done

When I try to "make" with "mingw32-make.exe" and  without my SVN executable in
my path

After about two hours of compiling, I get the following message

[ 73%] Building CXX object
tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/TokenKinds.cpp.obj
[ 73%] Building CXX object
tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Version.cpp.obj
M:\YDrive\All_Economics\eclipse_workspace\llvm\tools\clang\lib\Basic\Version.cpp:22:28:
fatal error: SVNVersion.inc: No such file or directory
compilation terminated.
mingw32-make.exe[2]: ***
[tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Version.cpp.obj] Error 1
mingw32-make.exe[1]: *** [tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/all]
Error 2
mingw32-make.exe: *** [all] Error 2

My lines 21 through 30 look like ...
M:\YDrive\All_Economics\eclipse_workspace\llvm\tools\clang\lib\Basic\Version.cpp

21 #ifdef HAVE_SVN_VERSION_INC
22 #  include "SVNVersion.inc"  ( HERE )
23 #endif
24 
25 namespace clang {
26 
27 std::string getClangRepositoryPath() {
28 #if defined(CLANG_REPOSITORY_STRING)
29  return CLANG_REPOSITORY_STRING;
30 #else

No file called "SVNVersion.inc" exists that directory
M:\YDrive\All_Economics\eclipse_workspace\llvm\tools\clang\lib\Basic

Do I need an SVN executable in my path?
Where is this SVNVersion.inc file?

Thank you,
Andre Mikulec
Andre_Mikulec at Hotmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130406/dc651f74/attachment.html>


More information about the llvm-bugs mailing list