On 28.03.07 Guillaume Melquiond (guillaume.melqui...@ens-lyon.fr) wrote:

Hi Guillaume,

> Package: rubber
> Version: 1.1-2
> Severity: normal
> 

https://bugs.debian.org/416494

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

Fixed in rubber 1.2-1 or even earlier. Please confirm so we can close
the issue.

Thanks!
Hilmar

> 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}
> 

-- 
sigmentation fault

Attachment: signature.asc
Description: PGP signature

Reply via email to