Bug#356663: FTBFS: slotcallbacks.moc.h:13:34: error: private/qucomextra_p.h: No such file or directory

Timo Juhani Lindfors timo.lindfors at iki.fi
Mon Mar 13 10:10:44 UTC 2006


Package: classpath
Version: 2:0.90-1
Severity: serious
Justification: no longer builds from source

Steps to reproduce:
1) sudo apt-get build-dep classpath
2) fakeroot apt-get --build source classpath

Expected results
2) Build should succeed and produce packages to the current directory.

Actual results:
2) Build fails with the following messages and does not produce any packages:

/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 qtvolatileimage.lo qtvolatileimage.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 qtvolatileimage.cpp  -fPIC -DPIC -o .libs/qtvolatileimage.o
/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 qtwindowpeer.lo qtwindowpeer.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 qtwindowpeer.cpp  -fPIC -DPIC -o .libs/qtwindowpeer.o
/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 QString*)(& 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 QString*)(& QCoreApplication::translate(const char*, const char*, const char*, QCoreApplication::Encoding)(s, c, UnicodeUTF8))))))' from type 'QString' to type 'QString&'
slotcallbacks.moc.h:42: error: cannot convert 'QString::fromUtf8(const char*, int)(-0x00000000000000001)' from type 'QString' to type '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 `/home/lindi/debian/debian-classpath/classpath-0.90/native/jni/qt-peer'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/lindi/debian/debian-classpath/classpath-0.90/native/jni/qt-peer'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/lindi/debian/debian-classpath/classpath-0.90/native/jni'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lindi/debian/debian-classpath/classpath-0.90/native'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lindi/debian/debian-classpath/classpath-0.90'
make: *** [build-stamp] Error 2
Build command 'cd classpath-0.90 && dpkg-buildpackage -b -uc' failed.
E: Child process failed


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.29sauna
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)

Versions of packages classpath depends on:
ii  classpath-common          2:0.90-1       architecture independent files
ii  libasound2                1.0.10-2       ALSA library
ii  libatk1.0-0               1.10.3-1       The ATK accessibility toolkit
ii  libaudio2                 1.7-5          The Network Audio System (NAS). (s
ii  libc6                     2.3.6-3        GNU C Library: Shared libraries an
ii  libcairo2                 1.0.2-3        The Cairo 2D vector graphics libra
ii  libfontconfig1            2.3.2-5        generic font configuration library
ii  libfreetype6              2.1.10-1.1     FreeType 2 font engine, shared lib
ii  libgcc1                   1:4.0.3-1      GCC support library
ii  libgcj-common             1:4.0.2-9      Java runtime library (common files
ii  libglib2.0-0              2.8.6-1        The GLib library of C routines
ii  libgtk2.0-0               2.8.13-1       The GTK+ graphical user interface 
ii  libice6                   6.9.0.dfsg.1-4 Inter-Client Exchange library
ii  libjack0.100.0-0          0.100.7-1      JACK Audio Connection Kit (librari
ii  libpango1.0-0             1.10.4-1       Layout and rendering of internatio
ii  libpng12-0                1.2.8rel-5     PNG library - runtime
ii  libqt4-core               4.1.1-1        Qt 4 core non-GUI functionality ru
ii  libqt4-gui                4.1.1-1        Qt 4 core GUI functionality runtim
ii  libsm6                    6.9.0.dfsg.1-4 X Window System Session Management
ii  libstdc++6                4.0.3-1        The GNU Standard C++ Library v3
ii  libx11-6                  6.9.0.dfsg.1-4 X Window System protocol client li
ii  libxext6                  6.9.0.dfsg.1-4 X Window System miscellaneous exte
ii  libxi6                    6.9.0.dfsg.1-4 X Window System Input extension li
ii  libxinerama1              6.9.0.dfsg.1-4 X Window System multi-head display
ii  libxrandr2                6.9.0.dfsg.1-4 X Window System Resize, Rotate and
ii  libxrender1               1:0.9.0.2-1    X Rendering Extension client libra
ii  libxt6                    6.9.0.dfsg.1-4 X Toolkit Intrinsics
ii  libxtst6                  6.9.0.dfsg.1-4 X Window System event recording an
ii  zlib1g                    1:1.2.3-11     compression library - runtime

classpath recommends no packages.

-- no debconf information




More information about the pkg-java-maintainers mailing list