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

Bug#1089402: marked as done (nslint: Supporting rootless builds by default)



Your message dated Mon, 09 Dec 2024 14:40:12 +0000
with message-id <E1tKevk-001OSE-DY@fasolo.debian.org>
and subject line Bug#1089402: fixed in nslint 3.2-6
has caused the Debian Bug report #1089402,
regarding nslint: Supporting rootless builds by default
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 owner@bugs.debian.org
immediately.)


-- 
1089402: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089402
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: nslint
Version: 3.2-5
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: niels@thykier.net
User: niels@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`,
nslint failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
dpkg-buildpackage: info: source package nslint
dpkg-buildpackage: info: source version 3.2-5
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Petter Reinholdtsen <pere@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
   dh_auto_configure
./configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/aarch64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking target system type... aarch64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking for gcc option to enable large file support... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for fcntl.h... yes
checking for memory.h... yes
checking for strerror... yes
checking for main in -lsocket... no
checking for int32_t using gcc... yes
checking for u_int32_t using gcc... yes
configure: creating ./config.status
config.status: creating Makefile
   dh_auto_build
	make -j8
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRERROR=1 -I/usr/local/include -c ./nslint.c gcc -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRERROR=1 -I/usr/local/include -c ./savestr.c
sed -e 's/.*/char version[] = "&";/' ./VERSION > version.c
gcc -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRERROR=1 -I/usr/local/include -c ./version.c gcc -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRERROR=1 -I/usr/local/include -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -o nslint nslint.o savestr.o version.o make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
NSLINT=/<<PKGBUILDDIR>>/nslint debian/tests/validate-bind-zones
success: no error in zone detected
nslint: Missing "ptr": dup1.intern. -> 10.0.0.1
nslint: Missing "a": tjener.intern. -> 10.0.0.2
nslint: Missing "ptr": tjener.intern. -> 10.0.2.2
nslint: 10.0.0.1 in use by gateway.intern. and dup1.intern.
success: error in zone detected.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_installdirs
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
install -d "/<<PKGBUILDDIR>>/debian/nslint/usr/share/man/man8"
dh_auto_install -- MANDEST="/usr/share/man"
make -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/nslint AM_UPDATE_INFO_DIR=no MANDEST=/usr/share/man
make[2]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/install -c -m 755 -o bin -g bin nslint /<<PKGBUILDDIR>>/debian/nslint/usr/bin/nslint /usr/bin/install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/nslint/usr/bin/nslint': Operation not permitted
make[2]: *** [Makefile:99: install] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/nslint AM_UPDATE_INFO_DIR=no MANDEST=/usr/share/man returned exit code 2
make[1]: *** [debian/rules:13: override_dh_auto_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T14:58:27Z

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


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/1025143.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


--- End Message ---
--- Begin Message ---
Source: nslint
Source-Version: 3.2-6
Done: Alexandre Detiste <tchet@debian.org>

We believe that the bug you reported is fixed in the latest version of
nslint, 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 1089402@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated nslint 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 09 Dec 2024 15:15:49 +0100
Source: nslint
Architecture: source
Version: 3.2-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1089402
Changes:
 nslint (3.2-6) unstable; urgency=medium
 .
   * QA upload.
   * Fix Makefile.in for "Rules-Requires-Root: no" (Closes: #1089402)
Checksums-Sha1:
 b1a24a80b7d8e80044a09e86f857cf0f6eac0017 1794 nslint_3.2-6.dsc
 9d4b178a94a0e45cb05bd93345b18861564d4e52 8180 nslint_3.2-6.debian.tar.xz
 f2d565aee7c946ee2ca037d770fc8ee799a4c0fa 6822 nslint_3.2-6_source.buildinfo
Checksums-Sha256:
 fb1fa00814c4946a688ac0727110f7efb8e7f0571ffc2f4c6b193cdaa68a109a 1794 nslint_3.2-6.dsc
 bd84766ee1196791f2ddbaaf7031ef2aa8e0ec9000aa5f19ee94129d020c1b45 8180 nslint_3.2-6.debian.tar.xz
 ffe7fb56b40648dc7873b70ee758031213c5b64274075f9529c906f6bd67db56 6822 nslint_3.2-6_source.buildinfo
Files:
 7d3553e7bac9c89025d0b6fe2f180cde 1794 net optional nslint_3.2-6.dsc
 3f425d277178c57d997d5e09b42bd4a9 8180 net optional nslint_3.2-6.debian.tar.xz
 1d607ae18783aba828560f26c0bd1c6a 6822 net optional nslint_3.2-6_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmdW/FERHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBqHvw//Q1e8pTsD1xp5OIAg/4lyA6MVP4djH9nj
rw4tc1v4WGGHVJ+o0VXMIavfMWmpF+WMzGz7g1Hs7el6G//2UiYHLyAQ69mod6JL
KoWQ6IFzMMYRO4OJ3NT/KuwZL0T11TzZAvr4MuOn04Ic7ktrGyfDRcEhQTnvgzCp
J1jeDI2VCgCnUdPyH3BfM1eE/VDDIU4yiPA5mdCR7dUeusSczNT6RofT9nOJeTsw
hh202mP3nQ8CmbDP5z1+BixtmR77Lr4gipJZYbVNKoe7xtEjHnNrPaX6jn0W7+zC
BklVPnSiVWVDeycDMi/sl4YpoAELVysofhf602f0/1z0J3qdXRPUv4L7snCj2rYK
SwFOjjuDxPSm4vWq3oEa7ZUgJaZrLwMhy38RBalg4JOT54ZYSCbosz70bAU6CYSW
M26kfFUNSK16b1wb7jYyzGy4EfNV7F7H1vj7yjuln438Ua3vAcSxlQRbB5+mAF2/
5RKmnNa2llgFfcjTZgwwqtipUvgLi4ysMBcvME2K0vY6Ntk3Bw/VY/NJdckacd2o
XB3pky/CI/ldmhWYG5PnLymNvxHZ9Gn3EEgzwhIOFfX1M1KhTXlCCDzqpwPSBCDn
6hLRpf7EpjY01gCvv3Bl1Wzqra4uTZXTAASXojowP26ws4Q2TiaQKB+4FdF6MrGq
IvlyZUXi0Wc=
=DU5O
-----END PGP SIGNATURE-----

Attachment: pgp_KYXyupT6E.pgp
Description: PGP signature


--- End Message ---

Reply to: