[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#824654: marked as done (texlive-latex-base: lualatex -shell-escape does not seem to execute shell commands anymore)



Your message dated Wed, 18 May 2016 22:36:35 +0900
with message-id <20160518133635.GL4108@logic.at>
and subject line Re: Bug#824654: texlive-latex-base: lualatex -shell-escape does not seem to execute shell commands anymore
has caused the Debian Bug report #824654,
regarding texlive-latex-base: lualatex -shell-escape does not seem to execute shell commands anymore
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
824654: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824654
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: texlive-latex-base
Version: 2016.20160512-1
Severity: normal

Dear Maintainer,

My lualatex documents stopped to build with the update to
2016.20160512-1.  The issue seems related to -shell-escape not working
as expected with lualatex.

The following is an example that breaks with the new lualatex, but
still works with xelatex.  It uses ifplatform, but similar errors can
be obtained using other packages relying on -shell-escape
(e.g. minted).


% cat main.tex
\documentclass{article}
\usepackage{ifplatform}
\begin{document}
Foo bar.
\end{document}

% xelatex  -shell-escape main.tex
This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016/Debian) (preloaded format=xelatex)
 \write18 enabled.
entering extended mode
(./main.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 81 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/ifplatform/ifplatform.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/catchfile.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty)) (./main.w18)
) (./main.aux) [1] (./main.aux) )
Output written on main.pdf (1 page).
Transcript written on main.log.

% lualatex  -shell-escape main.tex
This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian)
 system commands enabled.
(./main.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 1 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/ifplatform/ifplatform.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/luatex-loader.sty
(/usr/share/texlive/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua)))
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/catchfile.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty))
uname -s > "main.w18"

! Package catchfile Error: File `main.w18' not found.

See the catchfile package documentation for explanation.
Type  H <return>  for immediate help.
 ...

l.93     \CatchFileDef\@tempa{\ip@file}{}

?




Here are the main.log and main.fls produced by the above
command + -recorder.


################## main.log

This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian)  (format=lualatex 2016.5.17)  18 MAY 2016 14:25
 system commands enabled.
**main.tex
(./main.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 1 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/ifplatform/ifplatform.sty
Package: ifplatform 2010/10/22 v0.4 Testing for the operating system

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2016/05/10 v0.21 Utility functions of pdfTeX for LuaTeX (HO)


(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX detected.
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2016/04/04 v3.0 Provides the ifpdf switch
)
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode not found.

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/luatex-loader.sty
Package: luatex-loader 2016/05/10 v0.5 Lua module loader (HO)

(/usr/share/texlive/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua))
\pdftexcmds@toks=\toks14
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/catchfile.sty
Package: catchfile 2011/03/01 v1.6 Catch the contents of a file (HO)

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
))
uname -s > "main.w18"

! Package catchfile Error: File `main.w18' not found.

See the catchfile package documentation for explanation.
Type  H <return>  for immediate help.
 ...

l.93     \CatchFileDef\@tempa{\ip@file}{}

? x


Here is how much of LuaTeX's memory you used:
 554 strings out of 495119
 100000,89155 words of node,token memory allocated 325 words of node memory still in use:
   1 hlist, 1 rule, 1 dir, 4 glue, 40 glue_spec, 4 if_stack, 1 write nodes
   avail lists: 2:8,3:1,4:1,5:1,7:2,9:3
 4136 multiletter control sequences out of 65536+600000
 15 fonts using 632831 bytes
 30i,0n,17p,166b,36s stack positions out of 5000i,500n,10000p,200000b,100000s

warning  (pdf backend): no pages of output.

PDF statistics: 0 PDF objects out of 1000 (max. 8388607)
 0 named destinations out of 1000 (max. 131072)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)


###################### main.fls

PWD /home/adl/git/hdr
INPUT /var/lib/texmf/web2c/luatex/lualatex.fmt
INPUT ./main.tex
OUTPUT main.log
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr10.tfm
INPUT /usr/share/texlive/texmf-dist/tex/latex/ifplatform/ifplatform.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/ifplatform/ifplatform.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/luatex-loader.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/luatex-loader.sty
INPUT /usr/share/texlive/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/catchfile.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/catchfile.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty


##################################
other files

######################################
 List of ls-R files

-rw-r--r-- 1 root root 2931 May 17 09:16 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Feb 22 15:54 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 May 12 05:34 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 May 12 05:34 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
######################################
 Config files
-rw-r--r-- 1 root root 1464 Apr 25 16:47 /etc/texmf/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 May 12 05:34 /usr/share/texmf/web2c/fmtutil.cnf -> /var/lib/texmf/fmtutil.cnf-DEBIAN
lrwxrwxrwx 1 root root 32 May 12 05:34 /usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 4967 May 17 09:16 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root  283 Oct 14  2015 mktex.cnf
-rw-r--r-- 1 root root 1464 Apr 25 16:47 texmf.cnf
######################################
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf
055e06548bac99958d8ab2dd1248f2b4  /etc/texmf/texmf.d/80tex4ht.cnf
1df66bc319cec731e202eaf39f5d85e1  /etc/texmf/texmf.d/96JadeTeX.cnf

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages texlive-latex-base depends on:
ii  tex-common        6.05
ii  texlive-base      2016.20160512-1
ii  texlive-binaries  2016.20160513.41080-1

Versions of packages texlive-latex-base recommends:
ii  texlive-latex-base-doc  2016.20160512-1

texlive-latex-base suggests no packages.

Versions of packages tex-common depends on:
ii  dpkg  1.18.7
ii  ucf   3.0036

Versions of packages tex-common suggests:
ii  debhelper  9.20160403

Versions of packages texlive-latex-base is related to:
ii  tex-common        6.05
ii  texlive-binaries  2016.20160513.41080-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi,

> My lualatex documents stopped to build with the update to
> 2016.20160512-1.  The issue seems related to -shell-escape not working
> as expected with lualatex.

That is expected - luatex is beta and APIs have changed
considerable. One thing that has changed is that write18 is
not supported anymore, and lua callbacks need to be used.

Many packages need updating, but it was always said loud and clear
that luatex is beta and APIs might change.

Closing this bug, to be expected.

PS: You can *probably* get back to normal (but I don't think in this
case) by
	\usepackage{luatex85}

Ah, and BTW, a future upload *might* fix this as the oberdiek
bundle has seen some updates that might work with newer luatex.

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------

--- End Message ---

Reply to: