[xml/sgml-pkgs] Bug#511630: FTBFS: Missing Build-Depends-Indep on docbook

Stephen Depooter stephend at xandros.com
Wed Jan 14 14:54:52 UTC 2009


On Tuesday 13 January 2009 05:21:58 pm Daniel Leidert wrote:
> Am Montag, den 12.01.2009, 16:50 -0500 schrieb Stephen Depooter:
> > On a Lenny System, and I suspect on Debian unstable as well,
> > docbook-utils appears to be missing a Build-Dependency on docbook.  This
> > should be a Build-Depends-Indep,
>
> Can you explain this a bit more? docbook-dsssl depends on 'docbook |
> docbook-xml'. I tested with both and it built fine. Which build issue do
> you observe (or: why "FTBFS"?)?
>
> Regards, Daniel

[snip]
make[3]: Entering directory 
`/home/builder/builds/build-rY9ytR/docbook-utils-0.6.14-1.1/doc/refentry'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/home/builder/builds/build-rY9ytR/docbook-utils-0.6.14-1.1/doc/refentry'
Making all in man
make[3]: Entering directory 
`/home/builder/builds/build-rY9ytR/docbook-utils-0.6.14-1.1/doc/man'
SGML_CATALOG_FILES=/etc/sgml/catalog \
        SGML_SEARCH_PATH=../../doc:.. \
                nsgmls ../../doc/docbook-utils.sgml | \
                sgmlspl ../../helpers/docbook2man-spec.pl
nsgmls:../../doc/docbook-utils.sgml:1:55:W: cannot generate system identifier 
for public text "-//OASIS//DTD DocBook V3
.1//EN"
nsgmls:../../doc/docbook-utils.sgml:9:0:E: reference to entity "BOOK" for 
which no system identifier could be generated
nsgmls:../../doc/docbook-utils.sgml:1:0: entity was defined here
nsgmls:../../doc/docbook-utils.sgml:9:0:E: DTD did not contain element 
declaration for document type name
nsgmls:../../doc/docbook-utils.sgml:11:11:E: there is no attribute "LANG"
nsgmls:../../doc/docbook-utils.sgml:11:19:E: there is no attribute "ID"
nsgmls:../../doc/docbook-utils.sgml:11:34:E: element "BOOK" undefined
nsgmls:../../doc/docbook-utils.sgml:12:11:E: element "BOOKINFO" undefined
nsgmls:../../doc/docbook-utils.sgml:13:10:E: element "TITLE" undefined
nsgmls:../../doc/docbook-utils.sgml:14:12:E: element "PUBDATE" undefined
nsgmls:../../doc/docbook-utils.sgml:16:16:E: element "LEGALNOTICE" undefined
[snip]

Here I have a whole pile of undefined elements, which ends with.

nsgmls:../../doc/refentry/jw.sgml:82:12:E: element "ARG" undefined
nsgmls:../../doc/refentry/jw.sgml:82:20:E: element "OPTION" undefined
nsgmls:I: maximum number of errors (200) reached; change with -E option
Can't call method "value" on an undefined value 
at ../../helpers/docbook2man-spec.pl line 249, <STDIN> line 337.
make[3]: *** [docbook2man-spec.pl.1] Error 9
make[3]: Leaving directory 
`/home/builder/builds/build-rY9ytR/docbook-utils-0.6.14-1.1/doc/man'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/builder/builds/build-rY9ytR/docbook-utils-0.6.14-1.1/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/builder/builds/build-rY9ytR/docbook-utils-0.6.14-1.1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2



My solution was to add a Build-Depends on docbook, I didn't realize that 
docbook-dssl had a docbook|docbook-xml dependency.  Since it failed without 
docbook installed and I did have the build dependencies satisfied, I must 
have had docbook-xml installed.  

I dealt with this on Oct 27 apparently based on my log files, and am just 
following up on changes and fixes I have made while rebuilding Lenny 
packages, so I may be missing some of the details.

I should note that this was on an armel build, although I don't think that 
should make a difference in this case.


-- 
Stephen Depooter
<stephend at xandros.com>





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