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

2006-05-15 Thread Michael Koch
tag 356663 pending confirmed
thanks

On Mon, Mar 13, 2006 at 12:10:44PM +0200, Timo Juhani Lindfors wrote:
 Package: classpath
 Version: 2:0.90-1
 Severity: serious
 Justification: no longer builds from source

The problem is that Timo had QT3 and QT4 moc installed and the
configure script used the wrong one. I fixed this locally and will do an
upload soon.

Thanks for the report.


Cheers,
Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2006-03-13 Thread Timo Juhani Lindfors
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)(-0x1)' 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)(-0x1)' 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