Bug#1033417: newt: missing Build-Depends docbook

2023-03-25 Thread Henry Nestler
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



Bug#1033417: newt: missing Build-Depends docbook

2023-03-25 Thread henrynmail-deb...@yahoo.com
Jochen Sprickerhof  wrote: 

>Hi Henry,
>
>* Henry N.  [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



Bug#1033417: newt: missing Build-Depends docbook

2023-03-25 Thread Jochen Sprickerhof

Hi Henry,

* Henry N.  [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/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


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?


Downgrading accordingly.

Cheers Jochen


signature.asc
Description: PGP signature


Bug#1033417: newt: missing Build-Depends docbook

2023-03-24 Thread Henry N.
Package: newt
Version: 0.52.23-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Usertags: rebootstrap

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.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-16-amd64 (SMP w/2 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: unable to detect