[xml/sgml-pkgs] Bug#833522: docbook2man: doesn't set proper exit code on failure
Michal Čihař
nijel at debian.org
Fri Aug 5 12:05:13 UTC 2016
Package: docbook-utils
Version: 0.6.14-3.2
Severity: normal
File: /usr/bin/docbook2man
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi
this is kind of related to #833496.
The docbook2man command does exit with 0 even if it fails. This makes
debugging build failures quite tricky as you just notice missing file
later and not the failed command:
$ docbook2man man/colorhug-backlight.sgml
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#print
Working on:
/home/nijel/work/debian/colorhug-client/man/colorhug-backlight.sgml
/usr/share/docbook-utils/backends/man: 10:
/usr/share/docbook-utils/backends/man: nsgmls: not found
Done.
$ echo $?
0
Best regards
- --
Michal Čihař | http://cihar.com/ | https://weblate.org/
- -- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages docbook-utils depends on:
ii docbook-dsssl 1.79-9.1
ii jadetex 3.13-17
ii opensp 1.5.2-13
pn perl:any <none>
ii sgmlspl 1.03ii-35
ii texlive-htmlxml [jadetex] 2016.20160623-1
ii w3m 0.5.3-29
Versions of packages docbook-utils recommends:
ii docbook-xml 4.5-7.3
docbook-utils suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXpID3AAoJEJwnsxNCt1EdjkgQAKD9IdFNGed1zi73WGIAYF3b
9j//I9VjTQmQXmMiBXxwPBvPT4RgVKlFwESvYV2e7RwUu6/D4PvSIaM9caY631ah
MwhK3ur8gwfkVZWmNkdeRPdgHo0VtUie/1K41b4K5Xbapjae85tNz1AqAJkE3zZg
OCT461knakpd18kakbaBeHAtf9Y0gIbgr94qzLCj83qRKRISqGb+tTmIEUpLnFZg
ovFAj2ryYWjoojRAXEYJfhGDTdiSIP7rh62qPTXM3t15jKoXY2ciHbfdmPEd8J8a
sAhQNgauZIKK8ELY5W6m1qdwx5jx+Nb8a9DSQGl5Gf5+epWXym58xU0e2/WMUfHO
RSkbWe0gbaEzCarPYQqLjhR62/IIw/P38jGl9DVYSmg5WiovCUXgTbo20U5W20Ez
3umk1b1Q9FpIH4ytulRqOstBEA89kMIvelX8QTq+QJjD1jAk2Fagy5bLhnuxwAIH
C2HZ2VvZLOpm+BBi5Ry5UsaBbId2wBAAD4z+sDCWhywOGS6r0IOAWRUgk4kes5/m
eicvAw0GqBo1LgaxEAeOfblU51hkG/KGcFBp2WdxISASODly2q/VnvmMY9yqsglT
IibkJswDqh6T8+VV08dJSNIAHIpW7R9AcJzxgRGqib/MidMYQlazPWXbbsdCHgVB
vtSBEoFs8FaIVY5w6efY
=9997
-----END PGP SIGNATURE-----
More information about the debian-xml-sgml-pkgs
mailing list