• Bug#265240: rubber: Could not run latex.

    From Wouter Koolen-Wijkstra@1:229/2 to All on Thu Aug 12 13:00:11 2004
    From: [email protected]

    Package: rubber
    Version: 0.99.7-6
    Severity: grave
    Justification: renders package unusable

    Dear package maintainer,

    When starting rubber on any latex file, it outputs:
    $ rubber Thinker.tex
    compiling Thinker.tex...
    Could not run latex.
    There were errors compiling Thinker.tex.

    Digging a bit deeper, you get:
    rubber -v Thinker.tex
    compiling Thinker.tex...
    executing: latex \nonstopmode\input{Thinker.tex}
    Could not run latex.
    There were errors compiling Thinker.tex.

    Issuing the proposed command myself:
    $ latex \nonstopmode\input{Thinker.tex}
    This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5)
    entering extended mode
    ! I can't find file `nonstopmodeinput{Thinker.tex}'.
    <*> nonstopmodeinput{Thinker.tex}

    Please type another input file name:
    (/usr/share/texmf/tex/latex/tools/.tex
    LaTeX2e <2001/06/01>
    Babel <v3.7h> and hyphenation patterns for american, french, ngerman,
    dutch, la
    tin, nohyphenation, loaded.
    File ignored)
    *
    ! Emergency stop.
    <*> nonstopmodeinput{Thinker.tex}

    No pages of output.
    Transcript written on .log.

    When I add apostrophs it works:
    $ latex '\nonstopmode\input{Thinker.tex}'
    This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5)
    entering extended mode
    LaTeX2e <2001/06/01>
    Babel <v3.7h> and hyphenation patterns for american, french, ngerman,
    dutch, la
    tin, nohyphenation, loaded.

    (./Thinker.tex (/usr/share/texmf/tex/latex/base/article.cls
    Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size11.clo)) (./Thinker.aux) [1] (./Thinker.aux) )
    Output written on Thinker.dvi (1 page, 2772 bytes).
    Transcript written on Thinker.log.

    I am not really sure, but maybe this is caused by my choice of dash for /bin/sh. It seems to be related to argument escaping.

    Thanks,

    Wouter



    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7optimized.1.3
    Locale: LANG=C, LC_CTYPE=C

    Versions of packages rubber depends on:
    ii python 2.3.4-1 An interactive high-level object-o ii tetex-bin 2.0.2-17 The teTeX binary files

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Emmanuel Beffara@1:229/2 to Wouter Koolen-Wijkstra on Thu Aug 12 15:30:19 2004
    From: [email protected]

    Hello,

    On Thu, Aug 12, 2004 at 12:43:54PM +0200, Wouter Koolen-Wijkstra wrote:

    When starting rubber on any latex file, it outputs:
    $ rubber Thinker.tex
    compiling Thinker.tex...
    Could not run latex.
    There were errors compiling Thinker.tex.

    Obviously this is not supposed to happen...

    [...]
    I am not really sure, but maybe this is caused by my choice of dash
    for /bin/sh. It seems to be related to argument escaping.

    No, this doesn't depend on the shell used, actually no shell is called
    from Rubber.

    I have reset my default shell to bash, and the problem persist. I think
    the problem is related to e-TeX (coming from tetex-bin, the default
    debian tex package)

    That is strange, I also use the package tetex-bin (from testing) and
    what I get with the command "latex" is really TeX and not e-TeX. Anyway,
    this is indeed the problem:

    The line 'the log file is not produced by TeX' notably is strange.

    That is because the log starts with "This is e-TeX" instead of "This is
    TeX", and Rubber 0.99.7 is confused by that. This is a problem I spotted
    and fixed (in the CVS) some time ago, it will be solved in the next
    version, to be released soon.

    Sorry for the inconvenience...

    --
    Emmanuel Beffara


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)