Source: nfs4-acl-tools
Version: 0.3.7-1.1
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: ni...@thykier.net
User: ni...@thykier.net
Usertags: rrr-no-as-default-issue

Dear maintainer,

During a test rebuild for building packages with
`Rules-Requires-Root: no` as the default in `dpkg`,
nfs4-acl-tools failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
libtool: compile: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I./include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I../include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c nfs4_set_acl.c -fPIC -DPIC -o .libs/nfs4_set_acl.o libtool: compile: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I./include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I../include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c nfs4_set_acl.c -o nfs4_set_acl.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I./include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I../include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c strtoul_reals.c libtool: compile: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I./include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I../include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c strtoul_reals.c -fPIC -DPIC -o .libs/strtoul_reals.o libtool: compile: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I./include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I../include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c strtoul_reals.c -o strtoul_reals.o >/dev/null 2>&1 /usr/bin/libtool --mode=link gcc -Wl,--version-script,../exports -o libnfs4acl.la acl_nfs4_copy_acl.lo acl_nfs4_get_who.lo acl_nfs4_get_whotype.lo acl_nfs4_set_who.lo acl_nfs4_xattr_load.lo acl_nfs4_xattr_pack.lo acl_nfs4_xattr_size.lo nfs4_ace_from_string.lo nfs4_acl_for_path.lo nfs4_acl_spec_from_file.lo nfs4_acl_utils.lo nfs4_get_ace_access.lo nfs4_get_ace_flags.lo nfs4_get_ace_type.lo nfs4_insert_file_aces.lo nfs4_insert_string_aces.lo nfs4_free_acl.lo nfs4_new_acl.lo nfs4_new_ace.lo nfs4_print_acl.lo nfs4_print_ace.lo nfs4_print_ace_verbose.lo nfs4_remove_file_aces.lo nfs4_remove_string_aces.lo nfs4_set_acl.lo strtoul_reals.lo libtool: link: ar cr .libs/libnfs4acl.a .libs/acl_nfs4_copy_acl.o .libs/acl_nfs4_get_who.o .libs/acl_nfs4_get_whotype.o .libs/acl_nfs4_set_who.o .libs/acl_nfs4_xattr_load.o .libs/acl_nfs4_xattr_pack.o .libs/acl_nfs4_xattr_size.o .libs/nfs4_ace_from_string.o .libs/nfs4_acl_for_path.o .libs/nfs4_acl_spec_from_file.o .libs/nfs4_acl_utils.o .libs/nfs4_get_ace_access.o .libs/nfs4_get_ace_flags.o .libs/nfs4_get_ace_type.o .libs/nfs4_insert_file_aces.o .libs/nfs4_insert_string_aces.o .libs/nfs4_free_acl.o .libs/nfs4_new_acl.o .libs/nfs4_new_ace.o .libs/nfs4_print_acl.o .libs/nfs4_print_ace.o .libs/nfs4_print_ace_verbose.o .libs/nfs4_remove_file_aces.o .libs/nfs4_remove_string_aces.o .libs/nfs4_set_acl.o .libs/strtoul_reals.o libtool: link: ranlib .libs/libnfs4acl.a libtool: link: ( cd ".libs" && rm -f "libnfs4acl.la" && ln -s "../libnfs4acl.la" "libnfs4acl.la" )
if ! [ -L libnfs4acl.a ]; then ln -s .libs/libnfs4acl.a . ; fi
=== nfs4_getfacl ===
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I./include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I../include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nfs4_getfacl.o nfs4_getfacl.c /usr/bin/libtool --mode=link gcc -o nfs4_getfacl -Wl,-z,relro -Wl,-z,now -Wl,-z,defs nfs4_getfacl.o ../libnfs4acl/libnfs4acl.la libtool: link: gcc -o nfs4_getfacl -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs nfs4_getfacl.o ../libnfs4acl/.libs/libnfs4acl.a
=== nfs4_setfacl ===
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I./include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"0.3.7\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"nfs4acl\" -I../include -DUSE_NFSV4_TRANS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nfs4_setfacl.o nfs4_setfacl.c /usr/bin/libtool --mode=link gcc -o nfs4_setfacl -Wl,-z,relro -Wl,-z,now -Wl,-z,defs nfs4_setfacl.o ../libnfs4acl/libnfs4acl.la libtool: link: gcc -o nfs4_setfacl -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs nfs4_setfacl.o ../libnfs4acl/.libs/libnfs4acl.a
=== man ===
=== man1 ===
gmake[3]: Nothing to be done for 'default'.
=== man5 ===
gmake[3]: Nothing to be done for 'default'.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
build-stamp
dh_testdir
dh_testroot
dh_prep         rm -f -- debian/nfs4-acl-tools.substvars
rm -fr -- debian/.debhelper/generated/nfs4-acl-tools/ debian/nfs4-acl-tools/ debian/tmp/
dh_installdirs
dh_installdirs: warning: Use of debian/compat is deprecated and will be removed in debhelper (>= 14~).
        install -m0755 -d debian/nfs4-acl-tools/usr/bin
/usr/bin/make prefix=/<<PKGBUILDDIR>>/debian/nfs4-acl-tools/usr install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
aclocal --output=aclocal.m4
=== include ===
gmake[2]: Nothing to be done for 'default'.
=== libnfs4acl ===
if ! [ -L libnfs4acl.a ]; then ln -s .libs/libnfs4acl.a . ; fi
=== nfs4_getfacl ===
gmake[2]: Nothing to be done for 'default'.
=== nfs4_setfacl ===
gmake[2]: Nothing to be done for 'default'.
=== man ===
=== man1 ===
gmake[3]: Nothing to be done for 'default'.
=== man5 ===
gmake[3]: Nothing to be done for 'default'.
=== include ===
gmake[2]: Nothing to be done for 'install'.
=== libnfs4acl ===
gmake[2]: Nothing to be done for 'install'.
=== nfs4_getfacl ===
../install-sh -o root -g root -m 755 -d /<<PKGBUILDDIR>>/debian/nfs4-acl-tools/usr/bin chgrp: changing group of '/<<PKGBUILDDIR>>/debian/nfs4-acl-tools/usr/bin': Operation not permitted
gmake[2]: *** [Makefile:48: install] Error 1
make[1]: *** [Makefile:88: install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:52: install] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T14:34:42Z

-------------------------------------------------------------------------------


The above is just how the build ends and not necessarily the most
relevant part. If required, the full build log is available here:

https://people.debian.org/~nthykier/rrr-no-as-default/logs/1024763.gz

You can find common solutions at
https://people.debian.org/~nthykier/rrr-no-as-default/docs/solutions.md

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/static-ownership.list,
then please just set `Rules-Requires-Root: binary-targets` to the source
stanza of `debian/control` as a fix to this bug.

If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/maybe-misbuilds.list,
then the package was deemed at risk for misbuilding (having wrong
ownership) but had a FTBFS problem we tested it. Please test whether the
package works with `Rules-Requires-Root: no` validating that the
resulting deb has the correct ownership for all paths in the deb.

The goal is to have the default changed in `dpkg` either in `Trixie` or
`Forky`, depending on progress and feasibility with the release schedule
for Trixie.

For more information on this bug filing, please see:
https://lists.debian.org/debian-dpkg/2024/11/msg00016.html

Thanks,


PS: The builds were performed in mid-November. If you fixed the problem
between between then and this bug being filed, then please just close
the bug with the version it was fixed in.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to