View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014257CMake(No Category)public2013-06-28 17:462016-06-10 14:31
Reporterthefirstdude02 
Assigned ToKitware Robot 
PrioritynormalSeveritytrivialReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformLinuxOSOpenSUSEOS Version12.3
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0014257: The compilation progress indicator always shows 38%
DescriptionWe 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 ReproduceNot known?
TagsNo tags attached.
Attached Files

 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.

 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


Copyright © 2000 - 2018 MantisBT Team