Your message dated Wed, 08 Jan 2025 15:49:27 +0000
with message-id <[email protected]>
and subject line Bug#1089300: fixed in checkinstall
1.6.2+git20170426.d24a630-5.1
has caused the Debian Bug report #1089300,
regarding checkinstall: 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 [email protected]
immediately.)
--
1089300: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089300
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: checkinstall
Version: 1.6.2+git20170426.d24a630-5
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: [email protected]
User: [email protected]
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`,
checkinstall failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
Using /tmp/installwatch-test and /tmp/installwatch-test2 as a test files
Testing chmod... wanted refcount=3 returned refcount=3passed
Testing chown... wanted refcount=6 returned refcount=6passed
Testing chroot... wanted refcount=7 returned refcount=7passed
Testing creat... wanted refcount=9 returned refcount=9passed
Testing fchmod... wanted refcount=12 returned refcount=12passed
Testing fchown... wanted refcount=15 returned refcount=15passed
Testing fopen... wanted refcount=17 returned refcount=17passed
Testing ftruncate... wanted refcount=20 returned refcount=20passed
Testing lchown... wanted refcount=23 returned refcount=23passed
Testing link... wanted refcount=27 returned refcount=27passed
Testing mkdir... wanted refcount=29 returned refcount=29passed
Testing open... wanted refcount=31 returned refcount=31passed
Testing rename... wanted refcount=34 returned refcount=34passed
Testing rmdir... wanted refcount=36 returned refcount=36passed
Testing symlink... wanted refcount=40 returned refcount=40passed
Testing truncate... wanted refcount=43 returned refcount=43passed
Testing unlink... wanted refcount=45 returned refcount=45passed
All tests successful!
make[2]: Leaving directory '/<<PKGBUILDDIR>>/installwatch'
rm -rf /<<PKGBUILDDIR>>/debian/testtmp
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
create-stamp debian/debhelper-build-stamp
dh_prep
debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# We override all paths: we want the binary in bin instead of
# sbin, the configuration file in etc, the locales in the
# standard directory, and the installwatch library in a subdir
# of usr/lib
/usr/bin/make install PREFIX=/<<PKGBUILDDIR>>/debian/tmp/usr
LCDIR=/<<PKGBUILDDIR>>/debian/tmp/usr/share/locale \
CONFDIR=/<<PKGBUILDDIR>>/debian/tmp/etc
BINDIR=/<<PKGBUILDDIR>>/debian/tmp/usr/bin \
LIBDIR=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/checkinstall
make[2]: Entering directory '/<<PKGBUILDDIR>>'
for file in locale/checkinstall-*.po ; do \
case ${file} in \
locale/checkinstall-template.po) ;; \
*) \
out=`echo $file | sed -s 's/po/mo/'` ; \
msgfmt -o ${out} ${file} ; \
if [ $? != 0 ] ; then \
exit 1 ; \
fi ; \
;; \
esac ; \
done
sed 's%MAKEFILE_PREFIX%/<<PKGBUILDDIR>>/debian/tmp/usr%g'
checkinstall.in > checkinstall
/usr/bin/make -C installwatch
make[3]: Entering directory '/<<PKGBUILDDIR>>/installwatch'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/installwatch'
export
export APT_CONFIG='/var/lib/sbuild/apt.conf'
export ASFLAGS=''
export ASFLAGS_FOR_BUILD=''
export BINDIR='/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
export CFLAGS='-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-mbranch-protection=standard'
export CFLAGS_FOR_BUILD='-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-mbranch-protection=standard'
export CONFDIR='/<<PKGBUILDDIR>>/debian/tmp/etc'
export CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2'
export CPPFLAGS_FOR_BUILD='-Wdate-time -D_FORTIFY_SOURCE=2'
export CXXFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard'
export CXXFLAGS_FOR_BUILD='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard'
export DEB_BUILD_ARCH='arm64'
export DEB_BUILD_ARCH_ABI='base'
export DEB_BUILD_ARCH_BITS='64'
export DEB_BUILD_ARCH_CPU='arm64'
export DEB_BUILD_ARCH_ENDIAN='little'
export DEB_BUILD_ARCH_LIBC='gnu'
export DEB_BUILD_ARCH_OS='linux'
export DEB_BUILD_GNU_CPU='aarch64'
export DEB_BUILD_GNU_SYSTEM='linux-gnu'
export DEB_BUILD_GNU_TYPE='aarch64-linux-gnu'
export DEB_BUILD_MULTIARCH='aarch64-linux-gnu'
export DEB_BUILD_OPTIONS='parallel=8'
export DEB_HOST_ARCH='arm64'
export DEB_HOST_ARCH_ABI='base'
export DEB_HOST_ARCH_BITS='64'
export DEB_HOST_ARCH_CPU='arm64'
export DEB_HOST_ARCH_ENDIAN='little'
export DEB_HOST_ARCH_LIBC='gnu'
export DEB_HOST_ARCH_OS='linux'
export DEB_HOST_GNU_CPU='aarch64'
export DEB_HOST_GNU_SYSTEM='linux-gnu'
export DEB_HOST_GNU_TYPE='aarch64-linux-gnu'
export DEB_HOST_MULTIARCH='aarch64-linux-gnu'
export DEB_RULES_REQUIRES_ROOT='no'
export DEB_TARGET_ARCH='arm64'
export DEB_TARGET_ARCH_ABI='base'
export DEB_TARGET_ARCH_BITS='64'
export DEB_TARGET_ARCH_CPU='arm64'
export DEB_TARGET_ARCH_ENDIAN='little'
export DEB_TARGET_ARCH_LIBC='gnu'
export DEB_TARGET_ARCH_OS='linux'
export DEB_TARGET_GNU_CPU='aarch64'
export DEB_TARGET_GNU_SYSTEM='linux-gnu'
export DEB_TARGET_GNU_TYPE='aarch64-linux-gnu'
export DEB_TARGET_MULTIARCH='aarch64-linux-gnu'
export DFLAGS='-frelease'
export DFLAGS_FOR_BUILD='-frelease'
export DH_INTERNAL_BUILDFLAGS='1'
export DH_INTERNAL_OPTIONS=''
export DH_INTERNAL_OVERRIDE='dh_auto_install'
export FCFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection
-mbranch-protection=standard'
export FCFLAGS_FOR_BUILD='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection
-mbranch-protection=standard'
export FFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection
-mbranch-protection=standard'
export FFLAGS_FOR_BUILD='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection
-mbranch-protection=standard'
export HOME='/sbuild-nonexistent'
export LANG='en_US.UTF-8'
export LCDIR='/<<PKGBUILDDIR>>/debian/tmp/usr/share/locale'
export LC_ALL='C.UTF-8'
export LDFLAGS='-Wl,-z,relro'
export LDFLAGS_FOR_BUILD='-Wl,-z,relro'
export LIBDIR='/<<PKGBUILDDIR>>/debian/tmp/usr/lib/checkinstall'
export LOGNAME='debusine-worker'
export MAKEFLAGS='w --
LIBDIR=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/checkinstall
BINDIR=/<<PKGBUILDDIR>>/debian/tmp/usr/bin
CONFDIR=/<<PKGBUILDDIR>>/debian/tmp/etc
LCDIR=/<<PKGBUILDDIR>>/debian/tmp/usr/share/locale
PREFIX=/<<PKGBUILDDIR>>/debian/tmp/usr'
export MAKELEVEL='3'
export MAKEOVERRIDES='${-*-command-variables-*-}'
export MFLAGS='-w'
export OBJCFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard'
export OBJCFLAGS_FOR_BUILD='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard'
export OBJCXXFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard'
export OBJCXXFLAGS_FOR_BUILD='-g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-mbranch-protection=standard'
export
PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'
export PREFIX='/<<PKGBUILDDIR>>/debian/tmp/usr'
export PWD='/<<PKGBUILDDIR>>'
export SHELL='/bin/sh'
export SOURCE_DATE_EPOCH='1726032284'
export USER='debusine-worker'
/usr/bin/make -C installwatch install
make[3]: Entering directory '/<<PKGBUILDDIR>>/installwatch'
mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/lib/checkinstall
mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/bin
if [ -r /<<PKGBUILDDIR>>/debian/tmp/usr/lib/checkinstall/installwatch.so
]; then \
rm -f
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/checkinstall/installwatch.so; \
fi
install installwatch.so /<<PKGBUILDDIR>>/debian/tmp/usr/lib/checkinstall
sed -e "s|#PREFIX#|/<<PKGBUILDDIR>>/debian/tmp/usr|" < installwatch >
/<<PKGBUILDDIR>>/debian/tmp/usr/bin/installwatch
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin/installwatch
make[3]: Leaving directory '/<<PKGBUILDDIR>>/installwatch'
mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/bin
mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale
install -m 0755 -o root -g root checkinstall makepak
/<<PKGBUILDDIR>>/debian/tmp/usr/bin
install: cannot change ownership of
'/<<PKGBUILDDIR>>/debian/tmp/usr/bin/checkinstall': Operation not permitted
install: cannot change ownership of
'/<<PKGBUILDDIR>>/debian/tmp/usr/bin/makepak': Operation not permitted
make[2]: *** [Makefile:31: install] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:32: override_dh_auto_install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-15T21:35:00Z
-------------------------------------------------------------------------------
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/977233.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.
OpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: checkinstall
Source-Version: 1.6.2+git20170426.d24a630-5.1
Done: Niels Thykier <[email protected]>
We believe that the bug you reported is fixed in the latest version of
checkinstall, 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.
Niels Thykier <[email protected]> (supplier of updated checkinstall 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: SHA512
Format: 1.8
Date: Wed, 01 Jan 2025 14:59:22 +0000
Source: checkinstall
Architecture: source
Version: 1.6.2+git20170426.d24a630-5.1
Distribution: unstable
Urgency: medium
Maintainer: Stephen Gelman <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Closes: 1089300
Changes:
checkinstall (1.6.2+git20170426.d24a630-5.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Make requirement for root when building the package explicit.
(Closes: #1089300)
* Pass `-n` to `gzip` to make compressed files easier to
reproduce.
Checksums-Sha1:
e852015c194c956512b73df732ad09516a809c9c 1924
checkinstall_1.6.2+git20170426.d24a630-5.1.dsc
b9084b0ee348da4f5b574636c4d12f843aaf61e7 19628
checkinstall_1.6.2+git20170426.d24a630-5.1.debian.tar.xz
3adb8736aa769c407ac8e0e51de3c9b92c760af2 5574
checkinstall_1.6.2+git20170426.d24a630-5.1_source.buildinfo
Checksums-Sha256:
61bb456cb2a906cc3c53060dca9ece17e610e4806f141ee7e1446d28bf4f5e5a 1924
checkinstall_1.6.2+git20170426.d24a630-5.1.dsc
62942bef02e0cb656cde0e585f24079521ffd04b9ca69faa0d9b8341c94aae90 19628
checkinstall_1.6.2+git20170426.d24a630-5.1.debian.tar.xz
09bdb2e31778400d08291e84cfe04fa743b9292e818dd718cbed7c63600984fe 5574
checkinstall_1.6.2+git20170426.d24a630-5.1_source.buildinfo
Files:
0e9f98a6df327799939ab50b16413d77 1924 admin optional
checkinstall_1.6.2+git20170426.d24a630-5.1.dsc
8e0acc319da55daee3e03ff47457ce81 19628 admin optional
checkinstall_1.6.2+git20170426.d24a630-5.1.debian.tar.xz
784d01ddae53d1f224f9ff2456489b68 5574 admin optional
checkinstall_1.6.2+git20170426.d24a630-5.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFGBAEBCgAwFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmd1WP0SHG5pZWxzQHRo
eWtpZXIubmV0AAoJEHQNaIiDZdKJfqkH/RfoyvGbXdsFX3KfJgipi8yO4lbheAWo
El80r0OXjz0hW9ZnG3yLkY7J2NrQlOFhJzbDmHZv3TfUZe7bvkV6nhVPhTCiTCSu
XdGR2kVpLlUO05zd7PjnZeslhScKNINp+HWiB9JdYRt0QZdLX+gtnBTNgGC0GbCR
jWEvY4euugJhbyvKT1bS6gHNHI4qelcMmA8osJxSZi6k6m3sgaYLbfa9jr+nY+Fx
Z/fns+Sjzweebnsambzuv0pkTRrfzJbuC3dIBYpOcNztvYJ+vc1bDdJVwcAZZ6Yk
zVe/Ek0VDHzZnmnE9KE8nZ/2NNc9rLXy7tbFKaJJMOOKTJtcvw1NPzE=
=1M6I
-----END PGP SIGNATURE-----
pgpfiGeiWmTki.pgp
Description: PGP signature
--- End Message ---