Package: rubber
Version: 1.1-2
Severity: normal

Try to compile an empty document with rubber. The tool will crash with
this message:

Traceback (most recent call last):
  File "/usr/bin/rubber", line 9, in ?
    sys.exit(Main()(sys.argv[1:]))
  File "/usr/share/rubber/rubber/cmdline.py", line 296, in __call__
    return self.main(cmdline)
  File "/usr/share/rubber/rubber/cmdline.py", line 260, in main
    ret = env.final.make(self.force)
  File "/usr/share/rubber/rubber/__init__.py", line 237, in make
    ret = self.run()
  File "/usr/share/rubber/rubber/rules/latex/__init__.py", line 1224, in run
    while self.recompile_needed():
  File "/usr/share/rubber/rubber/rules/latex/__init__.py", line 1270, in
recompile_needed
    if self.deps_modified(getmtime(self.prods[0])):
  File "/usr/lib/python2.4/posixpath.py", line 143, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: 'review.dvi'

Now, for a bit more fun, add a few characters, try again; now it works
fine (fortunately). Then erase the characters to get the empty document
back. Run the tool one last time. No crash this time, but an infinite
compile loop, as the destination file already exists.

For the sake of completeness, here is an empty document with a few
characters commented out:

\documentclass{article}
\begin{document}
%bli
\end{document}

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages rubber depends on:
ii  python                        2.4.4-2    An interactive high-level object-o
ii  tetex-bin                     3.0-30     The teTeX programs

rubber recommends no packages.

-- no debconf information



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

Reply via email to