<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - cmake MinGW Makefiles DummyConfigureOutput.tmp and SVNVersion.inc missing"
href="http://llvm.org/bugs/show_bug.cgi?id=15692">15692</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>cmake MinGW Makefiles DummyConfigureOutput.tmp and SVNVersion.inc missing
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</td>
</tr>
<tr>
<th>Version</th>
<td>3.2
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows XP
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Keywords</th>
<td>build-problem
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Andre_Mikulec@Hotmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=10307" name="attach_10307" title="MinGW Makefiles CMakeOutput.log">attachment 10307</a> <a href="attachment.cgi?id=10307&action=edit" title="MinGW Makefiles CMakeOutput.log">[details]</a></span>
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
<a href="mailto:Andre_Mikulec@Hotmail.com">Andre_Mikulec@Hotmail.com</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>