Processed: Re: Bug#1033422: base-passwd: missing Build-Depends docbook

2023-03-24 Thread Debian Bug Tracking System
Processing control commands:

> severity -1 normal
Bug #1033422 [base-passwd] base-passwd: missing Build-Depends docbook
Severity set to 'normal' from 'serious'

-- 
1033422: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033422
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1033422: base-passwd: missing Build-Depends docbook

2023-03-24 Thread Colin Watson
Control: severity -1 normal

On Fri, Mar 24, 2023 at 07:30:26PM +, henrynmail-deb...@yahoo.com wrote:
> Package: base-passwd
> Version: 3.6.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 remove docbook && apt autoremove
> # apt build-dep base-passwd
> ... some dependency installed ...
> # dpkg-buildpackage -j1 -B "-Pnocheck noinsttest noudeb" -uc -us

It builds fine for me in sbuild with an unstable chroot, which
definitely doesn't have docbook installed; and similarly, when I follow
your reproduction recipe in a clean chroot, it still builds fine.

In fact, your build environment isn't minimal.  Here's the true
reproduction recipe:

  apt install docbook-xml
  apt build-dep base-passwd
  dpkg-buildpackage [etc.]

base-passwd Build-Depends: docbook-utils Depends: docbook-dsssl Depends:
docbook (>= 3.1) | docbook-xml.  This means that having docbook-xml
already installed causes apt not to install docbook.

The RC policy (https://release.debian.org/testing/rc_policy.txt) is that
packages must autobuild, and autobuilders don't randomly have
non-build-essential packages such as docbook-xml installed, so this is
not release-critical.  It seems reasonable to add an explicit
Build-Depends to fix it, but I don't think I need to trouble the release
team requesting a freeze exception to get it into bookworm; it can wait
until the next release.  In the meantime, I recommend that you make your
minimal build environment truly minimal - it shouldn't have
non-build-essential packages installed.

Thanks,

-- 
Colin Watson (he/him)  [cjwat...@debian.org]



Bug#1033422: base-passwd: missing Build-Depends docbook

2023-03-24 Thread henrynmail-deb...@yahoo.com
Package: base-passwd
Version: 3.6.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 remove docbook && apt autoremove
# apt build-dep base-passwd
... some dependency installed ...
# dpkg-buildpackage -j1 -B "-Pnocheck noinsttest noudeb" -uc -us
...
make[3]: Entering directory '/tmp/base-passwd-3.6.1/doc'
docbook2html --nochunks users-and-groups.sgml
...
openjade:/tmp/base-passwd-3.6.1/doc/users-and-groups.sgml:1:54:W: 
cannotgenerate system identifier for public text "-//OASIS//DTD DocBookV4.2//EN"
openjade:/tmp/base-passwd-3.6.1/doc/users-and-groups.sgml:1:54:E:
reference to entity "BOOK" for which no system identifier could be generated
...
openjade:I: maximum number of errors (200) reached; change with -E
option
make[3]: *** [Makefile:455: users-and-groups.html] Error 8
make[3]: Leaving directory '/tmp/base-passwd-3.6.1/doc'
make[2]: *** [Makefile:524: all-recursive] Error 1
make[2]: Leaving directory '/tmp/base-passwd-3.6.1'
make[1]: *** [Makefile:348: all] Error 2
make[1]: Leaving directory '/tmp/base-passwd-3.6.1'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:3: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-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)
Foreign Architectures: i586

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

Versions of packages base-passwd depends on:
ii  libc6  2.36-8
ii  libdebconfclient0  0.267
ii  libselinux1    3.4-1+b5

Versions of packages base-passwd recommends:
ii  debconf [debconf-2.0]  1.5.82

base-passwd suggests no packages.

-- debconf information excluded