View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013288CMakeCCMakepublic2012-06-08 19:282016-06-10 14:31
Reporterzub 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSLinuxOS Version
Product VersionCMake 2.8.8 
Target VersionFixed in Version 
Summary0013288: ccmake screen cluttered by stray text when using the -C option
DescriptionWhen -C option (initial cache file) is used with ccmake the screen is cluttered by a stray text ("loading initial cache file"). See attached screenshot.

Looks like a stray printf breaking the otherwise curses-managed screen.

The stray message is annoying and it can obscure important fields.
Steps To Reproduce1. create an initial cmake cache file (empty file is ok)
2. create a hello world cmake project
3. run: ccmake . -Cyour-initial-cache-file
4. press 'c' to run the configure step
5. observe the stray text (pressing 'c' again causes another occurrence of the text, always at the current position of the cursor)

Or just use the attached testcase (unpack, execute ./run.sh).
TagsNo tags attached.
Attached Filespng file icon ccmake-initial-cache-bug.png [^] (31,304 bytes) 2012-06-08 19:28


gz file icon ccmake-initial-cache-testcase.tar.gz [^] (384 bytes) 2012-06-08 19:30

 Relationships

  Notes
(0029656)
David Cole (manager)
2012-06-10 10:51

This is due to the use of "cerr" in cmake::SetCacheArgs. Also happens with a malformed -D arg to ccmake:

  ccmake -Dblah .

Not sure what the best fix is for this. There may be (scripted) command line users of cmake that depend on the output being emitted on cerr for use with "cmake".

Seems like we should fix this only to avoid cerr use when being called from ccmake or cmake-gui, but not command line cmake.
(0030435)
David Cole (manager)
2012-08-11 21:42

Sending old, never assigned issues to the backlog.

(The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
(0042062)
Kitware Robot (administrator)
2016-06-10 14:28

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
2012-06-08 19:28 zub New Issue
2012-06-08 19:28 zub File Added: ccmake-initial-cache-bug.png
2012-06-08 19:30 zub File Added: ccmake-initial-cache-testcase.tar.gz
2012-06-10 10:51 David Cole Note Added: 0029656
2012-08-11 21:42 David Cole Status new => backlog
2012-08-11 21:42 David Cole Note Added: 0030435
2016-06-10 14:28 Kitware Robot Note Added: 0042062
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team