[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1057548: closed by Debian FTP Masters <ftpmaster@ftp-master.debian.org> (reply to Noah Meyerhans <noahm@debian.org>) (Bug#1057548: fixed in cloud-init 24.1.1-1)



found 1057548 24.1.1-1
retitle 1057548 cloud-init: FTBFS: missing Build-Depends on passwd
tags 1057548 + patch
thanks

Hello.

I don't quite understand why this bug was closed with this changelog entry:

   * New upstream version 24.1 (Closes: #1057548)

I did not ask for a new upstream version to be packaged, and the upload
did not really fix the bug. I assume you just misdiagnosed it.

The build log contains this line:

    RuntimeError: Unable to lock user account 'foo_user'. No tools available.   Tried: ['passwd', 'usermod'].

and in fact such line disappears when passwd is present in the chroot.

The problem is that passwd is no longer build-essential in trixie/sid, so if it's
required for building, it needs to be added to Build-Depends.

To reproduce, please try using debootstrap from trixie/sid, which finally stops
installing a few of required-but-not-build-essential packages.

Trivial patch attached.

Thanks.
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends:
  debhelper-compat (= 13),
  dh-python,
  iproute2,
+ passwd,
  po-debconf,
  procps <!nocheck>,
  pylint,

Reply to: