Your message dated Tue, 21 May 2024 00:34:46 +0000
with message-id <[email protected]>
and subject line Bug#1070850: fixed in cfengine3 3.21.4-1.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 [email protected]
immediately.)
--
1070850: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070850
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: cfengine3
Version: 3.21.4-1.1
Severity: important
Tags: ftbfs
X-Debbugs-Cc: [email protected]
User: [email protected]
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.21.4-1.2
Done: Andreas Beckmann <[email protected]>
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Beckmann <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 21 May 2024 02:16:43 +0200
Source: cfengine3
Architecture: source
Version: 3.21.4-1.2
Distribution: unstable
Urgency: medium
Maintainer: CFEngine Team <[email protected]>
Changed-By: Andreas Beckmann <[email protected]>
Closes: 1060533 1070850
Changes:
cfengine3 (3.21.4-1.2) unstable; urgency=medium
.
* Non-maintainer upload.
* Switch B-D to systemd-dev. (Closes: #1060533)
* Switch B-D to pkgconf.
* Add B-D: passwd. (Closes: #1070850)
Checksums-Sha1:
9258731228fb73e258d8f334f9178b191cc014a7 2448 cfengine3_3.21.4-1.2.dsc
e733fc5d92cba83689987e971688a8826225ef93 21788
cfengine3_3.21.4-1.2.debian.tar.xz
7c480b0d67a9365fdb9d6af9c86170c093e15dbe 7379
cfengine3_3.21.4-1.2_source.buildinfo
Checksums-Sha256:
2982d533c7b982aac7a51ee2f53157e8fe211d319902170c78b32d972dbef250 2448
cfengine3_3.21.4-1.2.dsc
9c04ed54b3f8d4eda256d4346ace0a08131a67d7874642d8e8633dc50df2cfcb 21788
cfengine3_3.21.4-1.2.debian.tar.xz
94e30d53c6bc029c41a26d911c22f3fddbcd1250a8d634e8068a3552a65dd558 7379
cfengine3_3.21.4-1.2_source.buildinfo
Files:
6a48c8444352c5e7ef2561e7ee2a29d8 2448 admin optional cfengine3_3.21.4-1.2.dsc
5b0dd4484509869aef17c85882edf16f 21788 admin optional
cfengine3_3.21.4-1.2.debian.tar.xz
0495117c2ecf09f86f3abc44e309c423 7379 admin optional
cfengine3_3.21.4-1.2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmZL6HwQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCEA8D/4kw7DF6YWiMgYlVP/UHss3q4w543f6TeKB
TfS8oH/D/Ir3LnN/LV6HWSrJ4oX+hYqNQgCgGisviQGMBFWNS7fehtnXiuxPAd8d
rWnscU2TkPJVUVGLIW8DAQtO3zfxVtatkCN+ooIuss4o3BoqWb2xodegkTQXpuBl
xSAVGqBwQ24OqFGXC+YdeOjFC8JNK3iZ+3uoO3BgFldUhyk5ZDWP1V36T2O32CJH
I+/Qhegb30cSYw7FntJ+xRsfOgWeGnVs3E5Fz4OiLNeu5Ji5PkGSbOa+oMV4tL/L
lHRsuIOt0THya4vHe5fah9dS8YcZG/QZC0SXWa6OEINnSJMcFFEMG0gvw5OPI0Gf
dNAU9VNJDwqSGz5Qf1+sx7yFiKn9+TVCjNoqcy9MvdJTY/ZL82HwyGZjtJp+c3lP
Em3R+n32cHdri0meWiMlWcIi2gOaPGOCxZPMQFo5s4Yh+2pXQdGRTtehPxp0XTjb
TkkVvybjguH1MSxOFpm8yPo4iPzjrkZl+/BxE+sYMOTaXkX/tNlBmkyG5LTYNBeu
6eA1xEN8dTQJU2Dgwyj5zjR/J+eP3YBGKGEIefs3s9dLy7C6gvwXQdsTvumrMNly
cC9RamGVtEE86rJCjF45PepIm/ppMaJN8znbuWWnfWgLfOGxUn11jLoUcEcVN3+V
wV8kfJaPrw==
=dBdK
-----END PGP SIGNATURE-----
pgpVERZVN3K6Z.pgp
Description: PGP signature
--- End Message ---