Only works on second time

David Faure faure at kde.org
Sun Jun 18 23:20:29 CEST 2006


On Friday 14 April 2006 19:10, William A. Hoffman wrote:
> At 12:21 PM 4/14/2006, David Faure wrote:
> >Hi,
> >
> >I got this error while compiling kdelibs4_snapshot:
> >But doing make again fixed it:
> I think that ui_outputdevicechoice2.h needs to be in the sources for the target.
[...]
I don't think this problem is ui-file related. I just got the same when updating kdesupport to revision 552713
(probably from revision 551776).

First this:

[from make -j2, executed by kdesvn-build]

Executing command /d/kde/src/4/qt-copy/bin/qmake -query QT_VERSION
-- Found Qt-Version 4.1.3-snapshot-20060502
Executing command /usr/bin/pkg-config dbus-1 '>=' 0.62 --exists
Executing command /usr/bin/pkg-config dbus-1 '>=' 0.62 --variable=includedir
Executing command /usr/bin/pkg-config dbus-1 '>=' 0.62 --variable=libdir
Executing command /usr/bin/pkg-config dbus-1 '>=' 0.62 --libs
Executing command /usr/bin/pkg-config dbus-1 '>=' 0.62 --cflags
-- Found dbus-1: -L/d/kde/inst/dbusdir/lib -ldbus-1
-- debug mode enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /devel/kde/build/4/kdesupport
Scanning dependencies of target tst_headertest
Generating qdbusbus.moc
Generating qdbusconnection_p.moc
Building CXX object qt-dbus/selftests/headertest/CMakeFiles/tst_headertest.dir/tst_headertest.o
Generating qdbusabstractinterface.moc
Scanning dependencies of target dbus-qt4-1
Linking CXX executable tst_headertest
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusbus.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusconnection.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbuserror.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusintegrator.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusmessage.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusserver.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusabstractinterface.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusinterface.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusxmlparser.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusutil.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusabstractadaptor.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusinternalfilters.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusmetaobject.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusxmlgenerator.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusmisc.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusargument.o
Building CXX object qt-dbus/src/CMakeFiles/dbus-qt4-1.dir/qdbusreply.o
Linking CXX shared library libdbus-qt4-1.so
make[2]: *** No rule to make target `/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h', needed by `qt-dbus/tools/CMakeFiles/dbus.dir/dbus.o'.  Stop.
make[1]: *** [qt-dbus/tools/CMakeFiles/dbus.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable dbuscpp2xml
make: *** [all] Error 2

Then this:

-laptop- dfaure 23:13 /d/kde/build/4/kdesupport>make
makeobj[0]: Entering directory `/d/kde/build/4/kdesupport'
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/tools/CMakeFiles/dbus.dir/dbus.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/tools/CMakeFiles/dbus.dir/dbus.o".
Clearing dependencies in "qt-dbus/tools/CMakeFiles/dbus.dir/depend.make".
Clearing dependencies in "qt-dbus/tools/CMakeFiles/dbus.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/tools/CMakeFiles/dbusidl2cpp.dir/dbusidl2cpp.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/tools/CMakeFiles/dbusidl2cpp.dir/dbusidl2cpp.o".
Clearing dependencies in "qt-dbus/tools/CMakeFiles/dbusidl2cpp.dir/depend.make".
Clearing dependencies in "qt-dbus/tools/CMakeFiles/dbusidl2cpp.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/examples/CMakeFiles/chat.dir/chatadaptor.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/examples/CMakeFiles/chat.dir/chatadaptor.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/examples/CMakeFiles/chat.dir/chat.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/examples/CMakeFiles/chat.dir/chat.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/examples/CMakeFiles/chat.dir/chatinterface.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/examples/CMakeFiles/chat.dir/chatinterface.o".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/chat.dir/depend.make".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/chat.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/examples/CMakeFiles/complexping.dir/complexping.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/examples/CMakeFiles/complexping.dir/complexping.o".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/complexping.dir/depend.make".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/complexping.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/examples/CMakeFiles/complexpong.dir/complexpong.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/examples/CMakeFiles/complexpong.dir/complexpong.o".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/complexpong.dir/depend.make".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/complexpong.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/examples/CMakeFiles/hello.dir/hello.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/examples/CMakeFiles/hello.dir/hello.o".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/hello.dir/depend.make".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/hello.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/examples/CMakeFiles/listnames.dir/listnames.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/examples/CMakeFiles/listnames.dir/listnames.o".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/listnames.dir/depend.make".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/listnames.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/examples/CMakeFiles/ping.dir/ping.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/examples/CMakeFiles/ping.dir/ping.o".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/ping.dir/depend.make".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/ping.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/examples/CMakeFiles/pong.dir/pong.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/examples/CMakeFiles/pong.dir/pong.o".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/pong.dir/depend.make".
Clearing dependencies in "qt-dbus/examples/CMakeFiles/pong.dir/depend.internal".
Clearing dependencies in "qt-dbus/selftests/qdbusmetatype/CMakeFiles/tst_qdbusmetatype.dir/depend.make".
Clearing dependencies in "qt-dbus/selftests/qdbusmetatype/CMakeFiles/tst_qdbusmetatype.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/selftests/qdbusconnection/CMakeFiles/tst_qdbusconnection.dir/tst_qdbusconction.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/selftests/qdbusconnection/CMakeFiles/tst_qdbusconnectionir/tst_qdbusconnection.o".
Clearing dependencies in "qt-dbus/selftests/qdbusconnection/CMakeFiles/tst_qdbusconnection.dir/depend.make".
Clearing dependencies in "qt-dbus/selftests/qdbusconnection/CMakeFiles/tst_qdbusconnection.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/selftests/qdbusmarshall/CMakeFiles/tst_qdbusmarshall.dir/tst_qdbusmarshalo".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/selftests/qdbusmarshall/CMakeFiles/tst_qdbusmarshall.dirst_qdbusmarshall.o".
Clearing dependencies in "qt-dbus/selftests/qdbusmarshall/CMakeFiles/tst_qdbusmarshall.dir/depend.make".
Clearing dependencies in "qt-dbus/selftests/qdbusmarshall/CMakeFiles/tst_qdbusmarshall.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/selftests/qdbusmarshall/qpong/CMakeFiles/qpong.dir/qpong.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/selftests/qdbusmarshall/qpong/CMakeFiles/qpong.dir/qpong".
Clearing dependencies in "qt-dbus/selftests/qdbusmarshall/qpong/CMakeFiles/qpong.dir/depend.make".
Clearing dependencies in "qt-dbus/selftests/qdbusmarshall/qpong/CMakeFiles/qpong.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/selftests/qdbusxmlparser/CMakeFiles/tst_qdbusxmlparser.dir/tst_qdbusxmlpaer.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/selftests/qdbusxmlparser/CMakeFiles/tst_qdbusxmlparser.d/tst_qdbusxmlparser.o".
Clearing dependencies in "qt-dbus/selftests/qdbusxmlparser/CMakeFiles/tst_qdbusxmlparser.dir/depend.make".
Clearing dependencies in "qt-dbus/selftests/qdbusxmlparser/CMakeFiles/tst_qdbusxmlparser.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/selftests/qdbusinterface/CMakeFiles/tst_qdbusinterface.dir/tst_qdbusinterce.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/selftests/qdbusinterface/CMakeFiles/tst_qdbusinterface.d/tst_qdbusinterface.o".
Clearing dependencies in "qt-dbus/selftests/qdbusinterface/CMakeFiles/tst_qdbusinterface.dir/depend.make".
Clearing dependencies in "qt-dbus/selftests/qdbusinterface/CMakeFiles/tst_qdbusinterface.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/selftests/qdbusabstractadaptor/CMakeFiles/tst_qdbusabstractadaptor.dir/tsqdbusabstractadaptor.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/selftests/qdbusabstractadaptor/CMakeFiles/tst_qdbusabstrtadaptor.dir/tst_qdbusabstractadaptor.o".
Clearing dependencies in "qt-dbus/selftests/qdbusabstractadaptor/CMakeFiles/tst_qdbusabstractadaptor.dir/depend.make".
Clearing dependencies in "qt-dbus/selftests/qdbusabstractadaptor/CMakeFiles/tst_qdbusabstractadaptor.dir/depend.internal".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbus.h" is newer than depender "qt-dbus/selftests/hal/CMakeFiles/tst_hal.dir/tst_hal.o".
Dependee "/d/kde/src/4/kdesupport/qt-dbus/dbus/../src/qdbustypehelper_p.h" does not exist for depender "qt-dbus/selftests/hal/CMakeFiles/tst_hal.dir/tst_hal.o".
Clearing dependencies in "qt-dbus/selftests/hal/CMakeFiles/tst_hal.dir/depend.make".
Clearing dependencies in "qt-dbus/selftests/hal/CMakeFiles/tst_hal.dir/depend.internal".
Scanning dependencies of target dbus
Building CXX object qt-dbus/tools/CMakeFiles/dbus.dir/dbus.o
Linking CXX executable dbus                                                                                                                                             
etc. [no problems after that]

Clearly "dependee does not exist" should have been done the first time already.
Maybe the problem is due to using make -j2 the first time?

[This dependency-related output is shown because I commented out a few if(this->Verbose)
in cmDepends.cxx. Any other debug output I should enable to make it possible to understand
more about this bug?]

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).



More information about the Kde-buildsystem mailing list