Your message dated Fri, 09 Aug 2024 15:20:23 +0000
with message-id <e1scrpj-004grq...@fasolo.debian.org>
and subject line Bug#1070850: fixed in cfengine3 3.24.0-2
has caused the Debian Bug report #1070850,
regarding cfengine3: missing build-depends on passwd, needed for usermod
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1070850: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070850
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: cfengine3
Version: 3.21.4-1.1
Severity: important
Tags: ftbfs
X-Debbugs-Cc: debian-ri...@lists.debian.org
User: debian-ri...@lists.debian.org
Usertags: riscv64

Dear maintainer,

cfengine3 fails to build from source on riscv64, here is the relevant
part of the log:

| checking for useradd... no
| checking for usermod... no
| checking for userdel... no

...

| /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
-I./../libpromises -I./../libntech/libutils -I./../libcfnet -I./../cf-check 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99       -I/usr/include/libxml2   
-Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -g -Wall 
-Wno-pointer-sign -Werror=implicit-function-declaration -Wunused-parameter -O2 
-DNDEBUG -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security       -I/usr/include/libxml2   -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -g -Wall 
-Wno-pointer-sign -Werror=implicit-function-declaration -Wunused-parameter -O2 
-DNDEBUG -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o verify_users_pam.lo verify_users_pam.c
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./../libpromises 
-I./../libntech/libutils -I./../libcfnet -I./../cf-check -Wdate-time 
-D_FORTIFY_SOURCE=2 -std=gnu99 -I/usr/include/libxml2 -Wdate-time 
-D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -g -Wall -Wno-pointer-sign 
-Werror=implicit-function-declaration -Wunused-parameter -O2 -DNDEBUG -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-I/usr/include/libxml2 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -g -Wall -Wno-pointer-sign 
-Werror=implicit-function-declaration -Wunused-parameter -O2 -DNDEBUG -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -c verify_users_pam.c 
 -fPIC -DPIC -o .libs/verify_users_pam.o
| verify_users_pam.c: In function ‘SetAccountLockExpiration’:
| verify_users_pam.c:850:50: warning: unused parameter ‘puser’ 
[-Wunused-parameter]
|   850 | static bool SetAccountLockExpiration(const char *puser, bool lock)
|       |                                      ~~~~~~~~~~~~^~~~~
| verify_users_pam.c:850:62: warning: unused parameter ‘lock’ 
[-Wunused-parameter]
|   850 | static bool SetAccountLockExpiration(const char *puser, bool lock)
|       |                                                              ^
| verify_users_pam.c: In function ‘DoCreateUser’:
| verify_users_pam.c:1565:38: warning: unused parameter ‘puser’ 
[-Wunused-parameter]
|  1565 | static bool DoCreateUser(const char *puser, const User *u, enum 
cfopaction action,
|       |                          ~~~~~~~~~~~~^~~~~
| verify_users_pam.c:1565:57: warning: unused parameter ‘u’ [-Wunused-parameter]
|  1565 | static bool DoCreateUser(const char *puser, const User *u, enum 
cfopaction action,
|       |                                             ~~~~~~~~~~~~^
| verify_users_pam.c:1565:76: warning: unused parameter ‘action’ 
[-Wunused-parameter]
|  1565 | static bool DoCreateUser(const char *puser, const User *u, enum 
cfopaction action,
|       |                                                            
~~~~~~~~~~~~~~~~^~~~~~
| verify_users_pam.c:1566:39: warning: unused parameter ‘ctx’ 
[-Wunused-parameter]
|  1566 |                          EvalContext *ctx, const Attributes *a, const 
Promise *pp)
|       |                          ~~~~~~~~~~~~~^~~
| verify_users_pam.c:1566:62: warning: unused parameter ‘a’ [-Wunused-parameter]
|  1566 |                          EvalContext *ctx, const Attributes *a, const 
Promise *pp)
|       |                                            ~~~~~~~~~~~~~~~~~~^
| verify_users_pam.c:1566:80: warning: unused parameter ‘pp’ 
[-Wunused-parameter]
|  1566 |                          EvalContext *ctx, const Attributes *a, const 
Promise *pp)
|       |                                                                 
~~~~~~~~~~~~~~~^~
| verify_users_pam.c: In function ‘DoRemoveUser’:
| verify_users_pam.c:1619:62: warning: unused parameter ‘action’ 
[-Wunused-parameter]
|  1619 | static bool DoRemoveUser (const char *puser, enum cfopaction action)
|       |                                              ~~~~~~~~~~~~~~~~^~~~~~
| verify_users_pam.c: In function ‘DoModifyUser’:
| verify_users_pam.c:1642:18: error: ‘USERMOD’ undeclared (first use in this 
function)
|  1642 |     strcpy (cmd, USERMOD);
|       |                  ^~~~~~~
| verify_users_pam.c:1642:18: note: each undeclared identifier is reported only 
once for each function it appears in
| verify_users_pam.c: At top level:
| verify_users_pam.c:1268:13: warning: ‘SupportsOption’ defined but not used 
[-Wunused-function]
|  1268 | static bool SupportsOption(const char *cmd, const char *option)
|       |             ^~~~~~~~~~~~~~
| verify_users_pam.c:755:13: warning: ‘PlatformSupportsExpirationLock’ defined 
but not used [-Wunused-function]
|   755 | static bool PlatformSupportsExpirationLock(void)
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| verify_users_pam.c:79:20: warning: ‘GetPlatformSpecificExpirationDate’ 
defined but not used [-Wunused-function]
|    79 | static const char *GetPlatformSpecificExpirationDate()
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| make[3]: *** [Makefile:835: verify_users_pam.lo] Error 1
| make[3]: *** Waiting for unfinished jobs....
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/cf-agent'
| make[2]: *** [Makefile:722: all-recursive] Error 1
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| make[1]: *** [Makefile:609: all] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j4 returned exit code 2
| make: *** [debian/rules:16: build-arch] Error 25
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2

A full build log is available here:
https://buildd.debian.org/status/fetch.php?pkg=cfengine3&arch=riscv64&ver=3.21.4-1.1&stamp=1715040367&raw=0

The issue happens because the usermod binary is not found during the
build. Indeed this is provided by the passwd package, and while it has
priority required, starting with debootstrap from trixie [1],
it is not guaranteed to be installed on a system or a chroot.

This does not happens on other official architectures as their chroot is
created by the stable version of debootstrap, but is fully reproducible
even on amd64 by using a debootstrap from testing or sid.

Therefore could you please add the passwd package as a build-depends of
cfengine3?

Regards
Aurelien


[1] 
https://tracker.debian.org/news/1472578/accepted-debootstrap-10133-source-into-unstable/
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837060

--- End Message ---
--- Begin Message ---
Source: cfengine3
Source-Version: 3.24.0-2
Done: Bastian Germann <b...@debian.org>

We believe that the bug you reported is fixed in the latest version of
cfengine3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1070...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <b...@debian.org> (supplier of updated cfengine3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 09 Aug 2024 16:58:36 +0200
Source: cfengine3
Architecture: source
Version: 3.24.0-2
Distribution: unstable
Urgency: medium
Maintainer: CFEngine Team <team+cfeng...@tracker.debian.org>
Changed-By: Bastian Germann <b...@debian.org>
Closes: 1070850 1078245
Changes:
 cfengine3 (3.24.0-2) unstable; urgency=medium
 .
   * Team upload
   * Import changes from previous NMUs:
 .
   [ Emanuele Rocca ]
   * d/patches/time-t-long-long.patch: coerce time_t to long long (closes: 
#1078245)
 .
   [ Andreas Beckmann ]
   * Switch B-D to pkgconf
   * Add B-D: passwd (closes: #1070850)
Checksums-Sha1:
 10c1d1380a5232e6a269a3760d5e08a10b14084b 2264 cfengine3_3.24.0-2.dsc
 50a774325347504cafad3ff4f2fe25dc920bd98d 21892 cfengine3_3.24.0-2.debian.tar.xz
 38d7b96da87d5c1b1bed036f2ed566aebd7cfce6 7206 
cfengine3_3.24.0-2_source.buildinfo
Checksums-Sha256:
 1db73ca6546e9f18fe9b7d41144ad1bbb442fb7b67e4a9ce03867064b91938d8 2264 
cfengine3_3.24.0-2.dsc
 6cab20e96194b783d4ad2acf0c854b2a8e3c8af57f79af086f0f5e33d77426fa 21892 
cfengine3_3.24.0-2.debian.tar.xz
 8f25605d25e1b965027dd25c7d3ba4e30d71bb8d129ece2a854afb03678ca2e1 7206 
cfengine3_3.24.0-2_source.buildinfo
Files:
 44017104b5aa4bb8da249ea324678321 2264 admin optional cfengine3_3.24.0-2.dsc
 1bedc9068c51c94772381677e3c9c2f6 21892 admin optional 
cfengine3_3.24.0-2.debian.tar.xz
 71b8f3ab3462ef82862f7ec196310ca2 7206 admin optional 
cfengine3_3.24.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAma2L5oQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFFjNDAC04H1gT8N6Ey0P7Cc65HBS7acrCKv6A/hI
a5BrwUUlVpbAyRebJOZ54WCuyIIOAvBIipZ22he6nCUwfuMV7/YTrfQ1LfFft9oM
8meFLyeKxczkzhb+sp8AinMrcOB1ac8THc2R7EjFyblGb1fXz4MEuz2TVvZmvLB2
GDu6OUxh0IKzsGP0FgqHK7JisRm8YA+c2pMYOS9KL/CKa91LZIlS7/s9369fXv2L
bOPlCZvo5Lr4qn5vPF96rPdho1VCYOqIBLNTo9Jqj2BuvA38dbC50T8jEjygBaSF
5FQOP5M5biCg7XxbrTWIa6I67H+AaOa1HGOkD3CPhPKKXc7Uk0hNuJ29d+EpNKM7
HPpcSAlZ5AvY3KEGfBxBmQWQBEOluj3KISJqdO7Fk5C9UqZ4HOHdEfU525dSHakP
xfptJ7FH/NMnixAJRSwzKZC4W30mPqIlnE2MdHjZuouTWD1dE5V1x1HbphuODlwr
S7sPKlg7rMO+9Vru+Mk/nJpfGwRPjaE=
=jQ41
-----END PGP SIGNATURE-----

Attachment: pgpnxK71gLC03.pgp
Description: PGP signature


--- End Message ---

Reply via email to