Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 241498

Summary: net-irc/conspire-20.0 Fails build [w/fix]
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: Current packagesAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED FIXED    
Severity: normal CC: net-irc
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://hg.atheme.org/conspire/rev/de798c3d89ea
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Working ebuild
emerge --info
paludis --info

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-10-12 02:41:39 UTC
As seen in the commit digest above for upstream, there appears to be a compile error. 

Entering directory fe-gtk.
Successfully generated dependencies.
Successfully compiled ascii.c.
Successfully compiled about.c.
Successfully compiled banlist.c.
Successfully compiled chanview.c.
Successfully compiled chanlist.c.
Successfully compiled custom-list.c.
Successfully compiled dccgui.c.
Successfully compiled editlist.c.
Successfully compiled gossip-cell-renderer-expander.c.
Successfully compiled fkeys.c.
Successfully compiled gtkutil.c.
In file included from fe-gtk.c:47:
xtext.h:258: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_xtext_get_type'
Failed to compile fe-gtk.c!
make[5]: *** [fe-gtk.o] Error 1
make[5]: *** Waiting for unfinished jobs....
Successfully compiled ignoregui.c.
In file included from menu.c:52:
xtext.h:258: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_xtext_get_type'
Failed to compile menu.c!
make[5]: *** [menu.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[2]: *** [all] Error 1
make[1]: *** [subdirs] Error 1
make: *** [all] Error 1
/usr/libexec/paludis/utils/emake: emake returned error 2


After giving the ebuild a little sed love, the desired result occurs: 

Entering directory fe-gtk.
Successfully generated dependencies.
Successfully compiled banlist.c.
Successfully compiled ascii.c.
Successfully compiled about.c.
Successfully compiled chanview.c.
Successfully compiled chanlist.c.
Successfully compiled custom-list.c.
Successfully compiled editlist.c.
Successfully compiled dccgui.c.
Successfully compiled fe-gtk.c.
Successfully compiled fkeys.c.
Successfully compiled gossip-cell-renderer-expander.c.
Successfully compiled ignoregui.c.
Successfully compiled gtkutil.c.
Successfully compiled notifygui.c.
Successfully compiled menu.c.
Successfully compiled maingui.c.
Successfully compiled palette.c.
Successfully compiled pixmaps.c.
Successfully compiled plugingui.c.
Successfully compiled tray.c.
Successfully compiled rawlog.c.
Successfully compiled search.c.
Successfully compiled servlistgui.c.
Successfully compiled setup.c.
Successfully compiled sync-menu.c.
Successfully compiled urlgrab.c.
Successfully compiled textgui.c.
Successfully compiled userlistgui.c.
Successfully compiled xtext.c.
Successfully linked conspire.
Leaving directory fe-gtk.
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-10-12 02:43:30 UTC
Created attachment 168110 [details]
Working ebuild

I'm too lazy to use the external patch. The one-shot  ebuild that JustWorks is easier. :)
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2008-10-12 21:07:43 UTC
And just so I can see what platforms are affected and why, please include emerge --info as in the bug template. Thank you.
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-10-13 03:11:54 UTC
Created attachment 168246 [details]
emerge --info
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-10-13 03:12:37 UTC
Created attachment 168248 [details]
paludis --info

( because i use paludis all the time. only fair to include its diagnosis too )
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2008-10-31 13:14:25 UTC
+  31 Oct 2008; <chainsaw@gentoo.org> +files/0.20-de798c3d89ea.diff,
+  conspire-0.20.ebuild:
+  Build fix for recent GTK+ breakage, patch dug up by Kent Fredric
+  <kentfredric@gmail.com>. Closes bug #241498.

Thank you for your contribution to Gentoo Linux, and apologies for the delay.