Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112808 - kopete 3.5.0_rc1 meanwhilelibrary.cpp:530: error: invalid conversion from `void (*)(mwSession*, mwSessionState, guint32)'
Summary: kopete 3.5.0_rc1 meanwhilelibrary.cpp:530: error: invalid conversion from `vo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-17 05:23 UTC by Hans-Christian Armingeon
Modified: 2005-11-17 09:49 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2005-11-17 05:23:18 UTC
Hi, 
 
the merge of kopete fails wit an error in meanwhilelibrary.cpp. 
 
Johnny 
 
make[5]: Entering directory  
`/var/tmp/portage/kopete-3.5.0_rc1/work/kopete-3.5.0_rc1/kopete/protocols/meanwhile/icons'  
make[5]: Nothing to be done for `all'.  
make[5]: Leaving directory  
`/var/tmp/portage/kopete-3.5.0_rc1/work/kopete-3.5.0_rc1/kopete/protocols/meanwhile/icons'  
make[5]: Entering directory  
`/var/tmp/portage/kopete-3.5.0_rc1/work/kopete-3.5.0_rc1/kopete/protocols/meanwhile'  
/usr/qt/3/bin/moc ./meanwhileaddcontactpage.h -o meanwhileaddcontactpage.moc  
/usr/qt/3/bin/moc ./meanwhilecontact.h -o meanwhilecontact.moc  
/usr/qt/3/bin/moc ./meanwhileeditaccountwidget.h -o  
meanwhileeditaccountwidget.moc  
/usr/qt/3/bin/moc ./meanwhileprotocol.h -o meanwhileprotocol.moc  
/usr/qt/3/bin/moc ./meanwhilelibrary.h -o meanwhilelibrary.moc  
/usr/qt/3/bin/moc ./meanwhileaccount.h -o meanwhileaccount.moc  
creating kopete_meanwhile_la.all_cpp.cpp ...  
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX  
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..   
-I../../../kopete/libkopete -I../../../kopete/libkopete  
-I../../../kopete/libkopete/avdevice -I../../../kopete/libkopete/ui  
-I../../../kopete/libkopete/ui -I./ui -I./ui -I/usr/kde/3.5/include  
-I/usr/qt/3/include -I.  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi  
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts  
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=k8 -pipe  
-fomit-frame-pointer -Wformat-security -Wmissing-format-attribute  
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT  
-DQT_NO_TRANSLATION  -c -o kopete_meanwhile_la.all_cpp.lo `test -f  
'kopete_meanwhile_la.all_cpp.cpp' || echo './'`kopete_meanwhile_la.all_cpp.cpp  
In file included from kopete_meanwhile_la.all_cpp.cpp:7:  
meanwhilelibrary.cpp: In member function `void  
MeanwhileLibrary::newSession()':  
meanwhilelibrary.cpp:530: error: invalid conversion from `void (*)(mwSession*,  
mwSessionState, guint32)' to `void (*)(mwSession*, mwSessionState, void*)'  
meanwhileplugin.cpp: At global scope:  
meanwhileplugin.cpp:36: warning: unused parameter 'menu'  
make[5]: *** [kopete_meanwhile_la.all_cpp.lo] Error 1  
make[5]: Leaving directory  
`/var/tmp/portage/kopete-3.5.0_rc1/work/kopete-3.5.0_rc1/kopete/protocols/meanwhile'  
make[4]: *** [all-recursive] Error 1  
make[4]: Leaving directory  
`/var/tmp/portage/kopete-3.5.0_rc1/work/kopete-3.5.0_rc1/kopete/protocols/meanwhile'  
make[3]: *** [all-recursive] Error 1  
make[3]: Leaving directory  
`/var/tmp/portage/kopete-3.5.0_rc1/work/kopete-3.5.0_rc1/kopete/protocols'  
make[2]: *** [all-recursive] Error 1  
make[2]: Leaving directory  
`/var/tmp/portage/kopete-3.5.0_rc1/work/kopete-3.5.0_rc1/kopete'  
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory  
`/var/tmp/portage/kopete-3.5.0_rc1/work/kopete-3.5.0_rc1'  
make: *** [all] Error 2  
  
!!! ERROR: kde-base/kopete-3.5.0_rc1 failed.  
!!! Function kde_src_compile, Line 173, Exitcode 2  
!!! died running emake, kde_src_compile:make  
!!! If you need support, post the topmost build error, NOT this status  
message.  
 
Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 
2.6.14-gentoo-r2 x86_64) 
================================================================= 
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3400+ 
Gentoo Base System version 1.12.0_pre10 
dev-lang/python:     2.3.5-r2, 2.4.2 
sys-apps/sandbox:    1.2.13 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1 
sys-devel/libtool:   1.5.20-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /lib/modules /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /u 
sr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict 
userpriv" 
GENTOO_MIRRORS="ftp://ftp.server.whnetz/pub/mirrors/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 16bit 3dnowex X X509 Xaw3d a52 aac aalib accessibility accounting 
acl acpi activefilter ada adns aim aio aliaschain alsa amuled ao 
apache2 apm applet ares arts artswrappersuid artworkextra asterisk async 
athena atm auctex audiofile authdaemond automount avantgo bash-comple 
tion bcmath berkdb bidi big-tables bind-mysql bitmap-fonts bl blas 
blender-game bluetooth bmp bootsplash boundchecking bri brltty buffysize bz 
ip2 bzlib c++ cairo calendar callbacks camaelon caps cdda cddb cdio cdparanoia 
cdr cgi chasen chroot clearcase clearpasswd clisp cluster cname 
fix codecs corba cpudetection crypt cscope css ctype cups curl curlwrappers 
customlog daap dbase dbm dbus dbx dedicated devfs26 devmap dga dhc 
p dio directfb divx4linux djbfft dlz dpms dts dv dvb dvd dvdr dvdread 
dynagraph eap-tls ecc edirectory edl eds elf emacs emboss encode erandom 
 esd ethereal evo examples exif expat extensions extraengine extras f77 faac 
faad fam fame fastcgi fax fb fbcon fbdev festival ffcall ffmpeg f 
ftw firefox flac flash flatfile flexresp flood floppy-boot floppyboot floppyd 
florz fltk fluidsynth follow-xff font-server foomaticdb fortran 
fping fpx frascend freetts freetype frlargefiles frxp ftp fwdzone gb 
gcc-libffi gcj gd gd-external gdbm geoip geometry ggi gif gimpprint ginac 
 glibc-compat20 glitz glut gnokii gnome gnome-print gnomedb gnutls gphoto2 gpm 
gps graphviz gs gsl gsm gsnd gstreamer gtk gtk2 gtkhtml guile h 
al haskell howl hpn httpd hub ibm iconv icq icu idea idled idn ieee1394 
imagemagic imagemagick imap imlib imlib2 immqt inetd inifile inkjar in 
line innodb insecure-drivers intl ipalias iproute2 ipv6 irda irmc isdn jabber 
jack jack-tmpfs java javascript jbig jce jikes jit jks jms john 
joystick jpeg jpeg2k junit jython kcal kde kdeenablefinal kerberos 
kig-scripting koffice-plugin krb4 ladcca ladspa large-domain latex lcd lcms 
 ldap ldb leim lesstif libcaca libclamav libedit libg++ libgda libsamplerate 
libwww lirc live lm_sensors logitech-mouse logrotate lua lynxkeym 
ap lzo lzw lzw-tiff mad maildir maildrop mailwrapper matroska matrox mbox 
mbrola mcal mcve md5sum mecab memlimit messages mgetty mhash mikmod 
mime ming mjpeg mmap mng mod modelock mozcalendar mozdevelop mozilla mozsvg 
mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer mppe-mppc msn mule multica 
ll multipleip multiprocess multislot musepack musicbrainz mysql mysql41 mythtv 
nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses neXt n 
etboot netcdf nethack network neural new-login nfs nis nls nntp non-flattened 
nptl nptlonly nsplugin numeric oav objc objc-gc odbc offensive o 
fx ogg oggvorbis on-the-fly-crypt openexr opengl openntpd osc oscar oss pam 
pam_chroot pam_console pam_timestamp parse-clocks pascal pcap pcap 
nav pccts pcntl pcre pcsc-lite pda pdflib perforce perl pg-hier pg-intdatetime 
pg-vacuumdelay php physfs pic plotutils plugin png pnp portaudi 
o posix postfix postgres povray ppds pppd prelude pri procmail profile pwdb 
pxeserial pyste python qemu-fast qhull qt quicktime quotas radius 
rar rdesktop readline real remote resperl rhino rle roundrobin rpm rrdtool rtc 
ruby samba sametime sample sasl sblive scanner screen sdk sdl s 
emanticfix sendfile sensord serial server session sftplogging sguil shaper 
shared sharedmem silc simplexml skey slang smartcard smime smp sms 
smtp smux sndfile snmp snortsam soap sockets socks5 softmmu softquota 
soundtouch sox spamassassin speex spell spl sql sqlite srp ssl static-mo 
dules stats stencil-buffer stream streamzap subject-rewrite subtitles 
subversion svg swat sysfs syslog sysvipc szip tcltk tcpd termcap-compat 
test tetex tga theora threads tidy tiff timidity tokenizer toolbar transcode 
transparent-proxy truetype truetype-fonts type1-fonts ucs2 udev u 
dpfromto underscores unicode urandom usb userlocales utf8 v4l v4l2 vcd vchroot 
vda vdesktop vhosts vim-with-x virus-scan visualization vlm vmd 
bmysql vmdbpostgres vorbis vpopmail wddx webdav wifi winbind wmf wxgtk1 
wxwindows x11vnc xanim xbase xface xforms xfs xim xine xinerama xinetd 
 xml xml2 xmlrpc xmms xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo yaz 
yv12 zaptel zero-penalty-hit zeroconf zlib userland_GNU kernel_l 
inux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2005-11-17 07:37:47 UTC
if you dont care for meanwhile, you can do a manual ebuilding of it , and just
kull out the meanwhile directory and move all refrences to meanwhile out of the
respective Makefile.am 's in the protocall directory before compiling.

They probably should make meanwhile among the USE flags imho, wouldnt be hard to
make a patch that gets applied if people want/dontwant meanwhile.
Comment 2 Hans-Christian Armingeon 2005-11-17 09:00:50 UTC
well, I'm not an so advanced coder. 
 
Kopete compiled fine on an x86 system (32bit) 
 
Johnny 
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-11-17 09:49:24 UTC
The problem is that kopete does not compile with meanwhile-0.5.0, only with 
0.4.2. 
I changed the dependency to take care of it. 
 
BTW: there's an use flag for meanwhile support: USE="sametime"