Ekiga 2.0.11 fails compilation

Anything that pertains to Portage

Moderator: Moderators

Ekiga 2.0.11 fails compilation

Postby Lucidor » Tue Oct 09, 2007 5:38

When I try to emerge the latest version of Ekiga (2.0.11), I get the following compile error:

gmconf-glib.c: At top level:
gmconf-glib.c:1477: error: conflicting types for 'gm_conf_is_key_writable'
gmconf.h:127: error: previous declaration of 'gm_conf_is_key_writable' was here

It is the topmost error by the way... My wife will murder me as she uses Ekiga on a regular basis, and now it no longer runs. So please save by butt and let me know if you have similar problems or if your Ekiga packages compile just fine.

My googling did not render any useful info so I'm guessing it might be local to my system?

Cheerio,
Lucidor
Lucidor
Young Hen
 
Posts: 25
Joined: Sun Jul 29, 2007 18:25
Location: Solna, Sweden

Re: Ekiga 2.0.11 fails compilation

Postby Lucidor » Tue Oct 09, 2007 18:34

I just downgraded to version 2.0.9 and it compiles and runs without a hitch, so the aforementioned problem seems related to version 2.0.11 specifically. Anyone had any luck with the latest version? Many of you (brave) powerusers do world updates, so surely someone must have bumbed into it?

Anyway, the downgrade saved my premature demise from the planet, so the imminent danger from being slaughtered by the wife is mitigated for now. Phew! :D

Cherio,
-Lucidor
Lucidor
Young Hen
 
Posts: 25
Joined: Sun Jul 29, 2007 18:25
Location: Solna, Sweden

Re: Ekiga 2.0.11 fails compilation

Postby d3roga » Tue Dec 04, 2007 9:25

Also Ekiga version 2.0.10 seems to be free of this problem and compiles fine. Although I must note that I'm building it on totally different platform, but faced the same problems as you with the 2.0.11 version.
d3roga
Baby Hen
 
Posts: 8
Joined: Tue Dec 04, 2007 9:20

Re: Ekiga 2.0.11 fails compilation

Postby d3roga » Tue Dec 04, 2007 10:21

I made this simple patch that fixes the problem, and got it to build on my environment. The problem is really minor and is something that gcc might ignore on some less strict CXXFLAGS. This bug also seems to exist only in version 2.0.11 and is fixed at least in the latest snapshot.

Code: Select all
--- ekiga-2.0.11/lib/gmconf/gmconf-glib.c       2007-09-18 12:00:21.000000000 +0300
+++ ekiga-2.0.11-patched/lib/gmconf/gmconf-glib.c       2007-12-04 10:44:05.000000000 +0200
@@ -1473,7 +1473,7 @@
 }

 gboolean
-gm_conf_is_key_writable (gchar *key)
+gm_conf_is_key_writable (const gchar *key)
 {
   g_return_val_if_fail (key != NULL, FALSE);

d3roga
Baby Hen
 
Posts: 8
Joined: Tue Dec 04, 2007 9:20


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest

cron