#1033417 newt: missing Build-Depends docbook

Package:
newt
Source:
newt
Submitter:
Henry N.
Date:
2023-03-25 12:42:02 UTC
Severity:
normal
Tags:
#1033417#5
Date:
2023-03-24 17:56:22 UTC
From:
To:
Dear Maintainer,

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/newt-0.52.23'
make: *** [debian/rules:14: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned
exit status 2

Workaround: After installing "docbook" it works.

#1033417#12
Date:
2023-03-25 10:53:32 UTC
From:
To:
Hi Henry,

* Henry N. <henrynmail-debian@yahoo.com> [2023-03-24 17:56]:

I can't reproduce this with:

$ sbuild --no-arch-all --profiles=nocheck,noinsttest,noudeb -d unstable newt

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?

Downgrading accordingly.

Cheers Jochen

#1033417#17
Date:
2023-03-25 12:28:27 UTC
From:
To:
Jochen Sprickerhof <jspricke@debian.org> wrote:

Yes, that works.
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

#1033417#22
Date:
2023-03-25 12:38:07 UTC
From:
To:
Hello Jochen,

this error is the same as in base-passwd, is not critical, because autobild works. Please see answer #10 there
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033422#10