I'd guess that's at least partially why it's broken. I'm also building it with gcc-4.1. >>> emerge (1 of 1) media-video/qdvdauthor-0.0.9 to / \>>> md5 files ;-) qdvdauthor-0.0.9.ebuild >>> md5 files ;-) files/digest-qdvdauthor-0.0.9 >>> md5 files ;-) files/qdvdauthor-0.0.9-nointeractive.patch >>> md5 src_uri ;-) qdvdauthor-0.0.9.tar.gz >>> Unpacking source... >>> Unpacking qdvdauthor-0.0.9.tar.gz to /var/tmp/portage/qdvdauthor-0.0.9/work * Applying qdvdauthor-0.0.9-nointeractive.patch ... [ ok ]>>> Source unpacked. *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+**+*+*+*+* *+*+ Please wait while building configurator +*+* *+*+ your graphical configuration application +*+* *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+**+*+*+*+* qt-mt configured with XINE_SUPPORT=1 MPLAYER_SUPPORT=0 VLC_SUPPORT=0 QTDIR=/usr/qt/3 QT_LIB=qt-mt Project MESSAGE: Build with Xine Support uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer uic: File generated with too old version of Qt Designer g++ -c -pipe -O2 -march=athlon-mp -fstack-protector -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.1/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I.moc -I.ui -o .obj/main.o main.cpp In file included from main.cpp:6: dvdmenu.h:23:24: error: qpopupmenu.h: No such file or directory dvdmenu.h:26:18: error: qdom.h: No such file or directory In file included from dvdmenu.h:29, from main.cpp:6: qdvdauthor.h:26:26: error: .ui/formmain.h: No such file or directory In file included from qdvdauthor.h:40, from dvdmenu.h:29, from main.cpp:6: utils.h:5:24: error: qvaluelist.h: No such file or directory utils.h:39: error: ISO C++ forbids declaration of 'QValueList' with no type utils.h:39: error: expected ';' before '<' token qdvdauthor.h:44: error: expected class-name before '{' token qdvdauthor.h:116: error: ISO C++ forbids declaration of 'QValueList' with no type qdvdauthor.h:116: error: expected ';' before '<' token qdvdauthor.h:147: error: ISO C++ forbids declaration of 'QValueList' with no type qdvdauthor.h:147: error: expected ';' before '<' token qdvdauthor.h:151: error: ISO C++ forbids declaration of 'QValueList' with no type qdvdauthor.h:151: error: expected ';' before '<' token qdvdauthor.h:154: error: ISO C++ forbids declaration of 'QValueList' with no type qdvdauthor.h:154: error: expected ';' before '<' token qdvdauthor.h:44: warning: 'class QDVDAuthor' has virtual functions but non-virtual destructor dvdmenu.h:128: error: ISO C++ forbids declaration of 'QValueList' with no type dvdmenu.h:128: error: expected ';' before '<' token dvdmenu.h:129: error: ISO C++ forbids declaration of 'QValueList' with no type dvdmenu.h:129: error: expected ';' before '<' token dvdmenu.h:133: error: ISO C++ forbids declaration of 'QValueList' with no type dvdmenu.h:133: error: expected ';' before '<' token main.cpp: In function 'int main(int, char**)': main.cpp:13: error: variable 'QTranslator qt' has initializer but incomplete type main.cpp:15: error: 'locale' is not a member of 'QTextCodec' main.cpp:22: error: 'class QDVDAuthor' has no member named 'show' make: *** [.obj/main.o] Error 1 Project MESSAGE: You need to at least specify one media player engine. I will default to MPlayer (non-lib based) /usr/qt/3/bin/uic qplayer/engines/uidialogmplayersetup.ui -o .ui/uidialogmplayersetup.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic formmain.ui -o .ui/formmain.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic qplayer/uidialogmovie.ui -o .ui/uidialogmovie.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic qslideshow/dialogslide.ui -o .ui/dialogslide.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic qslideshow/dialogimage.ui -o .ui/dialogimage.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic qplayer/uidialogchapters.ui -o .ui/uidialogchapters.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic qslideshow/uidialogcreate.ui -o .ui/uidialogcreate.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic dialogmatrix.ui -o .ui/dialogmatrix.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic dialogresize.ui -o .ui/dialogresize.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic uidialogabout.ui -o .ui/uidialogabout.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic uidialogsetup.ui -o .ui/uidialogsetup.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic uidialogframe.ui -o .ui/uidialogframe.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic dialoggeometry.ui -o .ui/dialoggeometry.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic uidialogbutton.ui -o .ui/uidialogbutton.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic uisourcewidget.ui -o .ui/uisourcewidget.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic uicommandeditor.ui -o .ui/uicommandeditor.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic uidialogtextfont.ui -o .ui/uidialogtextfont.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic uidialogmovieobject.ui -o .ui/uidialogmovieobject.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed /usr/qt/3/bin/uic uidialogrenderpreview.ui -o .ui/uidialogrenderpreview.h Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed g++ -c -O2 -march=athlon-mp -fomit-frame-pointer -pipe -march=athlon-mp -fstack-protector -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -Iqplayer/engines -I. -Iqplayer -Iqslideshow -I.moc/ -o .obj/main.o main.cpp g++ -c -O2 -march=athlon-mp -fomit-frame-pointer -pipe -march=athlon-mp -fstack-protector -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -Iqplayer/engines -I. -Iqplayer -Iqslideshow -I.moc/ -o .obj/utils.o utils.cpp g++ -c -O2 -march=athlon-mp -fomit-frame-pointer -pipe -march=athlon-mp -fstack-protector -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -Iqplayer/engines -I. -Iqplayer -Iqslideshow -I.moc/ -o .obj/global.o global.cpp g++ -c -O2 -march=athlon-mp -fomit-frame-pointer -pipe -march=athlon-mp -fstack-protector -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -Iqplayer/engines -I. -Iqplayer -Iqslideshow -I.moc/ -o .obj/execute.o execute.cppg++ -c -O2 -march=athlon-mp -fomit-frame-pointer -pipe -march=athlon-mp -fstack-protector -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -Iqplayer/engines -I. -Iqplayer -Iqslideshow -I.moc/ -o .obj/dvdinfo.o dvdinfo.cppg++ -c -O2 -march=athlon-mp -fomit-frame-pointer -pipe -march=athlon-mp -fstack-protector -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -Iqplayer/engines -I. -Iqplayer -Iqslideshow -I.moc/ -o .obj/dvdmenu.o dvdmenu.cppdvdmenu.cpp: In member function 'void DVDMenu::createMask(QString&, int, bool)':dvdmenu.cpp:1270: error: invalid cast of an rvalue expression of type 'QImage' to type 'const QImageHelper&' make: *** [.obj/dvdmenu.o] Error 1
The ebuild needs to explicity call /usr/qt/3/bin/uic and not the one that's in PATH.
The ebuild needs to explicity call /usr/qt/3/bin/uic and not the one that's in PATH. It looks to me like it's calling the correct qmake, so I don't know why it wouldn't use the right uic. But I just had a cursory glance.
I've just committed a fix, please try and see if it works now.
g++ -c -pipe -Wall -W -O2 -march=athlon-mp -fomit-frame-pointer -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -Iqplayer/engines -I. -Iqslideshow -Iqplayer -I.moc/ -o .obj/dvdmenu.o dvdmenu.cpp /usr/qt/3/include/qnetworkprotocol.h:58: warning: 'class QNetworkProtocolFactoryBase' has virtual functions but non-virtual destructor /usr/qt/3/include/qfiledialog.h:78: warning: 'class QFilePreview' has virtual functions but non-virtual destructor animationattribute.h:22: warning: 'class CallbackClass' has virtual functions but non-virtual destructor dvdmenu.cpp: In member function 'void DVDMenu::createMask(QString&, int, bool)':dvdmenu.cpp:1344: error: invalid cast of an rvalue expression of type 'QImage' to type 'const QImageHelper&' make: *** [.obj/dvdmenu.o] Error 1 But that didn't kill the build for some reason. Then later on it tried to recompile it in the install, and finally the build died.
looks more like a gcc issue than a qt4 issue now.
closing this issue as fixed.