[CMake] Progress above 100% when making chicken-2.6

Ken Martin ken.martin at kitware.com
Thu Jun 28 09:17:39 EDT 2007


CMake can get above 100% (or other screwy situations) in a couple odd cases,
such as killing an install done as root half way through, and then doing a
build as non-root. Basically it uses some files for tracking progress and if
they get written by root and left there (like in an aborted install) then
the user account cannot clean them out. Another case is if you do two builds
in the same tree from different processes  (not a parallel build using -j 2,
but two different make invocations in the same tree) This can also happen if
you invoke a "make" in the tree as part of a custom rule within the build.
e.g. you do a recusrive make on your own as part of a custom rule.  They are
odd cases but they could happen. I'll try adding some more error checking
for those cases at some point. 
 
 
But more specifically for your case, what target are you making?  The all
target from the top level?  Is there a /CMakeFIles/Progress directory still
lying around? Are you running just one make?  Does chicken do a recusrise
make/build as part of a custom command (e.g. invoke make directly as part of
a custom command?)
 
Thanks
Ken
 
Ken Martin PhD 
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971 
 


  _____  

From: cmake-bounces+ken.martin=kitware.com at cmake.org
[mailto:cmake-bounces+ken.martin=kitware.com at cmake.org] On Behalf Of Clark
J. Wang
Sent: Wednesday, June 27, 2007 9:59 PM
To: CMake Mailing List
Subject: [CMake] Progress above 100% when making chicken-2.6


I downloaded chicken-2.6 from
http://www.call-with-current-continuation.org/index.html and compiled it
with CMake-2.4.6. When making, the progress percentage showed more than
100%: 

... ...
[ 96%] Building C object CMakeFiles/libuchicken.dir/runtime.o
[ 98%] Building C object CMakeFiles/libuchicken.dir/match.o
[ 98%] Building C object CMakeFiles/libuchicken.dir/profiler.o
[ 98%] Building C object CMakeFiles/libuchicken.dir/scheduler.o 
[100%] Building C object CMakeFiles/libuchicken.dir/stub.o
[100%] Building C object CMakeFiles/libuchicken.dir/ueval.o
[100%] Building C object CMakeFiles/libuchicken.dir/uextras.o
[100%] Building C object CMakeFiles/libuchicken.dir/ulibrary.o 
[101%] Building C object CMakeFiles/libuchicken.dir/ulolevel.o
[101%] Building C object CMakeFiles/libuchicken.dir/uposixunix.o
/root/tmp/chicken-2.6/cmakebuild/uposixunix.c: In function 'f_5645':
/root/tmp/chicken- 2.6/cmakebuild/uposixunix.c:3591: warning: implicit
declaration of function 'getpgid'
[101%] Building C object CMakeFiles/libuchicken.dir/uregex.o
[103%] Building C object CMakeFiles/libuchicken.dir/usrfi-1.o
[103%] Building C object CMakeFiles/libuchicken.dir/usrfi- 4.o
[103%] Building C object CMakeFiles/libuchicken.dir/usrfi-13.o
[104%] Building C object CMakeFiles/libuchicken.dir/usrfi-14.o
[104%] Building C object CMakeFiles/libuchicken.dir/usrfi-18.o
[104%] Building C object CMakeFiles/libuchicken.dir/utcp.o 
[106%] Building C object CMakeFiles/libuchicken.dir/uutils.o
Linking C shared library libuchicken.so
[113%] Built target libuchicken
... ...

Interesting :-)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070628/33b5f9e8/attachment.html


More information about the CMake mailing list