[cmake-developers] [CMake 0014564]: cmake did not check if generated files were really created

Mantis Bug Tracker mantis at public.kitware.com
Wed Nov 13 03:48:38 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14564 
====================================================================== 
Reported By:                porjesza
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14564
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-11-13 03:48 EST
Last Modified:              2013-11-13 03:48 EST
====================================================================== 
Summary:                    cmake did not check if generated files were really
created
Description: 
in general the cmake system assumes the files generated were really created and
saved. (sometimes) it does not check if file creation was successful and
continues processing without dropping any error message.

Steps to Reproduce: 
I tried it with mysql source tree, just run cmake as user without write
permission on the source files/directories. (you can modify permissions as
root). Try to "fix" problems by adding access right to the reported dirs/files
only and you will see a lot of misleading messages (and also sometimes there
will be no message at all).

Additional Information: 
I wanted to move the mysql sources into/under a version control system and also
wanted to add (store) the generated makefiles. 

I think the problem can be easily solved by modifying the low-level write
routines instead of checking all these issues.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-11-13 03:48 porjesza       New Issue                                    
======================================================================




More information about the cmake-developers mailing list