Bug#356666: ftbfs: MOC related compile errors

Max Kellermann max at duempel.org
Mon Mar 13 10:25:23 UTC 2006


Package: classpath
Version: 2:0.90-1
Tags: FTBFS
Severity: minor

/bin/sh ../../../libtool --tag=CXX --mode=compile i486-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I. -I../../../include  -I../../../include
 -I../../../native/jni/classpath -I../../../native/target/Linux
-I../../../native/target/generic  -DQT_SHARED -I/usr/include/qt4 -I
/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui   -g -O2 -c -o
slotcallbacks.lo slotcallbacks.cpp
 i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../include
-I../../../include -I../../../native/jni/classpath -I../../../native
/target/Linux -I../../../native/target/generic -DQT_SHARED
-I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
-g
 -O2 -c slotcallbacks.cpp  -fPIC -DPIC -o .libs/slotcallbacks.o
In file included from slotcallbacks.cpp:200:
slotcallbacks.moc.h:13:34: error: private/qucomextra_p.h: No such file
or directory
slotcallbacks.moc.h:15:2: error: #error "This file was generated using
the moc from 3.3.5. It"
slotcallbacks.moc.h:16:2: error: #error "cannot be used with the
include files from this version of Qt."
slotcallbacks.moc.h:17:2: error: #error "(The moc has changed too
much.)"
slotcallbacks.moc.h:20: error: no 'const char*
SlotCallback::className() const' member function declared in class
'SlotCallback'
slotcallbacks.moc.h:25: error: 'QMetaObject* SlotCallback::metaObj' is
not a static member of 'class SlotCallback'
slotcallbacks.moc.h:26: error: 'QMetaObjectCleanUp' does not name a
type
slotcallbacks.moc.h:29: error: redefinition of 'static QString
SlotCallback::tr(const char*, const char*)'
slotcallbacks.cpp:63: error: 'static QString SlotCallback::tr(const
char*, const char*)' previously defined here
slotcallbacks.moc.h: In static member function 'static QString
SlotCallback::tr(const char*, const char*)':
slotcallbacks.moc.h:32: error: cannot convert 'QString(((const
QString&)((*(QApplication*)QCoreApplication::instance()), ((const QS
tring*)(& QCoreApplication::translate(const char*, const char*, const
char*, QCoreApplication::Encoding)(s, c, DefaultCodec))))))' 
from type 'QString' to type 'QString&'
slotcallbacks.moc.h:34: error: cannot convert
'QString::fromLatin1(const char*, int)(-0x00000000000000001)' from
type 'QString' to 
type 'QString&'
slotcallbacks.moc.h: At global scope:
slotcallbacks.moc.h:37: error: redefinition of 'static QString
SlotCallback::trUtf8(const char*, const char*)'
slotcallbacks.cpp:63: error: 'static QString
SlotCallback::trUtf8(const char*, const char*)' previously defined
here
slotcallbacks.moc.h: In static member function 'static QString
SlotCallback::trUtf8(const char*, const char*)':
slotcallbacks.moc.h:40: error: cannot convert 'QString(((const
QString&)((*(QApplication*)QCoreApplication::instance()), ((const QS
tring*)(& QCoreApplication::translate(const char*, const char*, const
char*, QCoreApplication::Encoding)(s, c, UnicodeUTF8))))))' f
rom type 'QString' to type 'QString&'
slotcallbacks.moc.h:42: error: cannot convert 'QString::fromUtf8(const
char*, int)(-0x00000000000000001)' from type 'QString' to ty
pe 'QString&'
slotcallbacks.moc.h: At global scope:
slotcallbacks.moc.h:48: error: no 'QMetaObject*
SlotCallback::staticMetaObject()' member function declared in class
'SlotCallback'
slotcallbacks.moc.h: In member function 'QMetaObject*
SlotCallback::staticMetaObject()':
slotcallbacks.moc.h:50: error: 'metaObj' was not declared in this
scope
slotcallbacks.moc.h:52: error: no match for call to '(const
QMetaObject) ()'
slotcallbacks.moc.h:53: error: 'QUMethod' does not name a type
slotcallbacks.moc.h:54: error: 'QUParameter' does not name a type
slotcallbacks.moc.h:57: error: 'QUMethod' does not name a type
slotcallbacks.moc.h:58: error: 'QUParameter' does not name a type
slotcallbacks.moc.h:61: error: 'QUMethod' does not name a type
slotcallbacks.moc.h:62: error: 'QUMethod' does not name a type
slotcallbacks.moc.h:63: error: 'QUParameter' does not name a type
slotcallbacks.moc.h:66: error: 'QUMethod' does not name a type
slotcallbacks.moc.h:67: error: 'QUParameter' does not name a type
slotcallbacks.moc.h:70: error: 'QUMethod' does not name a type
slotcallbacks.moc.h:71: error: 'QMetaData' does not name a type
slotcallbacks.moc.h:79: error: 'metaObj' was not declared in this
scope
slotcallbacks.moc.h:79: error: 'new_metaobject' is not a member of
'QMetaObject'
slotcallbacks.moc.h:81: error: 'slot_tbl' was not declared in this
scope
slotcallbacks.moc.h:88: error: 'cleanUp_SlotCallback' was not declared
in this scope
slotcallbacks.moc.h: At global scope:
slotcallbacks.moc.h:92: error: no 'void* SlotCallback::qt_cast(const
char*)' member function declared in class 'SlotCallback'
slotcallbacks.moc.h: In member function 'void*
SlotCallback::qt_cast(const char*)':
slotcallbacks.moc.h:96: error: 'qt_cast' is not a member of 'QObject'
slotcallbacks.moc.h: At global scope:
slotcallbacks.moc.h:99: error: 'QUObject' has not been declared
slotcallbacks.moc.h:99: error: no 'bool SlotCallback::qt_invoke(int,
int*)' member function declared in class 'SlotCallback'
slotcallbacks.moc.h: In member function 'bool
SlotCallback::qt_invoke(int, int*)':
slotcallbacks.moc.h:101: error: 'struct QMetaObject' has no member
named 'slotOffset'
slotcallbacks.moc.h:103: error: 'static_QUType_bool' was not declared
in this scope
slotcallbacks.moc.h:104: error: 'static_QUType_int' was not declared
in this scope
slotcallbacks.moc.h:107: error: 'static_QUType_ptr' was not declared
in this scope
slotcallbacks.moc.h:109: error: 'qt_invoke' is not a member of
'QObject'
slotcallbacks.moc.h: At global scope:
slotcallbacks.moc.h:114: error: 'QUObject' has not been declared
slotcallbacks.moc.h:114: error: no 'bool SlotCallback::qt_emit(int,
int*)' member function declared in class 'SlotCallback'
slotcallbacks.moc.h: In member function 'bool
SlotCallback::qt_emit(int, int*)':
slotcallbacks.moc.h:116: error: 'qt_emit' is not a member of 'QObject'
slotcallbacks.moc.h: At global scope:
slotcallbacks.moc.h:120: error: no 'bool
SlotCallback::qt_property(int, int, QVariant*)' member function
declared in class 'SlotCallback'                 
slotcallbacks.moc.h: In member function 'bool
SlotCallback::qt_property(int, int, QVariant*)':
slotcallbacks.moc.h:122: error: 'qt_property' is not a member of
'QObject'
slotcallbacks.moc.h: At global scope:
slotcallbacks.moc.h:125: error: no 'bool
SlotCallback::qt_static_property(QObject*, int, int, QVariant*)'
member function declared in class 'SlotCallback'
make[5]: *** [slotcallbacks.lo] Error 1
make[5]: Leaving directory
`/opt/debian/build/classpath-0.90/native/jni/qt-peer'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/opt/debian/build/classpath-0.90/native/jni/qt-peer'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/opt/debian/build/classpath-0.90/native/jni'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/debian/build/classpath-0.90/native'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/debian/build/classpath-0.90'
make: *** [build-stamp] Error 2
Build command 'cd classpath-0.90 && dpkg-buildpackage -b -uc' failed.




More information about the pkg-java-maintainers mailing list