Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158285 - net-im/psi-0.11_beta4 doesn't compile (it crashed on libjingle)
Summary: net-im/psi-0.11_beta4 doesn't compile (it crashed on libjingle)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Przemyslaw Maciag (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-16 05:39 UTC by Milan Vít
Modified: 2007-01-01 15:09 UTC (History)
1 user (show)

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


Attachments
Modified psi ebuild (psi-0.11_beta4-r1.ebuild,2.13 KB, application/octet-stream)
2006-12-16 05:41 UTC, Milan Vít
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Vít 2006-12-16 05:39:34 UTC
make[1]: Leaving directory `/var/tmp/portage/net-im/psi-0.11_beta4/work/psi-0.11-beta4/third-party/libjingle'
g++ -c -pipe -O2 -D_REENTRANT -Wall -W  -DQT_STATICPLUGIN -DOSSL_097 -DHAVE_OPENSSL -DQCA_SYSTEMSTORE_PATH=\"/etc/ssl/certs/ca-certificates.crt\" -DHAVE_DNOTIFY -DHAVE_GETHOSTBYNAME_R -DHAVE_SPEEX -DHAVE_ORTP -DHAVE_ALSA_ASOUNDLIB_H -D__ALSA_ENABLED__ -DHAVE_GLIB -DPSI_PLUGINS -DHAVE_CONFIG -DTC_PSIFILE -DQCA_STATIC -DHAVE_JINGLE -DPOSIX -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. -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/usr/include/speex -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../cutestuff/util -I../cutestuff/network -I../cutestuff/legacy -Itools/trayicon -Itools/iconset -Itools/idle -Itools/systemwatch -Itools/zip -Itools/optionstree -Itools/globalaccel -Itools/advwidget -Itools/spellchecker -Itools/contactlist -Itools/tunecontroller -Itools/tunecontroller/plugins/psifile -I../third-party/qca/include/QtCrypto -I../third-party/qca-gnupg/gpgproc -I../third-party/qca-gnupg -Iwidgets -I../third-party/libjingle -I../iris/libidn -I../iris/include -I../iris/xmpp-core -I../iris/xmpp-im -I../iris/jabber -Ioptions -I/usr/include -I.moc -I.ui -o .obj/bsocket.o ../cutestuff/network/bsocket.cpp
../cutestuff/util/bytestream.h:45: error: expected ‘,’ or ‘...’ before ‘&’ token
../cutestuff/util/bytestream.h:45: error: ISO C++ forbids declaration of ‘Q3CString’ with no type
../cutestuff/util/bytestream.cpp:135: error: expected ‘,’ or ‘...’ before ‘&’ token
../cutestuff/util/bytestream.cpp:135: error: ISO C++ forbids declaration of ‘Q3CString’ with no type
../cutestuff/util/bytestream.cpp: In member function ‘void ByteStream::write(int)’:
../cutestuff/util/bytestream.cpp:137: error: ‘cs’ was not declared in this scope
../cutestuff/util/bytestream.cpp: At global scope:
../cutestuff/util/bytestream.cpp:135: warning: unused parameter ‘Q3CString’
make[1]: *** [.obj/bytestream.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ../cutestuff/network/bsocket.h:26,
                 from ../cutestuff/network/bsocket.cpp:24:
../cutestuff/util/bytestream.h:25:23: error: q3cstring.h: No such file or directory
In file included from ../cutestuff/network/bsocket.cpp:30:
../cutestuff/legacy/srvresolver.h:25:19: error: q3dns.h: No such file or directory
../cutestuff/util/bytestream.h:45: error: expected ‘,’ or ‘...’ before ‘&’ token
../cutestuff/util/bytestream.h:45: error: ISO C++ forbids declaration of ‘Q3CString’ with no type
../cutestuff/legacy/srvresolver.h:42: error: ‘Q3Dns’ has not been declared
../cutestuff/legacy/srvresolver.h:42: error: template argument 1 is invalid
make[1]: *** [.obj/bsocket.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-im/psi-0.11_beta4/work/psi-0.11-beta4/src'
make: *** [sub-src-make_default] Error 2

!!! ERROR: net-im/psi-0.11_beta4 failed.
Call stack:
  ebuild.sh, line 1576:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  psi-0.11_beta4.ebuild, line 67:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Reproducible: Always
Steps to Reproduce: Unmask psi-0.11_beta4 and emerge it

In my humble opinion, this happens due libjingle, so I have tried to modify ebuild (I'll attach it) and compile psi with --disable-jingle (and --disable-plugins, btw) option, but it doesn't solve anything:

g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT  -DQCA_STATIC -DBOTAN_TYPES_QT -DBOTAN_NO_INIT_H -DBOTAN_NO_CONF_H -DBOTAN_TOOLS_ONLY -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_VECTOR_OVER_ALLOCATE=4 -DOSSL_097 -DHAVE_OPENSSL -DQCA_SYSTEMSTORE_PATH=\"/etc/ssl/certs/ca-certificates.crt\" -DHAVE_DNOTIFY -DHAVE_GETHOSTBYNAME_R -DHAVE_CONFIG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iinclude/QtCrypto -I. -Ibotantools/botan -I.moc -I. -o .obj/moc_dirwatch_p.o .moc/moc_dirwatch_p.cpp
rm -f libqca_psi.a
ar cqs libqca_psi.a .obj/util.o .obj/exceptn.o .obj/mutex.o .obj/mux_qt.o .obj/secalloc.o .obj/defalloc.o .obj/allocate.o .obj/mp_core.o .obj/mp_comba.o .obj/mp_fkmul.o .obj/mp_mul.o .obj/mp_smul.o .obj/mp_shift.o .obj/mp_misc.o .obj/numthry.o .obj/divide.o .obj/big_base.o .obj/big_code.o .obj/big_io.o .obj/big_ops2.o .obj/big_ops3.o .obj/mlock.o .obj/mmap_mem.o .obj/synchronizer.o .obj/dirwatch.o .obj/dirwatch_unix.o .obj/qca_tools.o .obj/qca_core.o .obj/qca_textfilter.o .obj/qca_plugin.o .obj/qca_basic.o .obj/qca_publickey.o .obj/qca_cert.o .obj/qca_keystore.o .obj/qca_securelayer.o .obj/qca_securemessage.o .obj/qca_default.o .obj/qpipe.o .obj/console.o .obj/qca_systemstore_flatfile.o .obj/moc_qca_support.o .obj/moc_qca_core.o .obj/moc_qca_publickey.o .obj/moc_qca_keystore.o .obj/moc_qca_securelayer.o .obj/moc_qca_securemessage.o .obj/moc_qcaprovider.o .obj/moc_qpipe.o .obj/moc_dirwatch_p.o
make[1]: Leaving directory `/var/tmp/portage/net-im/psi-0.11_beta4-r1/work/psi-0.11-beta4/third-party/qca'

!!! ERROR: net-im/psi-0.11_beta4-r1 failed.
Call stack:
  ebuild.sh, line 1576:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  psi-0.11_beta4-r1.ebuild, line 67:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'
Comment 1 Milan Vít 2006-12-16 05:41:05 UTC
Created attachment 104128 [details]
Modified psi ebuild
Comment 2 Milan Vít 2006-12-16 05:42:44 UTC
And finally, my emerge --info is here:

Portage 2.1.2_rc3-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-suspend2 i686)
=================================================================
System uname: 2.6.18-suspend2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.7
Last Sync: Sat, 16 Dec 2006 06:50:02 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/wildfire/resources/security/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/gentopia /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/sunrise /usr/portage/local/layman/vmware /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/xeffects /usr/portage/local/layman/xeffects-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 asf bitmap-fonts cdr cli cracklib crypt cups curl dlloader dri dvd dvdr dvdread elibc_glibc encode esd fortran gd gdbm gif gpm hal iconv imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kdehiddenvisibility kernel_linux libg++ mad mmx mpeg ncurses nls nptl nptlonly nvidia ogg opengl pam pcre pdf perl pic png postgres pppd python qt qt3 qt4 quicktime readline reflection sdl session spl sse sse2 ssl svg tcpd theora timidity truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia vorbis win32codecs xcomposite xine xml xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Kazuo Teramoto 2006-12-18 06:49:18 UTC
I second that, with the same error. This is my emerge --info
---
Portage 2.1.2_rc3-r6 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r1 x86_64 AMD Turion(tm) 64 Mobile Technology ML-34
Gentoo Base System version 1.12.7
Last Sync: Mon, 18 Dec 2006 14:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon64 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://mirror.phy.olemiss.edu/mirror/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en pt_BR"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/sci-gentoo /usr/local/overlays/musicbrainz-overlay /usr/local/overlays/xgl-coffee /usr/local/overlays/einit-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acl acpi alsa alsa_cards_atiixp apache2 audiofile bash-completion berkdb bitmap-fonts blas bluetooth bzip2 cairo cdr cjk cli cracklib crypt cups dbus dga dlloader doc dri dv dvd dvdr dvdread eds elibc_glibc emboss emul-linux-x86 encode esd exif fam ffmpeg fftw firefox flac fortran ftp gcj gd gdbm gif gmp gnutls gpm gsl gstreamer gtk gtk2 hal iconv ieee1394 imagemagick imlib immqt-bc input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog javascript jingle jpeg kde kdehiddenvisibility kernel_linux kipi lapack lcms ldap libg++ linguas_en linguas_pt_BR lua mad matroska mikmod mp3 mpeg mpi ncurses nls nowin nptl nptlonly ogg opengl oss pam pcmcia pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session slang spell spl sqlite sqlite3 sse3 ssl svg tcltk tcpd tetex threads truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_fbdev video_cards_radeon video_cards_vesa vim-pager vim-with-x visualization vorbis wifi xcomposite xml xml2 xorg xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Rudolf Mayerhofer 2006-12-23 13:46:20 UTC
(In reply to comment #0)
> make[1]: Leaving directory
> `/var/tmp/portage/net-im/psi-0.11_beta4/work/psi-0.11-beta4/third-party/libjingle'
> g++ -c -pipe -O2 -D_REENTRANT -Wall -W  -DQT_STATICPLUGIN -DOSSL_097
> -DHAVE_OPENSSL -DQCA_SYSTEMSTORE_PATH=\"/etc/ssl/certs/ca-certificates.crt\"
> -DHAVE_DNOTIFY -DHAVE_GETHOSTBYNAME_R -DHAVE_SPEEX -DHAVE_ORTP
> -DHAVE_ALSA_ASOUNDLIB_H -D__ALSA_ENABLED__ -DHAVE_GLIB -DPSI_PLUGINS
> -DHAVE_CONFIG -DTC_PSIFILE -DQCA_STATIC -DHAVE_JINGLE -DPOSIX -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. -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/usr/include/speex -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I../cutestuff/util -I../cutestuff/network -I../cutestuff/legacy
> -Itools/trayicon -Itools/iconset -Itools/idle -Itools/systemwatch -Itools/zip
> -Itools/optionstree -Itools/globalaccel -Itools/advwidget -Itools/spellchecker
> -Itools/contactlist -Itools/tunecontroller
> -Itools/tunecontroller/plugins/psifile -I../third-party/qca/include/QtCrypto
> -I../third-party/qca-gnupg/gpgproc -I../third-party/qca-gnupg -Iwidgets
> -I../third-party/libjingle -I../iris/libidn -I../iris/include
> -I../iris/xmpp-core -I../iris/xmpp-im -I../iris/jabber -Ioptions -I/usr/include
> -I.moc -I.ui -o .obj/bsocket.o ../cutestuff/network/bsocket.cpp
> ../cutestuff/util/bytestream.h:45: error: expected ‘,’ or
> ‘...’ before ‘&’ token
> ../cutestuff/util/bytestream.h:45: error: ISO C++ forbids declaration of
> ‘Q3CString’ with no type
> ../cutestuff/util/bytestream.cpp:135: error: expected ‘,’ or
> ‘...’ before ‘&’ token
> ../cutestuff/util/bytestream.cpp:135: error: ISO C++ forbids declaration of
> ‘Q3CString’ with no type
> ../cutestuff/util/bytestream.cpp: In member function ‘void
> ByteStream::write(int)’:
> ../cutestuff/util/bytestream.cpp:137: error: ‘cs’ was not declared
> in this scope
> ../cutestuff/util/bytestream.cpp: At global scope:
> ../cutestuff/util/bytestream.cpp:135: warning: unused parameter
> ‘Q3CString’
> make[1]: *** [.obj/bytestream.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> In file included from ../cutestuff/network/bsocket.h:26,
>                  from ../cutestuff/network/bsocket.cpp:24:
> ../cutestuff/util/bytestream.h:25:23: error: q3cstring.h: No such file or
> directory
> In file included from ../cutestuff/network/bsocket.cpp:30:
> ../cutestuff/legacy/srvresolver.h:25:19: error: q3dns.h: No such file or
> directory
> ../cutestuff/util/bytestream.h:45: error: expected ‘,’ or
> ‘...’ before ‘&’ token
> ../cutestuff/util/bytestream.h:45: error: ISO C++ forbids declaration of
> ‘Q3CString’ with no type
> ../cutestuff/legacy/srvresolver.h:42: error: ‘Q3Dns’ has not been
> declared
> ../cutestuff/legacy/srvresolver.h:42: error: template argument 1 is invalid
> make[1]: *** [.obj/bsocket.o] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/net-im/psi-0.11_beta4/work/psi-0.11-beta4/src'
> make: *** [sub-src-make_default] Error 2
> 
> !!! ERROR: net-im/psi-0.11_beta4 failed.
> Call stack:
>   ebuild.sh, line 1576:   Called dyn_compile
>   ebuild.sh, line 945:   Called src_compile
>   psi-0.11_beta4.ebuild, line 67:   Called die
> 
> !!! make failed
> !!! If you need support, post the topmost build error, and the call stack if
> relevant.
> 
> Reproducible: Always
> Steps to Reproduce: Unmask psi-0.11_beta4 and emerge it
> 
> In my humble opinion, this happens due libjingle, so I have tried to modify
> ebuild (I'll attach it) and compile psi with --disable-jingle (and
> --disable-plugins, btw) option, but it doesn't solve anything:
> 
> g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT  -DQCA_STATIC -DBOTAN_TYPES_QT
> -DBOTAN_NO_INIT_H -DBOTAN_NO_CONF_H -DBOTAN_TOOLS_ONLY -DBOTAN_MINIMAL_BIGINT
> -DBOTAN_MP_WORD_BITS=32 -DBOTAN_VECTOR_OVER_ALLOCATE=4 -DOSSL_097
> -DHAVE_OPENSSL -DQCA_SYSTEMSTORE_PATH=\"/etc/ssl/certs/ca-certificates.crt\"
> -DHAVE_DNOTIFY -DHAVE_GETHOSTBYNAME_R -DHAVE_CONFIG -DQT_NO_DEBUG -DQT_CORE_LIB
> -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iinclude/QtCrypto -I.
> -Ibotantools/botan -I.moc -I. -o .obj/moc_dirwatch_p.o .moc/moc_dirwatch_p.cpp
> rm -f libqca_psi.a
> ar cqs libqca_psi.a .obj/util.o .obj/exceptn.o .obj/mutex.o .obj/mux_qt.o
> .obj/secalloc.o .obj/defalloc.o .obj/allocate.o .obj/mp_core.o .obj/mp_comba.o
> .obj/mp_fkmul.o .obj/mp_mul.o .obj/mp_smul.o .obj/mp_shift.o .obj/mp_misc.o
> .obj/numthry.o .obj/divide.o .obj/big_base.o .obj/big_code.o .obj/big_io.o
> .obj/big_ops2.o .obj/big_ops3.o .obj/mlock.o .obj/mmap_mem.o
> .obj/synchronizer.o .obj/dirwatch.o .obj/dirwatch_unix.o .obj/qca_tools.o
> .obj/qca_core.o .obj/qca_textfilter.o .obj/qca_plugin.o .obj/qca_basic.o
> .obj/qca_publickey.o .obj/qca_cert.o .obj/qca_keystore.o .obj/qca_securelayer.o
> .obj/qca_securemessage.o .obj/qca_default.o .obj/qpipe.o .obj/console.o
> .obj/qca_systemstore_flatfile.o .obj/moc_qca_support.o .obj/moc_qca_core.o
> .obj/moc_qca_publickey.o .obj/moc_qca_keystore.o .obj/moc_qca_securelayer.o
> .obj/moc_qca_securemessage.o .obj/moc_qcaprovider.o .obj/moc_qpipe.o
> .obj/moc_dirwatch_p.o
> make[1]: Leaving directory
> `/var/tmp/portage/net-im/psi-0.11_beta4-r1/work/psi-0.11-beta4/third-party/qca'
> 
> !!! ERROR: net-im/psi-0.11_beta4-r1 failed.
> Call stack:
>   ebuild.sh, line 1576:   Called dyn_compile
>   ebuild.sh, line 945:   Called src_compile
>   psi-0.11_beta4-r1.ebuild, line 67:   Called die
> 
> !!! make failed
> !!! If you need support, post the topmost build error, and the call stack if
> relevant.
> 
> !!! This ebuild is from an overlay: '/usr/local/portage'
> 

try compiling your x11-libs/qt-4* with USE="qt3support" as it seems that psi is still using some qt3 code in psi-0.11 (e.g. q3cstring.h as mentioned in the compile error).

i had the same problem when compiling psi-0.11_pre20061223 (used the ebuild
from bug #157227). after recompiling qt the psi ebuild compiled just fine.
Comment 5 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-12-29 15:14:40 UTC
Milan - have you tried qt3support in qt4? have this helped you?

Cheers,
Przemek
Comment 6 Milan Vít 2006-12-29 15:33:25 UTC
(In reply to comment #5)
> Milan - have you tried qt3support in qt4? have this helped you?
> 
> Cheers,
> Przemek
> 

I'm very sorry, I nearly forgot on this bug report. Yes, solution from Rudi works for me, but I don't know, how to modify ebuild - this is beyond my knowledge. So, thanks Rudi for solution (that works at least for me :-)) and by this I request somebody else to fix the ebuild. And once more again for holdout.
Comment 7 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-12-29 15:52:32 UTC
(In reply to comment #6)
> I'm very sorry, I nearly forgot on this bug report. Yes, solution from Rudi
> works for me, but I don't know, how to modify ebuild - this is beyond my
> knowledge. So, thanks Rudi for solution (that works at least for me :-)) and by
> this I request somebody else to fix the ebuild. And once more again for
> holdout.

Thx for the info. I'm working on new ebuild for psi. Fix for jingle will be in it :)

And thx to Rudi, for fix :)

Cheers,
Przemek
Comment 8 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-12-31 04:31:32 UTC
Rudi - thx for investigating the problem.
Milan - thx for extra check.

Fix is in CVS, together with newest snapshot version.

Cheers,
Przemek
Comment 9 Rudolf Mayerhofer 2007-01-01 12:08:02 UTC
(In reply to comment #8)
> Rudi - thx for investigating the problem.
> Milan - thx for extra check.
> 
> Fix is in CVS, together with newest snapshot version.
> 
> Cheers,
> Przemek
> 

Hi Przemek,

when i try to compile with the new ebuild in portage (qt4 without qt3support AND psi without jingle) i get the same error again:

workstation ~ #>USE="-qt3support -jingle" emerge qt net-im/psi
.
. (a lot unnecessary stuff here)
.
In file included from /var/tmp/portage/net-im/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.cpp:21:
/var/tmp/portage/net-im/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/net-im/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.cpp:23:21: error: Q3CString: No such file or directory
g++ -c -pipe -O2 -march=athlon-xp -pipe -fPIC -Wall -W -D_REENTRANT  -DQCA_STATIC -DBOTAN_TYPES_QT -DBOTAN_NO_INIT_H -DBOTAN_NO_CONF_H -DBOTAN_TOOLS_ONLY -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_VECTOR_OVER_ALLOCATE=4 -DOSSL_097 -DHAVE_OPENSSL -DHAVE_CYRUSSASL -DQCA_SYSTEMSTORE_PATH=\"/etc/ssl/certs/ca-certificates.crt\" -DHAVE_XSS -DHAVE_DNOTIFY -DHAVE_GETHOSTBYNAME_R -DHAVE_ASPELL -DHAVE_CONFIG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/var/tmp/portage/net-im/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/third-party/qca -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Iinclude/QtCrypto -I. -I/var/tmp/portage/net-im/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/third-party/qca/botantools/botan -I.moc -I. -o .obj/mux_qt.o /var/tmp/portage/net-im/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/third-party/qca/botantools/botan/mux_qt/mux_qt.cpp
/var/tmp/portage/net-im/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.h:45: error: expected ‘,’ or ‘...’ before ‘&’ token
/var/tmp/portage/net-im/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/net-im/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.cpp:135: error: expected ‘,’ or ‘...’ before ‘&’ token
/var/tmp/portage/net-im/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/net-im/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/net-im/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/net-im/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/cutestuff/util/bytestream.cpp: At global scope:
/var/tmp/portage/net-im/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] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-im/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/src'
make: *** [sub-src-make_default] Error 2
make: *** Waiting for unfinished jobs....
.
. (a lot unnecessary stuff here)
.
make[1]: Leaving directory `/var/tmp/portage/net-im/psi-0.11_pre20061231/work/psi-dev-snapshot-2006-12-31/third-party/qca'

!!! ERROR: net-im/psi-0.11_pre20061231 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  psi-0.11_pre20061231.ebuild, line 110:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


again some internal utilities (bytestream.{cpp|h}) fail to build, so i guess this has nothing todo with libjingle directly. 

therefore i suggest to check for qt4 with qt3support on the whole package not just with USE=jingle.


Greetings,

rudi

P.S.: it seems that i can't reopen this bug for whatever reason...
Comment 10 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-01 15:09:25 UTC
Check for qt3support is now needed without jingle support in psi. Fixed in CVS.

Thx Rudi!

Cheers,
Przemek