public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Having problems compiling several packages, possible issues with pango?
@ 2011-09-05 10:29 Datty
  2011-09-05 14:57 ` [gentoo-user] " walt
  0 siblings, 1 reply; 3+ messages in thread
From: Datty @ 2011-09-05 10:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2026 bytes --]

Hi all,

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.

In file included from /usr/include/pango-1.0/pango/pango-gravity.h:98:0,
                 from /usr/include/pango-1.0/pango/pango-types.h:91,
                 from /usr/include/pango-1.0/pango/pango-font.h:26,
                 from /usr/include/pango-1.0/pango/pango-fontmap.h:25,
                 from ../../libgnomeprint/gnome-font.h:73,
                 from ../../libgnomeprint/gnome-print.h:59,
                 from ../gnome-print-private.h:43,
                 from sft.h:92,
                 from crc32.c:47:
/usr/include/pango-1.0/pango/pango-script.h:132:12: error: expected
declaration specifiers or ‘...’ before ‘G_CONST_RETURN’
/usr/include/pango-1.0/pango/pango-script.h:133:12: error: expected
declaration specifiers or ‘...’ before ‘G_CONST_RETURN’
In file included from /usr/include/pango-1.0/pango/pango-script.h:138:0,
                 from /usr/include/pango-1.0/pango/pango-gravity.h:98,
                 from /usr/include/pango-1.0/pango/pango-types.h:91,
                 from /usr/include/pango-1.0/pango/pango-font.h:26,
                 from /usr/include/pango-1.0/pango/pango-fontmap.h:25,
                 from ../../libgnomeprint/gnome-font.h:73,
                 from ../../libgnomeprint/gnome-print.h:59,
                 from ../gnome-print-private.h:43,
                 from sft.h:92,
                 from crc32.c:47:
/usr/include/pango-1.0/pango/pango-language.h:37:16: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’
/usr/include/pango-1.0/pango/pango-language.h:41:16: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’

I've looked for bugs etc and rebuild pango but it didn't seem to help. Any
ideas?
First time posting on the list so be gentle!

Thanks all

Oliver

[-- Attachment #2: Type: text/html, Size: 2132 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: Having problems compiling several packages, possible issues with pango?
  2011-09-05 10:29 [gentoo-user] Having problems compiling several packages, possible issues with pango? Datty
@ 2011-09-05 14:57 ` walt
  2011-09-06  8:11   ` Datty
  0 siblings, 1 reply; 3+ messages in thread
From: walt @ 2011-09-05 14:57 UTC (permalink / raw
  To: gentoo-user

On 09/05/2011 03:29 AM, Datty wrote:
> Hi all,
> 
> 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.
> 
> In file included from /usr/include/pango-1.0/pango/pango-gravity.h:98:0,
>                  from /usr/include/pango-1.0/pango/pango-types.h:91,
>                  from /usr/include/pango-1.0/pango/pango-font.h:26,
>                  from /usr/include/pango-1.0/pango/pango-fontmap.h:25,
>                  from ../../libgnomeprint/gnome-font.h:73,
>                  from ../../libgnomeprint/gnome-print.h:59,
>                  from ../gnome-print-private.h:43,
>                  from sft.h:92,
>                  from crc32.c:47:
> /usr/include/pango-1.0/pango/pango-script.h:132:12: error: expected declaration specifiers or ‘...’ before ‘G_CONST_RETURN’

The guilty syntax (appearing in several pango headers) seems to be this:

 G_CONST_RETURN char **start
                ^^^^
Looking at the vast number of uses of G_CONST_RETURN in other header files,
I'm guessing that the word 'char' should really be 'gchar'.

I would test this idea by editing the headers in /usr/include/pango-1.0/pango
by hand, making the above change to every instance of 'C_CONST_RETURN char'.

If that trick works, then it's definitely a bug in the pango package and
needs to be fixed.  Otherwise, I'm stumped.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Re: Having problems compiling several packages, possible issues with pango?
  2011-09-05 14:57 ` [gentoo-user] " walt
@ 2011-09-06  8:11   ` Datty
  0 siblings, 0 replies; 3+ messages in thread
From: Datty @ 2011-09-06  8:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1961 bytes --]

On Mon, Sep 5, 2011 at 3:57 PM, walt <w41ter@gmail.com> wrote:

> On 09/05/2011 03:29 AM, Datty wrote:
> > Hi all,
> >
> > 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.
> >
> > In file included from /usr/include/pango-1.0/pango/pango-gravity.h:98:0,
> >                  from /usr/include/pango-1.0/pango/pango-types.h:91,
> >                  from /usr/include/pango-1.0/pango/pango-font.h:26,
> >                  from /usr/include/pango-1.0/pango/pango-fontmap.h:25,
> >                  from ../../libgnomeprint/gnome-font.h:73,
> >                  from ../../libgnomeprint/gnome-print.h:59,
> >                  from ../gnome-print-private.h:43,
> >                  from sft.h:92,
> >                  from crc32.c:47:
> > /usr/include/pango-1.0/pango/pango-script.h:132:12: error: expected
> declaration specifiers or ‘...’ before ‘G_CONST_RETURN’
>
> The guilty syntax (appearing in several pango headers) seems to be this:
>
>  G_CONST_RETURN char **start
>                ^^^^
> Looking at the vast number of uses of G_CONST_RETURN in other header files,
> I'm guessing that the word 'char' should really be 'gchar'.
>
> I would test this idea by editing the headers in
> /usr/include/pango-1.0/pango
> by hand, making the above change to every instance of 'C_CONST_RETURN
> char'.
>
> If that trick works, then it's definitely a bug in the pango package and
>
needs to be fixed.  Otherwise, I'm stumped.

Managed to sort it, seems that the live glib ebuild dropped support for
G_CONST_RETURN. Downgrading to glib-2.28.8 sorted it but broke some other
packages. Is there an overlay newer than the gnome one? Seems I have some
packages from the newer gnome 3.1 release and some from the 3.0 and they
aren't playing nice.

[-- Attachment #2: Type: text/html, Size: 2432 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-06  8:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-05 10:29 [gentoo-user] Having problems compiling several packages, possible issues with pango? Datty
2011-09-05 14:57 ` [gentoo-user] " walt
2011-09-06  8:11   ` Datty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox