#14626: Docbuilder hangs if latex fails
------------------------------------------------------------------+---------
Reporter: jdemeyer |
Owner: mvngu
Type: defect |
Status: needs_review
Priority: blocker |
Milestone: sage-5.10
Component: documentation |
Resolution:
Keywords: | Work
issues:
Report Upstream: Reported upstream. Developers acknowledge bug. |
Reviewers: John Palmieri
Authors: Jeroen Demeyer | Merged
in:
Dependencies: |
Stopgaps:
------------------------------------------------------------------+---------
Comment (by jdemeyer):
John, I still cannot reproduce your problems, can you say the exact steps
that you did.
I am doing the following on `sage.math`:
1. Extract a Sage 5.9 binary:
{{{
jdemeyer@sage:/release$ tar xzf
/home/release/sage-5.9/sage-5.9-boxen-x86_64-Linux.tar.gz
jdemeyer@sage:/release$ cd sage-5.9-boxen-x86_64-Linux
}}}
2. Apply the patch:
{{{
jdemeyer@sage:/release/sage-5.9-boxen-x86_64-Linux$ ./sage --hg -R
devel/sage qimport -P http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/14626/14626_workaround.patch
adding 14626_workaround.patch to series file
applying 14626_workaround.patch
now at: 14626_workaround.patch
}}}
3. Break LaTeX:
{{{
jdemeyer@sage:/release/sage-5.9-boxen-x86_64-Linux$ ( cd devel/sage &&
patch -p1 )
diff --git a/sage/algebras/steenrod/steenrod_algebra.py
b/sage/algebras/steenrod/steenrod_algebra.py
Index: sage/algebras/steenrod/steenrod_algebra.py
===================================================================
--- a/sage/algebras/steenrod/steenrod_algebra.py
+++ b/sage/algebras/steenrod/steenrod_algebra.py
@@ -10,5 +10,7 @@
the Steenrod algebra using CombinatorialFreeModule; improved the
test suite.
+Broken: `\aaaaaa`
+
This module defines the mod `p` Steenrod algebra `\mathcal{A}_p`, some
of its properties, and ways to define elements of it.
patching file sage/algebras/steenrod/steenrod_algebra.py
Hunk #1 succeeded at 10 with fuzz 1.
}}}
4. Rebuild Sage:
{{{
jdemeyer@sage:/release/sage-5.9-boxen-x86_64-Linux$ ./sage -b
}}}
[...]
5. Build the PDF reference manual using 12 threads:
{{{
jdemeyer@sage:/release/sage-5.9-boxen-x86_64-Linux$ env MAKE="make -j12"
./sage --docbuild reference pdf 2>&1 |tee docpdf.log
}}}
[...]
{{{
! Undefined control sequence.
<recently read> \aaaaaa
l.3809 Broken: $\aaaaaa
$
?
! Emergency stop.
<recently read> \aaaaaa
l.3809 Broken: $\aaaaaa
$
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on algebras.log.
]
Adding blank page after the table of contents.
pdfTeX warning (ext4): destination with the same identifier (name{page.i})
has
been already used, duplicate ignored
<to be read again>
\relax
l.129 \tableofcontents
[1 [28]]pdfTeX warning (ext4): destination with the
same iden
tifier (name{page.ii}) has been already used, duplicate ignored
<to be read again>
\relax
l.129 \tableofcontents
[2make: *** [algebras.pdf] Error 1
}}}
[...]
{{{
Underfull \hbox (badness 10000) in paragraph at lines 2769--2772
[]\T1/ptm/m/n/10 WalshCode - a bi-nary lin-ear $\OT1/cmr/m/n/10
[2[]\OML/cmm/m/
it/10 ; m; \OT1/cmr/m/n/10 2[]]$ \T1/ptm/m/n/10 code re-lated to Hadamard
ma-tr
i-ces.
[30][constants] reading sources... [100%] sage/symbolic/constants_c
[7] [31Traceback (most recent call last):
File
"/release/sage-5.9-boxen-x86_64-Linux/devel/sage/doc/common/builder.py",
line 1452, in <module>
] getattr(get_builder(name), type)()
File
"/release/sage-5.9-boxen-x86_64-Linux/devel/sage/doc/common/builder.py",
line 472, in _wrapper
pool.map_async(build_ref_doc, L, 1).get(99999)
File
"/release/sage-5.9-boxen-x86_64-Linux/local/lib/python/multiprocessing/pool.py",
line 528, in get
raise self._value
RuntimeError: failed to run $MAKE all-pdf in
/release/sage-5.9-boxen-x86_64-Linux/devel/sage/doc/output/latex/en/reference/algebras
}}}
[...]
{{{
Output written on arithgroup.pdf (85 pages, 458174 bytes).
Transcript written on arithgroup.log.
}}}
6. I get back to the shell as expected.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14626#comment:19>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.