make -k not working
Thiago Macieira
thiago at kde.org
Wed Mar 29 19:38:07 CEST 2006
I've also noticed that make -k isn't working in the cmake builds. Whenever
it finds an error, it halts the compilation completely, instead of
ignoring (like I told it to). What's even more interesting, going to
another directory, completely unrelated to the error, also doesn't work.
Also, it's quite possible that the dependencies are blocking a full
parallel build, since the inability to link one library is stopping the
build to proceed and compile the next library's source files.
Here's what I'm seeing:
$ make
Building CXX object kdeui/CMakeFiles/kdeui.dir/kprogressdialog.o
[ error message ]
make[2]: *** [kdeui/CMakeFiles/kdeui.dir/kprogressdialog.o] Error 1
make[1]: *** [kdeui/CMakeFiles/kdeui.dir/all] Error 2
make: *** [all] Error 2
$ make -k
Building CXX object kdeui/CMakeFiles/kdeui.dir/kprogressdialog.o
[ error message ]
make[2]: *** [kdeui/CMakeFiles/kdeui.dir/kprogressdialog.o] Error 1
make[2]: Target `kdeui/CMakeFiles/kdeui.dir/build' not remade because of
errors.
make[1]: *** [kdeui/CMakeFiles/kdeui.dir/all] Error 2
make[1]: Target `all' not remade because of errors.
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.
$ make -C khtml
make: Entering directory `/home/tjmaciei/obj/kde4/KDE/kdelibs/khtml'
make[1]: Entering directory `/home/tjmaciei/obj/kde4/KDE/kdelibs'
make[2]: Entering directory `/home/tjmaciei/obj/kde4/KDE/kdelibs'
Building CXX object kdeui/CMakeFiles/kdeui.dir/kprogressdialog.o
[ error message ]
make[2]: *** [kdeui/CMakeFiles/kdeui.dir/kprogressdialog.o] Error 1
make[2]: Leaving directory `/home/tjmaciei/obj/kde4/KDE/kdelibs'
make[1]: *** [kdeui/CMakeFiles/kdeui.dir/all] Error 2
make[1]: Leaving directory `/home/tjmaciei/obj/kde4/KDE/kdelibs'
make: *** [all] Error 2
make: Leaving directory `/home/tjmaciei/obj/kde4/KDE/kdelibs/khtml'
$ make -k -C khtml
make: Entering directory `/home/tjmaciei/obj/kde4/KDE/kdelibs/khtml'
make[1]: Entering directory `/home/tjmaciei/obj/kde4/KDE/kdelibs'
make[2]: Entering directory `/home/tjmaciei/obj/kde4/KDE/kdelibs'
Building CXX object kdeui/CMakeFiles/kdeui.dir/kprogressdialog.o
[ error message ]
make[2]: *** [kdeui/CMakeFiles/kdeui.dir/kprogressdialog.o] Error 1
make[2]: Target `kdeui/CMakeFiles/kdeui.dir/build' not remade because of
errors.
make[2]: Leaving directory `/home/tjmaciei/obj/kde4/KDE/kdelibs'
make[1]: *** [kdeui/CMakeFiles/kdeui.dir/all] Error 2
make[1]: Target `khtml/all' not remade because of errors.
make[1]: Leaving directory `/home/tjmaciei/obj/kde4/KDE/kdelibs'
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.
make: Leaving directory `/home/tjmaciei/obj/kde4/KDE/kdelibs/khtml'
PS: I've fixed the bug in kprogressdialog.cpp already. Use svnrevertlast
to reproduce.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
thiago.macieira (AT) trolltech.com Trolltech AS
GPG: 0x6EF45358 | Sandakerveien 116,
E067 918B B660 DBD1 105C | NO-0402
966C 33F5 F005 6EF4 5358 | Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060329/b5edae42/attachment.pgp
More information about the Kde-buildsystem
mailing list