View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014417 | CMake | CMake | public | 2013-09-16 14:39 | 2016-06-10 14:31 | ||||
Reporter | Steven R Thompson | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Red Hat | OS | OS Version | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014417: "cmake --system-information sfile .." removes "x" perm from ../ and fails | ||||||||
Description | from my build subdir, I executed "cmake --system-information sinfo .." and it generated lots of error messages like this: CMake Error st CMakeLists.txt:76 (FILE): file Internal CMake error when trying to open file: /usr/people/thompson/Xdfm2/build/.. for writing Call Stck (most recent call first): CMakeLists.txt(83) (DUMP_FILE) the final error message is: CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.6) should be added to the top of the file. After running this, I was not able to execute "ls ..", due to the fact that x-permission had been removed from the parent directory. I was able to reproduce this several times, after manually restoring x-permission each time. Apparently it removes x-permission early and then cannot access the files in the parent directory, which results in all the error messages. | ||||||||
Steps To Reproduce | cmake --system-information sinfo .. | ||||||||
Additional Information | Also, despite the error about there being no cmake_minimum_required line, it is in the file ../CMakeLists.txt. I ran the command with ".." as the final argument since the man page for cmake indicates to me that it is required (and other cmake commands require a directory as an arg). Since the x-permission as removed from .., I tried running cmake without .. as an arg, and got different results. The x-permission was not removed, but I still got the warning message about cmake_minimum_required. I did get an sinfo file, so the command worked better without .. as an arg. So at this point I would say that it gives an erroneous warning, that the man page is misleading if a subdirectory is given, and that if a subdirectory is given, it should not remove x-permission. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0042366) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-09-16 14:39 | Steven R Thompson | New Issue | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042366 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |