Bug 690678

Summary: openout_any = p setting in texmf.cnf (texlive-bin-latex-2010-4.6.i586) causes regressions
Product: [openSUSE] openSUSE 11.4 Reporter: Stefan Sauer <ensonic>
Component: OtherAssignee: Thomas Schraitle <thomas.schraitle>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: werner
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stefan Sauer 2011-04-28 19:48:36 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:2.0.0) Gecko/20100101 Firefox/4.0

The setting of "openout_any = p" in texmf.cnf got introduced or changed. This breaks tools (like e.g. dblatex) that call makeindex and specify absolute pathname to /tmp for intermediate files. The option 'p' ( = paranoid) does not allow absolute path names.



Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
XSLT stylesheets DocBook -  LaTeX 2e (0.2.7)
===================================================
Build tester-docs.pdf
processing index /tmp/tmpUOeuaU/tester-docs_tmp.idx...

makeindex: Not writing to /tmp/tmpUOeuaU/tester-docs_tmp.ind (openout_any = p).
Can't create output index file /tmp/tmpUOeuaU/tester-docs_tmp.ind.
Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
could not make index /tmp/tmpUOeuaU/tester-docs_tmp.ind
Error: pdflatex compilation failed


Expected Results:  
XSLT stylesheets DocBook -  LaTeX 2e (0.2.7)
===================================================
Build tester-docs.pdf
processing index /tmp/tmpTUKMFT/tester-docs_tmp.idx...
This is makeindex, version 2.15 [TeX Live 2010] (kpathsea + Thai support).
Scanning style file /usr/share/dblatex/latex/scripts/doc.ist....done (4 attributes redefined, 0 ignored).
Scanning input file /tmp/tmpTUKMFT/tester-docs_tmp.idx....done (26 entries accepted, 0 rejected).
Sorting entries....done (124 comparisons).
Generating output file /tmp/tmpTUKMFT/tester-docs_tmp.ind....done (30 lines written, 0 warnings).
Output written in /tmp/tmpTUKMFT/tester-docs_tmp.ind.
Transcript written in /tmp/tmpTUKMFT/tester-docs_tmp.ilg.
Comment 1 Dr. Werner Fink 2011-06-28 17:20:06 UTC
This is a hard security setup provided by TeXLive upstream.
Why do you think I should change this?

You may discuss this with the TeXLive people as I'd like
*not* to change upstream in this case.

As workaround I suggest

    export TEXMFOUTPUT=/tmp

which should work in your case.
Comment 2 Dr. Werner Fink 2011-07-01 11:29:40 UTC
Ping? Any news on that issue?
Comment 3 Stefan Sauer 2011-07-01 14:51:10 UTC
This got fixed in dblatex, so if OpenSUSE pulls the latest released dblatex it will work too. I was filing the bug as it was a regression. This worked before. I'll leave it up to you, whether you downgrade the new setting or update dblatex for bug resolution.
Comment 4 Thomas Schraitle 2011-08-12 13:34:23 UTC
Thanks Stefan for the bug report and sorry for the late answer.

I've created a submitrequest #78661 and forwarded it to Factory. The latest version of dblatex is in the "Publishing" repo available.

Let me know if this is ok for you. :)
Comment 5 Stefan Sauer 2011-08-12 14:17:43 UTC
Cool & thanks! Fine for me.