<?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>236559</bug_id>
          
          <creation_ts>2008-09-03 12:20 0000</creation_ts>
          <short_desc>dev-tex/mh-20080903 with USE=doc: latex hangs for xfrac.dtx</short_desc>
          <delta_ts>2008-09-09 16:55:54 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>Unspecified</component>
          <version>2008.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>Martin.vGagern@gmx.net</reporter>
          <assigned_to>tex@gentoo.org</assigned_to>
          <cc>zeekec@mad.scientist.com</cc>

      

      
          <long_desc isprivate="0">
            <who>Martin.vGagern@gmx.net</who>
            <bug_when>2008-09-03 12:20:35 0000</bug_when>
            <thetext>Latex has now spent over two hours on this command:
latex --file-line-error \nonstopmode
      \input /var/tmp/portage/dev-tex/mh-20080903/work/mh/./xfrac.dtx
invoked from /usr/bin/texi2dvi -q -c --language=latex ./xfrac.dtx
invoked from latex-package_src_doinstall from latex-package.eclass
I fear it&apos;s not about to finish any time soon.

Running &quot;/usr/bin/texi2dvi -c --language=latex ./xfrac.dtx&quot; interactively results in this error message:
xfrac.sty:30: Undefined control sequence.
l.30 \ProvidesExplPackage
                         {xfrac}{2008/08/04}{0.2}{Text fractions}

Running &quot;/usr/bin/texi2dvi -b -c --language=latex ./xfrac.dtx&quot; to get nonstopmode and still see some output shows the process to hang here:
l.30 \ProvidesExplPackage{x
                           frac}{2008/08/04}{0.2}{Text fractions}
(/usr/share/texmf-dist/tex/latex/base/textcomp.sty
(/usr/share/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf-dist/tex/latex/graphics/dvips.def)))
(/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf-dist/tex/latex3/template/template.sty
(/usr/share/texmf-dist/tex/latex3/xparse/ldcsetup.sty
(/usr/share/texmf-dist/tex/latex/tools/calc.sty

stracing the process displays no syscall activity at all. Interrupting the process shows these messages:
/usr/share/texmf-dist/tex/latex/tools/calc.sty:75: Interruption.
\GenericInfo ...irstchoice@ \else 4\fi \endcsname 
                                                  \protect \GenericInfo 
l.75 \DeclareRobustCommand\setlength
                                    {\calc@assign@skip}
? 
/usr/share/texmf-dist/tex/latex/tools/calc.sty:75: Emergency stop.
\GenericInfo ...irstchoice@ \else 4\fi \endcsname 
                                                  \protect \GenericInfo 
l.75 \DeclareRobustCommand\setlength
                                    {\calc@assign@skip}
No pages of output.
Transcript written on xfrac.log.
/usr/bin/texi2dvi: latex exited with bad status, quitting.

Disabling the doc USE flag for this package works around the problem.
calc.sty comes from dev-texlive/texlive-latex-2007
latex is a symlink to pdftex from app-text/texlive-core-2007-r13</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-09-04 07:52:35 0000</bug_when>
            <thetext>confirmed.

it was fine here but I had TeX Live 2008 installed.

I&apos;ve masked it until tl2008 hits the tree.

# Alexis Ballier &lt;aballier@gentoo.org&gt; (04 Sep 2008)
# It appears to need more recent TeX packages than what we currently provide.
# Bug #236559
# It works fine with TeX Live 2008; so it will need its deps to be adjusted when
# it will hit the tree. Mask it meanwhile.
&gt;=dev-tex/mh-20080903
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-09-09 16:55:54 0000</bug_when>
            <thetext>texlive-latex3-2008 is the only one providing new enough packages for build it and therefore run it afterward. I&apos;ve add the dep. It&apos;ll remain masked as long as tl2008 will be.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>