← Back to team overview

kernel-packages team mailing list archive

[Bug 1552398] Re: sgml2html exits 0, even though LinuxDocTools.pm encounters errors

 

This bug was fixed in the package linuxdoc-tools - 0.9.72-1

---------------
linuxdoc-tools (0.9.72-1) unstable; urgency=medium

  * New upstream 0.9.72 release. Some changes:
    - LinuxDocTools.pm::process_file: Fail if pipe to nsgmls fails
      (LP: #1552398).
    - Use a Makefile for final doc build.
    - Handle perl 5.22 deprecation of unescaped left brace in regular
      expressions inside fmt_latex2e.pl.
    - Upgrade for some deprecated latex2e commands in fmt_latex2e.pl.
    - Use generic ${MAKE} in doc/Makedoc.sh and always honour ${PREFIX}.
    - Makefile.in: Use ${INSTALL_SCRIPT} to install linuxdoc perl script.
  * debian/{rules,control}:
    - Improve hardening of build flags.
    - Bump debhelper compat version to 9.
  * debian/control:
    - Change versioned Conflicts to Breaks.
    - Use encrypted transport protocol for Vcs-* URI.
    - Bump Standards-Version. No changes required.

 -- Agustin Martin Domingo <agmartin@xxxxxxxxxx>  Wed, 04 May 2016
19:11:58 +0200

** Changed in: linuxdoc-tools (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linuxdoc-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1552398

Title:
  sgml2html exits 0, even though LinuxDocTools.pm encounters errors

Status in linuxdoc-tools package in Ubuntu:
  Fix Released

Bug description:
  
  Processing good (valid) files works fine.  With a very small bad sample file, you can see below that the sgml2html utility (which is calling into /usr/share/perl5/LinuxDocTools.pm) is exiting zero even though it probably should simply die.

  $ sgml2html  --split=0 linuxdoc-bad.sgml  
  Processing file linuxdoc-bad.sgml
  nsgmls:<OSFD>0:13:4:E: end tag for "ARTICLE" omitted, but its declaration does not permit this
  nsgmls:<OSFD>0:2:0: start tag was here
  $ echo $?
  0

  
  -Martin

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linuxdoc-tools 0.9.69-2
  ProcVersionSignature: Ubuntu 3.13.0-79.123-generic 3.13.11-ckt33
  Uname: Linux 3.13.0-79-generic x86_64
  NonfreeKernelModules: ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs veth zram iptable_filter ip_tables x_tables bridge stp llc kvm_intel kvm crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper lp serio_raw cryptd i2c_piix4 parport mac_hid zfs zunicode zcommon znvpair spl zavl btrfs xor raid6_pq libcrc32c floppy psmouse pata_acpi
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: amd64
  Date: Wed Mar  2 20:01:56 2016
  ProcEnviron:
   TERM=xterm
   SHELL=/bin/bash
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   XDG_RUNTIME_DIR=<set>
  SourcePackage: linuxdoc-tools
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linuxdoc-tools/+bug/1552398/+subscriptions


References