Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160833 - net-im/psi-0.11_pre20061231 doesn't compile
Summary: net-im/psi-0.11_pre20061231 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Przemyslaw Maciag (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-08 07:53 UTC by Ivan Yarych
Modified: 2007-02-02 20:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,3.85 KB, text/plain)
2007-01-08 07:55 UTC, Ivan Yarych
Details
psi-0.11_pre20061231.ebuild (psi-0.11_pre20061231.ebuild,3.03 KB, text/plain)
2007-01-08 21:43 UTC, Przemyslaw Maciag (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Yarych 2007-01-08 07:53:08 UTC
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
Comment 1 Ivan Yarych 2007-01-08 07:55:36 UTC
Created attachment 105985 [details]
emerge --info
Comment 2 Ivan Yarych 2007-01-08 07:56:45 UTC
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
Comment 3 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-08 21:43:01 UTC
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
Comment 4 Ivan Yarych 2007-01-09 21:45:59 UTC
After recompiling qt4 qith qt3support use flag it worked, thanks!
Comment 5 Fabiano 2007-01-31 17:12:22 UTC

(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...
Comment 6 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-31 21:48:31 UTC
(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
Comment 7 Fabiano 2007-01-31 22:16:03 UTC
(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?
Comment 8 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-31 22:24:21 UTC
(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
Comment 9 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-02-02 20:14:12 UTC
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