Package: po4a
Version: 0.47-2
Severity: normal

Hello,
this used to be tracked as #280882 but was closed some time ago. I'm
not sure if it is the same problem, thus opening a new bug.

Problem:
When I run:
docbook-to-man $(MANDIR)/goobox.de.sgml > 
debian/goobox/usr/share/man/de/man1/goobox.1

Then I see that po4a has created an invalid SGML file:
/usr/bin/onsgmls:debian/manpage/goobox.de.sgml:37:30:E: document type does not 
allow element "REFENTRYTITLE" here; assuming missing "CITEREFENTRY" start-tag
/usr/bin/onsgmls:debian/manpage/goobox.de.sgml:37:30: open elements: REFENTRY 
REFMETA[1] REFENTRYTITLE[1]
/usr/bin/onsgmls:debian/manpage/goobox.de.sgml:40:19:E: end tag for 
"CITEREFENTRY" omitted, but OMITTAG NO was specified
/usr/bin/onsgmls:debian/manpage/goobox.de.sgml:37:30: start tag was here 
/usr/bin/onsgmls:debian/manpage/goobox.de.sgml:40:19: open elements: REFENTRY 
REFMETA[1] REFENTRYTITLE[1] CITEREFENTRY[1] (MANVOLNUM[1])

Applying (after po4a, before docbook-to-man):
        perl -i -p -e 's#  <refentrytitle>\&dhucpackage;#\&dhucpackage;#ms' 
$(MANDIR)/goobox.de.sgml
        perl -i -p -e 's#^\s*</refentrytitle>##' $(MANDIR)/goobox.de.sgml
fixes the issue, i.e. docbook-to-man suceeds.

You can find the entire recipie in debian/rules in goobox (any 
version in the archive).

This occurs on current unstable as well.

Do not hesitate to ask for more information if needed.

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.20samd.01-grsec (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages po4a depends on:
ii  gettext                           0.19.8.1-2
ii  libsgmls-perl                     1.03ii-36
ii  opensp                            1.5.2-13+b1
ii  perl                              5.24.1-3+deb9u1
ii  perl-modules-5.22 [perl-modules]  5.22.2-5
ii  perl-modules-5.24 [perl-modules]  5.24.1-3+deb9u1

Versions of packages po4a recommends:
ii  liblocale-gettext-perl     1.07-3+b1
ii  libterm-readkey-perl       2.37-1
ii  libtext-wrapi18n-perl      0.06-7.1
ii  libunicode-linebreak-perl  0.0.20160702-1+b1

po4a suggests no packages.

-- no debconf information

-- 
      Dr. Helge Kreutzmann                     deb...@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to