[cmake-developers] [CMake 0014015]: execute_process() causing CMake to abort suddenly

Mantis Bug Tracker mantis at public.kitware.com
Fri Mar 15 07:23:31 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14015 
====================================================================== 
Reported By:                Sylwester Arabas
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14015
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-03-15 07:23 EDT
Last Modified:              2013-03-15 07:23 EDT
====================================================================== 
Summary:                    execute_process() causing CMake to abort suddenly
Description: 
Hello, here's an example causing CMake to abort suddenly without printing any
useful information.

HTH,
Sylwester

Steps to Reproduce: 
$ cat CMakeLists.txt 
execute_process(COMMAND perf stat -oo /dev/null w)
message("HERE")

$ cmake .
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
/dev/null: Permission denied
Terminated

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-03-15 07:23 Sylwester ArabasNew Issue                                    
======================================================================




More information about the cmake-developers mailing list