<div dir="ltr">Hi everybody!
<div><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;line-height:18px;background-color:rgba(255,255,255,0.529412)">

I'm using xetex <code style="margin:0px;padding:1px 5px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(34,34,34);background-color:rgb(238,238,238)">3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian</code> and trying to run xelatex inside chroot jail.</p>

<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;line-height:18px;background-color:rgba(255,255,255,0.529412)">

I've copied following binaries and directories:</p><pre class="" style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:12px;vertical-align:baseline;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);color:rgb(57,51,24);line-height:18px">

<code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(34,34,34)"><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">pdftex
bibtex
xdvipdfmx
xelatex

/usr/share/tex-common/  
/usr/share/texlive-base 
/usr/share/texlive-bin  
/usr/share/texmf        
/usr/share/texmf-texlive
/usr/share/fonts        
/var/lib/tex-common     
/var/lib/texmf          
/etc/texmf              
/etc/fonts</span></code></pre><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;line-height:18px;background-color:rgba(255,255,255,0.529412)">

Also I tried to copy another tex binaries (<code style="margin:0px;padding:1px 5px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(34,34,34);background-color:rgb(238,238,238)">tex latex pdflatex xetex</code>) but it's not helped.</p>

<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;line-height:18px;background-color:rgba(255,255,255,0.529412)">

When I try to compile minimal xelatex sample</p><pre class="" style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:12px;vertical-align:baseline;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);color:rgb(57,51,24);line-height:18px">

<code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(34,34,34)"><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(138,74,11)">\documentclass</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">[</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">a4paper</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">]{</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">article</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">}</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">
</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(138,74,11)">\begin</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">{</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">document</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">}</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">
hello world
</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(138,74,11)">\end</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">{</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">document</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">}</span></code></pre>

<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;line-height:18px;background-color:rgba(255,255,255,0.529412)">

everything is fine in standard environment, but when I try to compile it inside chroot jail I have (pdf file not produced)</p><pre class="" style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:12px;vertical-align:baseline;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);color:rgb(57,51,24);line-height:18px">

<code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(34,34,34)"><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">Error 32512 </span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">(</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">driver return code</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">)</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> generating output;
file simple.pdf may not be valid.</span></code></pre><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;line-height:18px;background-color:rgba(255,255,255,0.529412)">

If I compile it with <code style="margin:0px;padding:1px 5px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(34,34,34);background-color:rgb(238,238,238)">-no-pdf</code> option everything is fine, <code style="margin:0px;padding:1px 5px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(34,34,34);background-color:rgb(238,238,238)">xdv</code> file produced.</p>

<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;line-height:18px;background-color:rgba(255,255,255,0.529412)">

When I run <code style="margin:0px;padding:1px 5px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(34,34,34);background-color:rgb(238,238,238)">xdvipdfmx -vvv simple.xdv</code> I have no warnings or errors and even get pdf, but process finished with 139 exit code.</p>

<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;line-height:18px;background-color:rgba(255,255,255,0.529412)">

What am I doing wrong?</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;line-height:18px;background-color:rgba(255,255,255,0.529412)">

<br></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;line-height:18px;background-color:rgba(255,255,255,0.529412)">

Kind regards, Grigory.</p></div></div>