Control: severity -1 normal On Fri, Mar 24, 2023 at 07:30:26PM +0000, 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]