Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410905 - kde-base/kopete-4.8.2 crashes during compilation of jabber
Summary: kde-base/kopete-4.8.2 crashes during compilation of jabber
Status: RESOLVED DUPLICATE of bug 409081
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-05 15:13 UTC by Trevor Bowen
Modified: 2012-04-12 07:44 UTC (History)
0 users

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


Attachments
bzip2s emerge build log (build.log.bz2,42.61 KB, application/octet-stream)
2012-04-05 15:16 UTC, Trevor Bowen
Details
emerge --info (emerge.info,5.94 KB, text/plain)
2012-04-05 15:17 UTC, Trevor Bowen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Trevor Bowen 2012-04-05 15:13:59 UTC
Hi, I'm upgrading today to the latest version of KDE, 4.8.2, and it almost completed, but kopete compilation failed during the linking of the kopete_jabber.so library.  Please see attached build log for more details.
Comment 1 Trevor Bowen 2012-04-05 15:16:07 UTC
Created attachment 307907 [details]
bzip2s emerge build log
Comment 2 Trevor Bowen 2012-04-05 15:17:43 UTC
Created attachment 307909 [details]
emerge --info
Comment 3 Franz Trischberger 2012-04-05 15:38:21 UTC
This is the actual Error:

[ 67%] [32mBuilding CXX object kopete/protocols/meanwhile/CMakeFiles/kopete_meanwhile.dir/meanwhileaddcontactpage.o
[0mIn file included from /usr/include/meanwhile/mw_srvc_resolve.h:26:0,
                 from /var/tmp/portage/kde-base/kopete-4.8.2/work/kopete-4.8.2/kopete/protocols/meanwhile/meanwhilesession.h:25,
                 from /var/tmp/portage/kde-base/kopete-4.8.2/work/kopete-4.8.2/kopete/protocols/meanwhile/meanwhileaccount.cpp:23:
/usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."

That is not directly an error within kopete but net-libs/meanwhile. As a workaround you can disable the meanwhile-USE-Flag for kopete.
Comment 4 Trevor Bowen 2012-04-05 15:38:51 UTC
Scanning the log, it looks like my version of glib is not compatible?

...
[ 65%] Building CXX object kopete/protocols/jabber/CMakeFiles/kopete_jabber.dir/kopete_jabber_automoc.o
Scanning dependencies of target kopete_latex
In file included from /usr/include/meanwhile/mw_srvc_resolve.h:26:0,
                 from /var/tmp/portage/kde-base/kopete-4.8.2/work/kopete-4.8.2/kopete/protocols/meanwhile/meanwhilesession.h:25,
                 from /var/tmp/portage/kde-base/kopete-4.8.2/work/kopete-4.8.2/kopete/protocols/meanwhile/meanwhileaccount.cpp:23:
/usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."

My glib version is:

# emerge -pvt glib

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   #] dev-libs/glib-2.32.0  USE="fam -debug -doc (-selinux) -static-libs -systemtap -test -utils -xattr" 0 kB

FWIW, I have this in /etc/portage/package.unmask/user.unmask:

#required by x11-libs/libnotify-0.7.4, required by net-wireless/gnome-bluetooth-2.32.0-r1, required by @selected, required by @world (argument)
# /usr/portage/profiles/package.mask:
# Nirbheek Chauhan <nirbheek@gentoo.org> (25 Mar 2012)
# This is now the GNOME 3.4 mask
# Core libraries to be unmasked first:
=dev-libs/glib-2.32.0

I believe this produced by a recent emerge -uDN --autounmask-write @system @world.

I am going to try a different version of glib...
Comment 5 Trevor Bowen 2012-04-05 15:47:42 UTC
I downgraded to glib-2.30.3, and compilation of kopete completed successfully!  I am not sure why that version of glib was unmasked, but I don't think it is compatible with kopete.

Here's my current, working glib version and flags:

# emerge -pvt dev-libs/glib

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ~] dev-libs/glib-2.30.3  USE="fam static-libs -debug -doc (-selinux) -systemtap -test -utils -xattr" 0 kB
Comment 6 Franz Trischberger 2012-04-05 16:20:20 UTC
net-libs/meanwhile-1.0.2-r1 ships a patch for compatibility with >=glib-2.31.
Just as a note if someone else will get this problem.
Comment 7 Johannes Huber (RETIRED) gentoo-dev 2012-04-12 07:44:39 UTC

*** This bug has been marked as a duplicate of bug 409081 ***