Jochen Sprickerhof <jspri...@debian.org> wrote: 

>Hi Henry,
>
>* Henry N. <henrynmail-deb...@yahoo.com> [2023-03-24 17:56]:
>>build in a minimal build environmet fails for docbook2html.
>>
>># apt source newt
>># cd newt-0.52.23
>># apt build-dep newt
>>... all dependency installed ...
>># dpkg-buildpackage -B "-Pnocheck noinsttest noudeb" -uc -us
>>...
>>openjade:/tmp/newt-0.52.23/tutorial/../tutorial.sgml:1:61:W: cannot
>>generate system identifier for public text "-//Davenport//DTD DocBook
>>V3.0//EN"
>>openjade:/tmp/newt-0.52.23/tutorial/../tutorial.sgml:1:61:E: reference
>>to entity "ARTICLE" for which no system identifier could be generated
>>...
>>openjade:I: maximum number of errors (200) reached; change with -E
>>option
>>make[1]: *** [debian/rules:53: override_dh_auto_build] Error 8
>>make[1]: Leaving directory '/tmp/newt-0.52.23'
>>make: *** [debian/rules:14: build-arch] Error 2
>>dpkg-buildpackage: error: debian/rules build-arch subprocess returned
>>exit status 2
>
>I can't reproduce this with:
>
>$ sbuild --no-arch-all --profiles=nocheck,noinsttest,noudeb -d unstable newt

Yes, that works.

>>Workaround: After installing "docbook" it works.
>
>newt build depends on docbook-utils that depends on docbook-dsssl that 
>depends on docbook so your minimal system should have installed that 
>already. Can you please verify?

 docbook-dsssl depends on docbook *or* docbook-xml.
docbook-xml has only a suggestion to docbook.
It fails, if docbook-xml is installed and docbook is not installed.

Reproducable way in typically installation of Debian bookworm:
# apt remove docbook
# apt install docbook-xml
# apt source newt
# cd newt-0.52.23
# apt build-dep newt
# dpkg-buildpackage -B --build-profiles=nocheck,noinsttest,noudeb -uc -us

Henry

Reply via email to