Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Having problems compiling several packages, possible issues with pango?
Date: Mon, 05 Sep 2011 14:59:07
Message-Id: j42o0i$jfh$1@dough.gmane.org
In Reply to: [gentoo-user] Having problems compiling several packages, possible issues with pango? by Datty
1 On 09/05/2011 03:29 AM, Datty wrote:
2 > Hi all,
3 >
4 > I've been having a few problems with a week old gentoo desktop install with gnome 3 from the gnome overlay. Both libgnomeprint-2.18.8 and evolution-3.0.3 are failing showing the errors below which I think are related to pango.
5 >
6 > In file included from /usr/include/pango-1.0/pango/pango-gravity.h:98:0,
7 > from /usr/include/pango-1.0/pango/pango-types.h:91,
8 > from /usr/include/pango-1.0/pango/pango-font.h:26,
9 > from /usr/include/pango-1.0/pango/pango-fontmap.h:25,
10 > from ../../libgnomeprint/gnome-font.h:73,
11 > from ../../libgnomeprint/gnome-print.h:59,
12 > from ../gnome-print-private.h:43,
13 > from sft.h:92,
14 > from crc32.c:47:
15 > /usr/include/pango-1.0/pango/pango-script.h:132:12: error: expected declaration specifiers or ‘...’ before ‘G_CONST_RETURN’
16
17 The guilty syntax (appearing in several pango headers) seems to be this:
18
19 G_CONST_RETURN char **start
20 ^^^^
21 Looking at the vast number of uses of G_CONST_RETURN in other header files,
22 I'm guessing that the word 'char' should really be 'gchar'.
23
24 I would test this idea by editing the headers in /usr/include/pango-1.0/pango
25 by hand, making the above change to every instance of 'C_CONST_RETURN char'.
26
27 If that trick works, then it's definitely a bug in the pango package and
28 needs to be fixed. Otherwise, I'm stumped.

Replies