dev-java/qtjambi-4.5.2_p1 fails to compile USE="examples opengl -debug -doc -phonon -source -webkit -xmlpatterns" Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge -av qtjambi Actual Results: Compilation ends with: [make] x86_64-pc-linux-gnu-g++ -c -pipe -march=athlon64 -O2 -pipe -Wall -W -Wno-unused-function -D_REENTRANT -fPIC -DQT_QTJAMBI_IMPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../qtjambi -I../common -I/opt/icedtea6-bin-1.6.2/include -I/opt/icedtea6-bin-1.6.2/include/linux -I. -I../qtjambi_core -I. -o qtjambishell_QPixmapCache.o ../cpp/com_trolltech_qt_gui/qtjambishell_QPixmapCache.cpp [make] ../cpp/com_trolltech_qt_gui/qtjambishell_QPixmapCache.cpp: In function 'jboolean Java_com_trolltech_qt_gui_QPixmapCache_find__Ljava_lang_String_2Lcom_trolltech_qt_QNativePointer_2(JNIEnv*, _jclass*, _jobject*, _jobject*)': [make] ../cpp/com_trolltech_qt_gui/qtjambishell_QPixmapCache.cpp:120: error: redefinition of 'jboolean Java_com_trolltech_qt_gui_QPixmapCache_find__Ljava_lang_String_2Lcom_trolltech_qt_QNativePointer_2(JNIEnv*, _jclass*, _jobject*, _jobject*)' [make] ../cpp/com_trolltech_qt_gui/qtjambishell_QPixmapCache.cpp:99: error: 'jboolean Java_com_trolltech_qt_gui_QPixmapCache_find__Ljava_lang_String_2Lcom_trolltech_qt_QNativePointer_2(JNIEnv*, _jclass*, _jobject*, _jobject*)' previously defined here [make] make[1]: *** [qtjambishell_QPixmapCache.o] Error 1 * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 4790: Called eant '-Dqtjambi.config=release' '-Dlibrary.designer=true' '-Dgentoo.opengl=true' '-Dgentoo.phonon=false' '-Dgentoo.webkit=false' '-Dgentoo.xmlpatterns=false' 'library.native.compile' * environment, line 1097: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" Expected Results: Compile and install. GENTOO_VM=icedtea6-bin CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.6.2" JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="javac"
Created attachment 214070 [details] emerge --info =dev-java/qtjambi-4.5.2_p1
Which qt version?
(In reply to comment #2) > Which qt version? > # equery list x11-libs/qt* * Searching for qt* in x11-libs ... [IP-] [ ~] x11-libs/qt-core-4.6.0 (4) [IP-] [ ~] x11-libs/qt-dbus-4.6.0 (4) [IP-] [ ~] x11-libs/qt-gui-4.6.0-r1 (4) [IP-] [ ~] x11-libs/qt-opengl-4.6.0 (4) [IP-] [ ~] x11-libs/qt-script-4.6.0 (4) [IP-] [ ~] x11-libs/qt-sql-4.6.0 (4) [IP-] [ ~] x11-libs/qt-svg-4.6.0 (4) [IP-] [ ~] x11-libs/qt-xmlpatterns-4.6.0 (4)
This is expected, qtjambi-4.5.x isn't compatible with Qt 4.6. Unfortunately a 4.6-compatible qtjambi hasn't been released yet :( If you need qtjambi, you have to stay with qt-4.5.x until a newer version of qtjambi is available. Anyway the deps need to be fixed, I'm preparing a patch :)
Created attachment 214226 [details, diff] Patch for qtjambi-4.5.2_p1 ebuild Restrict dependencies to '=x11-libs/qt-foo-4.5*'. While at it, I also ported the ebuild to qt4-r2 eclass.
And please remove older versions from the tree :)
Committed. Thanks!
Well, the issue outlined in the summary of this bug is not really fixed... and won't be until upstream releases a new qtjambi version. I suggest marking this as "resolved upstream".