View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014257 | CMake | (No Category) | public | 2013-06-28 17:46 | 2016-06-10 14:31 | ||||
Reporter | thefirstdude02 | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | trivial | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | Linux | OS | OpenSUSE | OS Version | 12.3 | ||||
Product Version | CMake 2.8.10.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014257: The compilation progress indicator always shows 38% | ||||||||
Description | We had a large project which repeatedly hit a compiler or linker error at 38%. The build is managed by CMake, and worked correctly before we introduced the bugs that caused the aforementioned compiler/linker errors. We finally fixed the bugs in our code, then re-ran CMake (clearing its cache), ran make clean, and then ran make. We were very confused to see the progress indicator always read 38% throughout the compile and link process. We terminated compilation and did another make clean. We then allowed make to run all the way through --- and the build ran successfully from start to finish. However, at every single step along the way, the progress was reported as 38%. The build works completely fine, just the progress indicator only ever reads 38%. | ||||||||
Steps To Reproduce | Not known? | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0033404) Brad King (manager) 2013-06-28 18:49 |
The progress indicator is approximate and based on the expected total number of actions and some progress stamp files left behind by some build rules because the make tool does not really support progress. Sometimes it gets confused when interrupted because the stamp files are left in an inconsistent state. Removing the CMakeCache.txt and running "make clean" is not enough to produce a fresh build tree. You also need to remove CMakeFiles. The simplest method is to always use out-of-source build so you can wipe out the entire directory. I suggest using the Ninja generator if you want native progress support and a more modern build tool. Its builds tend to be faster too. |
(0042306) 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-06-28 17:46 | thefirstdude02 | New Issue | |
2013-06-28 18:49 | Brad King | Note Added: 0033404 | |
2013-06-28 18:49 | Brad King | Status | new => backlog |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042306 | |
2016-06-10 14:29 | Kitware Robot | Status | backlog => 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 |