Tons of LaTeX warnings on Travis

50 views
Skip to first unread message

Jason Moore

unread,
Jun 5, 2015, 1:51:46 PM6/5/15
to sy...@googlegroups.com
Our sphinx build keeps timing out on PR 7860, see:

https://travis-ci.org/sympy/sympy/jobs/65544480

The html and latex build fine locally. But on Travis there are tons of LaTeX warnings that we don't get when building locally.

Anyone have any idea what is wrong?

Jason Moore

unread,
Jun 5, 2015, 2:02:44 PM6/5/15
to sy...@googlegroups.com
I think we found out timeout issue but the warnings are still odd, especially since we don't get them locally. That's be nice to fix too.

Joachim Durchholz

unread,
Jun 5, 2015, 2:28:26 PM6/5/15
to sy...@googlegroups.com
Am 05.06.2015 um 20:02 schrieb Jason Moore:
> I think we found out timeout issue but the warnings are still odd,
> especially since we don't get them locally. That's be nice to fix too.

I suspect the Travis build is simply missing some packages that the
LaTex build needs.
I guess the best way to fix this would be to trace what the LaTeX build
is actually doing (probably this means pulling out the Sphinx docs and
hunting down all the things is calls, and checking what they need);
after that, it's probably trying out things and adding packages via
`apt-get install` on Travis until the last warnings go away. (Also,
remove packages and see which of them are really needed.)
It might also be a good idea to make the builds fail if something is
amiss, that way we might get better feedback on doc build errors.
(Sergey mentioned something in this direction once.)

Kalevi Suominen

unread,
Jun 5, 2015, 2:59:38 PM6/5/15
to sy...@googlegroups.com


Latex usually runs twice on a fresh task. First time it collects undefined references producing an .aux -file.
(log.txt:  No file sympy-0.7.7.dev.aux.)

On the second round it reads this file with most references satisfied (only lots of overfull boxes left).
Locally, the .aux -file usually exists and only few warnins appear.

Jason Moore

unread,
Jun 5, 2015, 3:09:19 PM6/5/15
to sy...@googlegroups.com
But if I `make clean && make latex` locally I do not get these warnings. I'm not sure where latex aux files would be other than in the directories generated under those deleted by clean.

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/ed752220-f400-42ee-8b34-26f1432b32f8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Jason Moore

unread,
Jun 5, 2015, 3:11:46 PM6/5/15
to sy...@googlegroups.com
Ah, I'm not building the resulting LaTeX files into a pdf. Forgot that step. I'll probably get the same warnings...

Kalevi Suominen

unread,
Jun 5, 2015, 3:15:00 PM6/5/15
to sy...@googlegroups.com


On Friday, June 5, 2015 at 10:09:19 PM UTC+3, Jason Moore wrote:
But if I `make clean && make latex` locally I do not get these warnings. I'm not sure where latex aux files would be other than in the directories generated under those deleted by clean.


Perhaps there is some difference in the way the output is displayed. But xelatex is run twice after clean?

Jason Moore

unread,
Jun 5, 2015, 3:34:22 PM6/5/15
to sy...@googlegroups.com
Ok, when I actually build the tex source into a pdf I get all the warnings locally.

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.

Aaron Meurer

unread,
Jun 5, 2015, 3:50:07 PM6/5/15
to sy...@googlegroups.com
Does the build actually fail, though? The LaTeX build has always
produced a lot of warnings, because, well, LaTeX likes to produce
warnings.

Aaron Meurer
> https://groups.google.com/d/msgid/sympy/CAP7f1AjA2PoDU3CO1FDSZ2A-rsEfV5038aWyA%3D5rujWKypj8Zg%40mail.gmail.com.

Jason Moore

unread,
Jun 5, 2015, 3:54:29 PM6/5/15
to sy...@googlegroups.com
As noted earlier in the thread we found the error that causes the build to fail. All of the LaTeX warnings were causing Travis to truncate the log and it took us a bit to find it.

Joachim Durchholz

unread,
Jun 5, 2015, 4:26:11 PM6/5/15
to sy...@googlegroups.com
Am 05.06.2015 um 21:54 schrieb Jason Moore:
> All of the LaTeX warnings were causing Travis to truncate the log and
> it took us a bit to find it.

It would be nice to get rid of these.
Not only can this throw off people who don't know that Travis truncates
logs with 10.000+ lines, the JS that Travis is using slows my browser to
a crawl, and I'm getting all kinds of funny malfunctions.
Maybe just disabling these warnings is enough.

Aaron Meurer

unread,
Jun 5, 2015, 4:41:22 PM6/5/15
to sy...@googlegroups.com
In the future, if you click "download log" at the top it will give you
the full untruncated log. Looks like it couldn't find
coordsys_rot.svg.

Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/557205E0.6000502%40durchholz.org.
Reply all
Reply to author
Forward
0 new messages