Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RESOLVED] gtk fails to emerge on G4 with USE="doc"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
fuzion
n00b
n00b


Joined: 19 Feb 2003
Posts: 56

PostPosted: Tue Mar 04, 2008 11:56 am    Post subject: [RESOLVED] gtk fails to emerge on G4 with USE="doc" Reply with quote

I am trying to emerge gimp and one of the dependencies being emerged in the process is gtk. Although, gtk is not emerging due to a parse error (from what I can tell). I did an emerge --sync and tried the emerge again, with the same error. This is the last thing that I see from the output:

Quote:

powerpc-unknown-linux-gnu-gcc -O2 -mcpu=G4 -mtune=G4 -mabi=altivec -fno-strict-a
liasing -pipe -Wall -o .libs/gdk-scan .libs/gdk-scan.o ../../../gdk/.libs/libgd
k-x11-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/
libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libdirectfb.so /usr/lib/libfusion.
so /usr/lib/libdirect.so -lpthread /usr/lib/libpng12.so /usr/lib/libfontconfig.s
o /usr/lib/libfreetype.so /usr/lib/libxml2.so -lz /usr/lib/libXinerama.so /usr/l
ib/libXi.so /usr/lib/libXrandr.so /usr/lib/libXcursor.so /usr/lib/libXrender.so
/usr/lib/libXcomposite.so /usr/lib/libXext.so /usr/lib/libXdamage.so /usr/lib/li
bXfixes.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so /var/tmp/p
ortage/x11-libs/gtk+-2.12.5-r1/work/gtk+-2.12.5/gdk-pixbuf/.libs/libgdk_pixbuf-2
.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libgli
b-2.0.so -lm
creating gdk-scan
gtk-doc: Running scanner gdk-scan
touch scan-build.stamp
gtk-doc: Rebuilding template files
cd . && gtkdoc-mktmpl --module=gdk
=============================================================================
WARNING: 2 unused declarations.
These can be found in gdk-unused.txt.
They should be added to gdk-sections.txt in the appropriate place.
=============================================================================
touch tmpl-build.stamp
gtk-doc: Building XML
cd . && \
gtkdoc-mkdb --module=gdk --source-dir=../../../gdk --output-format=xml -
-expand-content-files="" --main-sgml-file=gdk-docs.sgml --sgml-mode --output-for
mat=xml
WARNING: Documentation in template file for gdk_keymap_get_direction being overr
idden by inline comments
100% symbol docs coverage (854 symbols documented, 0 symbols incomplete, 1 not d
ocumented)
See gdk-undocumented.txt for a list of missing docs.
The doc coverage percentage doesn't include intro sections.
touch sgml-build.stamp
gtk-doc: Building HTML
rm -rf ./html
mkdir ./html
cd ./html && gtkdoc-mkhtml gdk ../gdk-docs.sgml
../xml/threads.xml:444: parser error : Opening and ending tag mismatch: programl
isting line 439 and para
</para>
^
../xml/threads.xml:474: parser error : Opening and ending tag mismatch: para lin
e 465 and programlisting
</programlisting></informalexample></para>
^
../xml/threads.xml:611: parser error : chunk is not well balanced

^
../gdk-docs.sgml:78: parser error : Failure to process entity gdk-Threads
&gdk-Threads;
^
../gdk-docs.sgml:78: parser error : Entity 'gdk-Threads' not defined
&gdk-Threads;
^
unable to parse ../gdk-docs.sgml
make[4]: *** [html-build.stamp] Error 6
make[4]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.5-r1/work/gtk+-2
.12.5/docs/reference/gdk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.5-r1/work/gtk+-2
.12.5/docs/reference'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.5-r1/work/gtk+-2
.12.5/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.5-r1/work/gtk+-2
.12.5'
make: *** [all] Error 2
*
* ERROR: x11-libs/gtk+-2.12.5-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2831: Called die
* The specific snippet of code:
* emake || die "compile failed"
* The die message:
* compile failed
*
* If you need support, post the topmost build error, and the call stack if rele
vant.
* A complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.12.5-r1/
temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.1
2.5-r1/temp/environment'.
*

* Messages for package x11-libs/gtk+-2.12.5-r1:

*
* ERROR: x11-libs/gtk+-2.12.5-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2831: Called die
* The specific snippet of code:
* emake || die "compile failed"
* The die message:
* compile failed
*
* If you need support, post the topmost build error, and the call stack if rele
vant.
* A complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.12.5-r1/
temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.1
2.5-r1/temp/environment'.
*


The part of the /var/tmp/portage/x11-libs/gtk+-2.12.5-r1/work/gtk+-2.12.5/docs/reference/gdk/xml/threads.xml causing the problem is:
Quote:

<para>
<informalexample><programlisting>
static gboolean
idle_callback (gpointer data)
{
// <link linkend="gdk-threads-enter"><function>gdk_threads_enter()</function></link>; would be needed for <link linkend="g-idle-add"><function>g_idle_add()</function></link>


Note: The next line is line 444:
Quote:

</para>
<para>
SomeWidget *self = data;
/<!-- -->* do stuff with self *<!-- -->/
</para>
<para>
self->idle_id = 0;
</para>
<para>
// <link linkend="gdk-threads-leave"><function>gdk_threads_leave()</function></link>; would be needed for <link linkend="g-idle-add"><function>g_idle_add()</function></link>
return FALSE;
}
</para>
<para>
static void
some_widget_do_stuff_later (SomeWidget *self)
{
self->idle_id = gdk_threads_add_idle (idle_callback, self)
// using <link linkend="g-idle-add"><function>g_idle_add()</function></link> here would require thread protection in the callback
}
</para>
<para>
static void
some_widget_finalize (GObject *object)
{
SomeWidget *self = SOME_WIDGET (object);
if (self->idle_id)
g_source_remove (self->idle_id);
G_OBJECT_CLASS (parent_class)->finalize (object);
}
</programlisting></informalexample></para>
<para>


Since the problem seems to be limited to a document, I'm going to try to re-emerge with USE="-doc" and see if that fixes the problem for me.


Last edited by fuzion on Wed Mar 05, 2008 12:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Wed Mar 05, 2008 2:29 am    Post subject: Reply with quote

Yeah, skip the docs unless it's critical you have that available locally. Otherwise, you can always look it up online. Still, you may want to check bugs.gentoo.org and see if this is a known issue.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
fuzion
n00b
n00b


Joined: 19 Feb 2003
Posts: 56

PostPosted: Wed Mar 05, 2008 12:21 pm    Post subject: Skipping docs did the trick Reply with quote

Using USE="-doc" worked fine.
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Wed Mar 05, 2008 3:48 pm    Post subject: Reply with quote

Quote:

(roxterm-config:31951): Gtk-WARNING **: gtkwidget.c:4181: widget `GtkComboBox' has no activatable signal "popup_menu" without arguments

(roxterm-config:31951): Gtk-CRITICAL **: gtk_file_system_unix_get_parent: assertion `g_path_is_absolute (filename)' failed


it is a lot of time i have been experimenting GTK warning/error messages (like this example, and roxterm apparently is perfectly working, but it sends out these error/warning messages ... like other apps using GTK do)
what does they mean ? have you found a way to fix them ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum