Red Hat Bugzilla – Bug 474053
Add -DCMAKE_VERBOSE_MAKEFILE=ON to %cmake
Last modified: 2009-01-21 16:37:03 EST
Created attachment 325298 [details]
Use verbose makefiles by default
I think the default %cmake macro should contain -DCMAKE_VERBOSE_MAKEFILE=ON.
"Silent" Makefiles cause problems with verifying that a build process does what we want which makes reviews harder (or the other way around, easier to miss things in package reviews). For example desired C*FLAGS in effect, desired arguments to "install" etc.
I don't know why we'd want non-verbose Makefiles for rpm package builds, but if someone comes up with a reason, verbosity could be turned off with "%cmake -DCMAKE_VERBOSE_MAKEFILE=OFF".
(Cc'ing kde-filesystem maintainers - macros.kde4 has the same "problem".)
(In reply to comment #0)
> I don't know why we'd want non-verbose Makefiles for rpm package builds, but if
> someone comes up with a reason, verbosity could be turned off with "%cmake
...that on per-package basis in specfiles, that is.
I strongly agree that this should be made default, especially because the cmake guidelines already tell to use "VERBOSE=1", which has probably the same effect.
Orion, any comment/objection?
Sounds great to me (I use VERBOSE=1 myself everywhere). Ville - can you push this through? I'm very busy at the moment.
I'll take care of it.
fixed in rawhide.
We can let it stew awhile, and consider issuing updates for releases soonish.
Thanks, Rex. Do you plan to do this also to macros.kde4 in kde-filesystem? Looks like it's not there in CVS yet.
cmake-2.6.2-3.fc9 has been submitted as an update for Fedora 9.
cmake-2.6.2-3.fc10 has been submitted as an update for Fedora 10.
cmake-2.6.2-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
cmake-2.6.2-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.