<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>197899</bug_id>
          
          <creation_ts>2007-11-02 20:19 0000</creation_ts>
          <short_desc>x11-libs/gtk+-2.12.1 fails to generate docs with dev-util/gtk-doc-1.6-r1</short_desc>
          <delta_ts>2008-04-28 21:44:20 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2006.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>214260</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>slava@fizlesh.org.ru</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          <cc>jens.poenninghaus@uni-bielefeld.de</cc>
    
    <cc>lordvan@gentoo.org</cc>
    
    <cc>magowiz@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>slava@fizlesh.org.ru</who>
            <bug_when>2007-11-02 20:19:04 0000</bug_when>
            <thetext>Upgrade of gtk-doc to gtk-doc-1.8-r2 solves the problem. Please add it to the dependencies of gtk+.

Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lordvan@gentoo.org</who>
            <bug_when>2007-11-11 20:00:24 0000</bug_when>
            <thetext>also happens with gtk-doc 1.7 here error output:

gtk-doc: Rebuilding template files
cd . &amp;&amp; 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 . &amp;&amp; \
        gtkdoc-mkdb --module=gdk --source-dir=../../../gdk --output-format=xml --expand-content-files=&quot;&quot; --main-sgml-file=gdk-docs.sgml --sgml-mode --output-format=xml
WARNING: Documentation in template file for gdk_keymap_get_direction being overridden by inline comments
100% symbol docs coverage (854 symbols documented, 0 symbols incomplete, 1 not documented)
See gdk-undocumented.txt for a list of missing docs.
The doc coverage percentage doesn&apos;t include intro sections.
touch sgml-build.stamp
gtk-doc: Building HTML
rm -rf ./html 
mkdir ./html
cd ./html &amp;&amp; gtkdoc-mkhtml gdk ../gdk-docs.sgml
../xml/threads.xml:444: parser error : Opening and ending tag mismatch: programlisting line 439 and para
&lt;/para&gt;
       ^
../xml/threads.xml:474: parser error : Opening and ending tag mismatch: para line 465 and programlisting
&lt;/programlisting&gt;&lt;/informalexample&gt;&lt;/para&gt;
                 ^
../xml/threads.xml:611: parser error : chunk is not well balanced

^
../gdk-docs.sgml:78: parser error : Failure to process entity gdk-Threads
    &amp;gdk-Threads;
                 ^
../gdk-docs.sgml:78: parser error : Entity &apos;gdk-Threads&apos; not defined
    &amp;gdk-Threads;
                 ^
unable to parse ../gdk-docs.sgml
make[4]: *** [html-build.stamp] Error 6
make[4]: Leaving directory `/mnt/space/Portage/tmp/portage/x11-libs/gtk+-2.12.1-r1/work/gtk+-2.12.1/docs/reference/gdk&apos;
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/space/Portage/tmp/portage/x11-libs/gtk+-2.12.1-r1/work/gtk+-2.12.1/docs/reference&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/space/Portage/tmp/portage/x11-libs/gtk+-2.12.1-r1/work/gtk+-2.12.1/docs&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/space/Portage/tmp/portage/x11-libs/gtk+-2.12.1-r1/work/gtk+-2.12.1&apos;
make: *** [all] Error 2
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-02-15 02:34:17 0000</bug_when>
            <thetext>*** Bug 210196 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jens.poenninghaus@uni-bielefeld.de</who>
            <bug_when>2008-02-15 07:57:53 0000</bug_when>
            <thetext>Confirm: Upgrading gtk-doc solved the problem. Dependency should indeed be adjusted to reflect this.
Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>magowiz@gmail.com</who>
            <bug_when>2008-04-28 10:05:14 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; Confirm: Upgrading gtk-doc solved the problem. Dependency should indeed be
&gt; adjusted to reflect this.
&gt; Thanks!
&gt; 

since upgrading to newer stable gtk-doc and gtk+ solve this issue is it time to mark this bug as resolved fixed ?

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>slava@fizlesh.org.ru</who>
            <bug_when>2008-04-28 10:51:06 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; since upgrading to newer stable gtk-doc and gtk+ solve this issue is it time to
&gt; mark this bug as resolved fixed ?
I suppose no, because the dependency record should be updated. If you do &apos;emerge gtk+&apos;, and already have an older version of gtk-doc installed, it won&apos;t be upgraded automatically unless the requirement of the newer version is stated by DEPEND record in the ebuild. 
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>magowiz@gmail.com</who>
            <bug_when>2008-04-28 13:28:46 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; since upgrading to newer stable gtk-doc and gtk+ solve this issue is it time to
&gt; &gt; mark this bug as resolved fixed ?
&gt; I suppose no, because the dependency record should be updated. If you do
&gt; &apos;emerge gtk+&apos;, and already have an older version of gtk-doc installed, it won&apos;t
&gt; be upgraded automatically unless the requirement of the newer version is stated
&gt; by DEPEND record in the ebuild. 

You are right , I didn&apos;t think about it since I always do an emerge -uDN world  , but as you said gtk+ should depend on a more recent version of gtk-doc , only doing this will pull gtk-doc to a newer version with an &quot;emerge world&quot; .  

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eva@gentoo.org</who>
            <bug_when>2008-04-28 14:25:49 0000</bug_when>
            <thetext>I just checked the svn and it appears upstream raised their dep as well so it&apos;s safe to do it in our ebuild as well. Will proceed tonight.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eva@gentoo.org</who>
            <bug_when>2008-04-28 21:44:20 0000</bug_when>
            <thetext>updated the dep. Thanks for reporting and sorry for taking so long to fix that simple issue.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>