[xml/sgml-pkgs] Bug#615934: debiandoc-sgml: postinst provokes warnings from sgml-base >= 1.99.0

Jonathan Nieder jrnieder at gmail.com
Tue Mar 1 07:00:51 UTC 2011


Package: debhelper
Version: 8.1.2
Severity: minor
Justification: cosmetic
X-Debbugs-Cc: sgml-base at packages.debian.org

Hi,

/usr/share/debhelper/autoscripts/postinst-sgmlcatalog contains:

	if [ "$1" = "configure" ]; then
		rm -f #CENTRALCAT#
		for ordcat in #ORDCATS#; do
			update-catalog --quiet --add #CENTRALCAT# ${ordcat}
		done
		update-catalog --quiet --add --super #CENTRALCAT#
	fi

but the command is supposed to be called update-sgmlcatalog (see
Bug#88008) in wheezy (I think?).  Rather than a smooth transition, we
get a package in experimental with the following change:

  * tools/update-catalog: Documented with POD. Renamed to
    tools/update-sgmlcatalog (closes: #88008). Further changes:
    - Enable Perl warnings.
    - If called as update-catalog (compatibility), print a warning.
    - Do not exit with an error using --help/--version (closes: #391609).
    - Fixed --version to print the version and not the help.

so I actually don't know what one is supposed to do --- if you use the
new name, your packages won't work with sgml-base (<< 1.99.0), but if
you use the old name, your packages will look buggy with sgml-base
(>= 1.99.0) and drown out more meaningful messages.

But, um, I think you're supposed to do something.  Could you talk it
over with Daniel?

Thanks much,
Jonathan





More information about the debian-xml-sgml-pkgs mailing list