[xml/sgml-pkgs] Bug#388387: docbook-utils: docbook2* scripts all
use same temporary files
Toby Speight
T.M.Speight.90 at cantab.net
Wed Sep 20 08:32:52 UTC 2006
Package: docbook-utils
Version: 0.6.14-1
Severity: normal
If I run two docbook2* scripts on the same source file concurrently, I
get an error because they both try to remove the same intermediate
files:
/--------[ docbook2ps test.xml & docbook2pdf test.xml ]
| Using catalogs: /etc/sgml/catalog
| Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#print
| Working on: /tmp/test.xml
| Using catalogs: /etc/sgml/catalog
| Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#print
| Working on: /tmp/test.xml
| rm: cannot remove `test.tmp': No such file or directory
| rm: cannot remove `test.tex': No such file or directory
| x -i print -d /usr/share/docbook-utils/docbook-utils.dsl#print -V paper-type=A4 /usr/share/sgml/declaration/xml.dcl /tmp/test.xml
| Done.
| Done.
\--------
and one of the processes fails with exit value 9.
This isn't a contrived scenario - it bit me because I was using make
with the '-j' argument.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (900, 'stable'), (400, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages docbook-utils depends on:
ii docbook-dsssl 1.79-4 modular DocBook DSSSL stylesheets,
ii jadetex 3.13-6 generator of printable output from
ii lynx 2.8.5-2sarge1.1 Text-mode WWW Browser
ii perl 5.8.8-6.1 Larry Wall's Practical Extraction
ii sgmlspl 1.03ii-31 SGMLS-based example Perl script fo
ii sp 1.3.4-1.2.1-47 James Clark's SGML parsing tools
ii w3m 0.5.1-5 WWW browsable pager with excellent
Versions of packages docbook-utils recommends:
ii docbook-xml 4.4-5 standard XML documentation system,
-- no debconf information
More information about the debian-xml-sgml-pkgs
mailing list