Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323861 - kde-base/kopete-4.4.4-r1 fails to compile if msn flag is disabled but net-libs/libmsn-4.0_beta6 is installed
Summary: kde-base/kopete-4.4.4-r1 fails to compile if msn flag is disabled but net-li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 324783 (view as bug list)
Depends on:
Blocks: 313999
  Show dependency tree
 
Reported: 2010-06-13 21:37 UTC by David E. Narváez
Modified: 2010-06-22 15:58 UTC (History)
2 users (show)

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 David E. Narváez 2010-06-13 21:37:38 UTC
I disabled msn protocol from kopete, but since I had libmsn installed, it would still try to build the wlm plugin, which fails. It built fine when I removed libmsn.

Reproducible: Always

Steps to Reproduce:
1. Emerge net-libs/libmsn-4.0_beta6
2. Emerge kde-base/kopete-4.4.4-r1 without the msn USE flag

Actual Results:  
Emerge fails while building wlm plugin (which shouldn't be built at all because you disabled the msn USE flag). This is the error related to the wlm plugin:

In file included from /var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/wlmserver.h:20,                                                                                               
                 from /var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/wlmaccount.h:24,
                 from /var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/ui/wlmeditaccountwidget.cpp:33:
/var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/wlmlibmsn.h:283: error: ‘MSN::hotmailInfo’ has not been declared
/var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/wlmlibmsn.h:466: error: ‘MSN::hotmailInfo’ has not been declared
In file included from /var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/ui/wlmeditaccountwidget.cpp:33:
/var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/wlmaccount.h:259: error: ‘MSN::hotmailInfo’ has not been declared
/var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/ui/wlmeditaccountwidget.cpp: In constructor ‘WlmEditAccountWidget::WlmEditAccountWidget(QWidget*, Kopete::Account*)’:
/var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/ui/wlmeditaccountwidget.cpp:45: warning: unused variable ‘config’
make[2]: *** [kopete/protocols/wlm/CMakeFiles/kopete_wlm.dir/ui/wlmeditaccountwidget.o] Error 1
make[1]: *** [kopete/protocols/wlm/CMakeFiles/kopete_wlm.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....


Expected Results:  
Well, kopete should have been emerged.

I figured out removing libmsn would fix the issue by checking the cmake macros in the wlm directory, but didn't have much time today to find the exact reason it is still building the wlm plugin. I'd be glad to help further if needed.

As usual, emerge --info:
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6400+-with-gentoo-1.12.13
Timestamp of tree: Sun, 13 Jun 2010 12:45:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus doc dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 java java6 jpeg kde kpathsea lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png posix ppds pppd python qt3support qt4 readline reflection sdl semantic-desktop session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb vorbis wifi x264 xcb xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Andrej 2010-06-15 09:17:20 UTC
(In reply to comment #0)
> I disabled msn protocol from kopete, but since I had libmsn installed, it would
> still try to build the wlm plugin, which fails. It built fine when I removed
> libmsn.

Hi.

I had the problem.

I have updated libmsn to version 4.1 and than emerged kopete.
Comment 2 David E. Narváez 2010-06-19 13:53:12 UTC
(In reply to comment #1)
> Hi.
> 
> I had the problem.
> 
> I have updated libmsn to version 4.1 and than emerged kopete.

Well, indeed the problem seems to get worse if you have libmsn 4.1 installed: emerging kopete will build the MSN plugin even with the msn USE flag disabled.

Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-06-20 09:55:42 UTC
*** Bug 324783 has been marked as a duplicate of this bug. ***
Comment 4 Cybertinus 2010-06-20 10:27:50 UTC
I saw this bug when I created the bug that was just marked as duplicate of this bug. But I fail to see how it is a duplicate? Can somebody explain that to me.
In my crash I don't see any reference to the MSN protocol, and this bug is about the MSN protocol in Kopete.

The only overlap I see is that in both bugs the compilation of Kopete crashes.

Note: this is just for me to learn, so I can create better bugreports in the future. This isn't about bashing the bugwranglers or something ;).
Comment 5 David E. Narváez 2010-06-20 21:21:56 UTC
(In reply to comment #4)
> Note: this is just for me to learn, so I can create better bugreports in the
> future. This isn't about bashing the bugwranglers or something ;).

Well, yes, to improve your bug reporting, you could, for example, read your build.log. This is from the file you attached:

In file included from /var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/wlmserver.h:20,
                 from /var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/wlmaccount.h:24,
                 from /var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/ui/wlmeditaccountwidget.cpp:33:
/var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/wlmlibmsn.h:283: error: ‘MSN::hotmailInfo’ has not been declared
/var/tmp/portage/kde-base/kopete-4.4.4-r1/work/kopete-4.4.4/kopete/protocols/wlm/wlmlibmsn.h:466: error: ‘MSN::hotmailInfo’ has not been declared
 
And, by checking the USE flags (in the same file, third line):

USE:  addbookmarks amd64 autoreplace contactnotes elibc_glibc handbook highlight history jabber kernel_linux multilib nowlistening pipes privacy ssl statistics texteffect translator urlpicpreview userland_GNU zeroconf

You ain't using the msn flag. Sounds familiar? You actually don't have any error on Jabber protocol, if you double check your build.log.
Comment 6 Maciej Mrozowski gentoo-dev 2010-06-22 15:58:40 UTC
msn/wlm automagic is fixed in 4.4.4-r2 and raised dependencies to libmsn-4.1 to fix compilation. Thanks for reporting!