net-im/psi-0.11_pre20061231 doesn't compile for me. Reproducible: Always Steps to Reproduce: Actual Results: g++ -c -pipe -O2 -march=athlon-xp -fomit-frame-pointer -D_REENTRANT -Wall -W -DQT_STATICPLUGIN -DOSSL_097 -DHAVE_OPENSSL -DQCA_SYSTEMSTORE_PATH=\"/etc/ssl/certs/ca-certificates.crt\" -DHAVE_XSS -DHAVE_DNOTIFY -DHAVE_GETHOSTBYNAME_R -DHAVE_ASPELL -DHAVE_CONFIG -DTC_PSIFILE -DQCA_STATIC -DXMPP_TEST -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/network -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/legacy -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/tools/trayicon -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/tools/iconset -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/tools/idle -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/tools/systemwatch -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/tools/zip -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/tools/optionstree -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/tools/globalaccel -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/tools/advwidget -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/tools/spellchecker -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/tools/contactlist -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/tools/grepshortcutkeydlg -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/tools/tunecontroller -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/tools/tunecontroller/plugins/psifile -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/third-party/qca/include/QtCrypto -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/third-party/qca-gnupg/gpgproc -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/third-party/qca-gnupg -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/widgets -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/iris/libidn -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/iris/include -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/iris/xmpp-core -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/iris/xmpp-im -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/iris/jabber -I/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src/options -I/usr/include -I.moc -I.ui -o .obj/bytestream.o /var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.cpp In file included from /var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.cpp:21: /var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.h:25:23: error: q3cstring.h: No such file or directory /var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.cpp:23:21: error: Q3CString: No such file or directory /var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.h:45: error: expected ‘,’ or ‘...’ before ‘&’ token /var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.h:45: error: ISO C++ forbids declaration of ‘Q3CString’ with no type /var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.cpp:135: error: expected ‘,’ or ‘...’ before ‘&’ token /var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.cpp:135: error: ISO C++ forbids declaration of ‘Q3CString’ with no type /var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.cpp: In member function ‘void ByteStream::write(int)’: /var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.cpp:137: error: ‘cs’ was not declared in this scope /var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.cpp: At global scope: /var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.cpp:135: warning: unused parameter ‘Q3CString’ make[1]: *** [.obj/bytestream.o] Помилка 1 make[1]: Залишаю каталог "/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src" make: *** [sub-src-make_default] Помилка 2 !!! ERROR: net-im/psi-0.11_pre20061231 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile psi-0.11_pre20061231.ebuild, line 109: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. Expected Results: compiled package
Created attachment 105985 [details] emerge --info
Sorry, make[1]: *** [.obj/bytestream.o] Помилка 1 make[1]: Залишаю каталог "/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src" make: *** [sub-src-make_default] Помилка 2 should be read as make[1]: *** [.obj/bytestream.o] Error 1 make[1]: Leaving directory "/var/tmp/portage/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src" make: *** [sub-src-make_default] Error 2
Created attachment 106117 [details] psi-0.11_pre20061231.ebuild it's beacuse of missing qt3support use flag for qt4. Vanya, plz - try attached ebuild and tell me is it more verbose now. As I see, I have a little typo in ebuild ;) PS. You don't need to translate it for me ;) Cheers, Przemek
After recompiling qt4 qith qt3support use flag it worked, thanks!
(In reply to comment #4) > After recompiling qt4 qith qt3support use flag it worked, thanks! > How I do it? I guess is not with use flags...
(In reply to comment #5) > > (In reply to comment #4) > > After recompiling qt4 qith qt3support use flag it worked, thanks! > > > > How I do it? I guess is not with use flags... ~ $ emerge -pv qt These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/qt-4.2.2 USE="cups dbus* debug doc gif jpeg nas opengl png postgres qt3support sqlite sqlite3 xinerama zlib -accessibility -examples -firebird -glib -mng -mysql -nis -odbc -pch" INPUT_DEVICES="-wacom" 0 kB it _is_ qt3support use flag ;) I got some fixes to psi, which I will add today into portage Cheers, Przemek
(In reply to comment #6) > (In reply to comment #5) > > > > (In reply to comment #4) > > > After recompiling qt4 qith qt3support use flag it worked, thanks! > > > > > > > How I do it? I guess is not with use flags... > > ~ $ emerge -pv qt > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] x11-libs/qt-4.2.2 USE="cups dbus* debug doc gif jpeg nas > opengl png postgres qt3support sqlite sqlite3 xinerama zlib -accessibility > -examples -firebird -glib -mng -mysql -nis -odbc -pch" INPUT_DEVICES="-wacom" 0 > kB > > it _is_ qt3support use flag ;) > > I got some fixes to psi, which I will add today into portage > > Cheers, > Przemek > Well, sorry, I didn't see this use flag before because the stable version doesn't have it for my arch (amd64): # emerge -pv qt [ebuild R ] x11-libs/qt-4.1.4-r2 USE="cups doc jpeg mysql opengl png zlib -accessibility -debug -examples -firebird -gif -mng -nas -nis -odbc -postgres -sqlite -xinerama" 0 kB # ACCEPT_KEYWORDS=~amd64 emerge qt -vp [ebuild U ] x11-libs/qt-4.2.2 [4.1.4-r2] USE="cups doc jpeg mysql opengl png zlib -accessibility -dbus% -debug -examples -firebird -gif -glib% -mng -nas -nis -odbc -pch% -postgres -qt3support% -sqlite -sqlite3% -xinerama" INPUT_DEVICES="-wacom%" 36,754 kB With these fix you have, can I compile it without upgrade qt?
(In reply to comment #7) > With these fix you have, can I compile it without upgrade qt? I look into psi cvs log and there are some qt3/qt4 upgrades. Plz - give me some time and I'll check, is qt3support doesn't needed anymore. PS. No - although my fix is for amd64, it's not for this bug. Cheers, Przemek
Yestarday I put new snapshot in portage - should be available by now. - fix plugins compilation on amd64 - fix check was qt4 compiled with qt3support use flag - some dependency improvements Cheers, Przemek