[cmake-developers] [CMake 0015030]: Error messages from configure_file do not show the root of the problem

Mantis Bug Tracker mantis at public.kitware.com
Sun Jul 20 13:16:47 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15030 
====================================================================== 
Reported By:                Christopher Yeleighton
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15030
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-07-20 13:16 EDT
Last Modified:              2014-07-20 13:16 EDT
====================================================================== 
Summary:                    Error messages from configure_file do not show the
root of the problem
Description: 
In general, when a system-level exception happens, the exception should be
reported via a system facility like perror.  I currently get: 

/usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake(1491): 
configure_file(${kde_cmake_module_dir}/kde4_cmake_uninstall.cmake.in
${CMAKE_BINARY_DIR}/cmake_uninstall.cmake @ONLY )
CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1491
(configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindKDE4.cmake:95 (find_package)
  CMakeLists.txt:30 (FIND_PACKAGE)

This is not enough to identify the cause of the failure.

Steps to Reproduce: 
mkdir -p b/cmake_uninstall.cmake/kde4_cmake_uninstall.cmake.in &&
cd b &&
cmake ../libkexiv2-4.13.1

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-07-20 13:16 Christopher YeleightonNew Issue                                
   
======================================================================



More information about the cmake-developers mailing list