scons fails to build simple LaTeX document with Russian text
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
scons (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: scons
I'm trying to build this test document:
===== main.tex =====
\documentclass{
\usepackage{ucs}
\usepackage[
\usepackage[
\usepackage[
\begin{document}
Russian test: тест.
\end{document}
===== end =====
with this SCons script:
===== SConstruct =====
env = Environment()
env.PDF('main.tex')
===== end =====
Which fails with:
...
kpathsea: Running mktextfm larm1000
mkdir: cannot create directory `././.texmf-var': Permission denied
mktextfm: mktexdir /.texmf-
...
(complete output of running "scons" attached as "scons_
Expected behavior: successful build.
Also this run of scons creates directory with name "$HOME" which lead to conjecture that $HOME environment variable is not defined during run of LaTeX.
Adding $HOME environment variable works as workaround:
===== SConstruct.
import os
env = Environment()
env['ENV']['HOME'] = os.environ['HOME']
env.PDF('main.tex')
===== end =====
Bug emerged after upgrading from Ubuntu 9.10 to 10.04.
Using texlive from Ubuntu repositories (texlive 2009-07).
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: scons 1.2.0.d20100117-1
ProcVersionSign
Uname: Linux 2.6.32-24-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Tue Aug 31 07:02:56 2010
PackageArchitec
SourcePackage: scons
I can't reproduce it with 2.0.1. Could you please try with a newer version than 1.2.0.d20100117. Thank you!