[cmake-developers] [CMake 0013343]: Random Configure Failure

Mantis Bug Tracker mantis at public.kitware.com
Thu Jun 21 18:47:45 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13343 
====================================================================== 
Reported By:                michael_cow
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13343
Category:                   CMake
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-06-21 18:47 EDT
Last Modified:              2012-06-21 18:47 EDT
====================================================================== 
Summary:                    Random Configure Failure
Description: 
I am seeing similar behavior that was reported as fixed here:
http://public.kitware.com/Bug/view.php?id=12957

I attempt to configure a cmake project in windows and randomly the project will
fail with the following errror message:
Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - failed
Check for working CXX compiler using: Visual Studio 10
Check for working CXX compiler using: Visual Studio 10 -- broken
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE):
  The C++ compiler "cl" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir:
C:/workspaces/sampleproeject/build/cmake/sampleproeject/CMakeFiles/CMakeTmp

  

  Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com
  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec506066143

  

  Microsoft (R) Visual Studio Version 10.0.30319.1.

  Copyright (C) Microsoft Corp.  All rights reserved.

  1>------ Build started: Project: cmTryCompileExec506066143, Configuration:
  Debug Win32 ------

  1> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01
  for 80x86

  1> Copyright (C) Microsoft Corporation.  All rights reserved.

  1> 

  1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D
  "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise
  /Zc:wchar_t /Zc:forScope /GR /Fo"cmTryCompileExec506066143.dir\Debug\\"
 
/Fd"C:/workspaces/rmhsampleproeject/build/cmake/sampleproeject/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec506066143.pdb"
  /Gd /TP /analyze- /errorReport:prompt
 
C:\workspaces\sampleproeject\build\cmake\sampleproeject\CMakeFiles\CMakeTmp\testCXXCompiler.cxx
  /Zm1000 

  1> 

  1> testCXXCompiler.cxx

  1>LINK : fatal error LNK1201: error writing to program database
 
'C:\workspaces\sampleproeject\build\cmake\sampleproeject\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec506066143.pdb';
  check for insufficient disk space, invalid path, or insufficient privilege

  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
  ==========

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:3 (project)

Often times the second time will succeed.  Once it has passed once it is
generally ok.  The problem is that Jenkins is running CI and is not so happy
when it fails randomly.


Configuring incomplete, errors occurred!

Steps to Reproduce: 
Attempt to build on Win 7 multiple times.  Some number of attempts will fail
configure.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-06-21 18:47 michael_cow    New Issue                                    
======================================================================




More information about the cmake-developers mailing list