Your message dated Sun, 05 Jan 2025 21:11:37 +0000
with message-id <e1tuxul-00c9ll...@fasolo.debian.org>
and subject line Bug#1089342: fixed in heartbeat 1:3.0.6-16
has caused the Debian Bug report #1089342,
regarding heartbeat: 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 ow...@bugs.debian.org
immediately.)


-- 
1089342: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089342
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: heartbeat
Version: 1:3.0.6-15
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`,
heartbeat failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
/usr/bin/install -c -m 644 README '/<<PKGBUILDDIR>>/debian/tmp/usr/share/heartbeat/cts'
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/share/heartbeat/cts'
/usr/bin/install -c -m 644 CM_fs.py CM_hb.py CM_LinuxHAv2.py CTS.py CTSaudits.py CTSlab.py CTStests.py extracttests.py getpeinputs.sh OCFIPraTest.py CIB.py '/<<PKGBUILDDIR>>/debian/tmp/usr/share/heartbeat/cts'
Byte-compiling python modules...
CM_fs.pyCM_hb.py/usr/share/heartbeat/cts/CM_hb.py:174: SyntaxWarning: invalid escape sequence '\.' CM_LinuxHAv2.pyCTS.pyCTSaudits.pyCTSlab.pyCTStests.pyextracttests.py/usr/share/heartbeat/cts/extracttests.py:73: SyntaxWarning: invalid escape sequence '\['
OCFIPraTest.pyCIB.py
Byte-compiling python modules (optimized versions) ...
CM_fs.pyCM_hb.pyCM_LinuxHAv2.pyCTS.pyCTSaudits.pyCTSlab.pyCTStests.pyextracttests.pyOCFIPraTest.pyCIB.py
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/share/heartbeat/cts'
/usr/bin/install -c CTSproxy.py getpeinputs.sh LSBDummy '/<<PKGBUILDDIR>>/debian/tmp/usr/share/heartbeat/cts'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/cts'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/cts'
Making install in config
make[2]: Entering directory '/<<PKGBUILDDIR>>/config'
make[3]: Entering directory '/<<PKGBUILDDIR>>/config'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/config'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/config'
Making install in contrib
make[2]: Entering directory '/<<PKGBUILDDIR>>/contrib'
Making install in ipfail
make[3]: Entering directory '/<<PKGBUILDDIR>>/contrib/ipfail'
make[4]: Entering directory '/<<PKGBUILDDIR>>/contrib/ipfail'
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/libexec/heartbeat'
/bin/bash ../../libtool --tag=CC --mode=install /usr/bin/install -c ipfail '/<<PKGBUILDDIR>>/debian/tmp/usr/libexec/heartbeat' libtool: warning: '../../lib/hbclient/libhbclient.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/ipfail /<<PKGBUILDDIR>>/debian/tmp/usr/libexec/heartbeat/ipfail
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/contrib/ipfail'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/contrib/ipfail'
Making install in mlock
make[3]: Entering directory '/<<PKGBUILDDIR>>/contrib/mlock'
make[4]: Entering directory '/<<PKGBUILDDIR>>/contrib/mlock'
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/libexec/heartbeat'
/bin/bash ../../libtool --tag=CC --mode=install /usr/bin/install -c mlock '/<<PKGBUILDDIR>>/debian/tmp/usr/libexec/heartbeat' libtool: install: /usr/bin/install -c mlock /<<PKGBUILDDIR>>/debian/tmp/usr/libexec/heartbeat/mlock
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/contrib/mlock'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/contrib/mlock'
Making install in drbd-outdate-peer
make[3]: Entering directory '/<<PKGBUILDDIR>>/contrib/drbd-outdate-peer'
make[4]: Entering directory '/<<PKGBUILDDIR>>/contrib/drbd-outdate-peer'
/bin/bash /<<PKGBUILDDIR>>/install-sh -d /<<PKGBUILDDIR>>/debian/tmp/run/heartbeat/dopd
chgrp haclient /<<PKGBUILDDIR>>/debian/tmp//run/heartbeat/dopd
chgrp: changing group of '/<<PKGBUILDDIR>>/debian/tmp//run/heartbeat/dopd': Operation not permitted
make[4]: [Makefile:814: install-exec-local] Error 1 (ignored)
chown hacluster /<<PKGBUILDDIR>>/debian/tmp//run/heartbeat/dopd
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/tmp//run/heartbeat/dopd': Operation not permitted
make[4]: [Makefile:815: install-exec-local] Error 1 (ignored)
chmod 750 /<<PKGBUILDDIR>>/debian/tmp//run/heartbeat/dopd
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/libexec/heartbeat'
/bin/bash ../../libtool --tag=CC --mode=install /usr/bin/install -c dopd drbd-peer-outdater '/<<PKGBUILDDIR>>/debian/tmp/usr/libexec/heartbeat' libtool: warning: '../../lib/hbclient/libhbclient.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/dopd /<<PKGBUILDDIR>>/debian/tmp/usr/libexec/heartbeat/dopd libtool: install: /usr/bin/install -c drbd-peer-outdater /<<PKGBUILDDIR>>/debian/tmp/usr/libexec/heartbeat/drbd-peer-outdater
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/contrib/drbd-outdate-peer'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/contrib/drbd-outdate-peer'
make[3]: Entering directory '/<<PKGBUILDDIR>>/contrib'
make[4]: Entering directory '/<<PKGBUILDDIR>>/contrib'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/contrib'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/contrib'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/contrib'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
mv `pwd`/debian/tmp/usr/share/heartbeat/cts/README \
        `pwd`/debian/tmp/usr/share/doc/heartbeat/README.cts
find `pwd`/debian/tmp/usr/share/man -type f | xargs gzip -v --best
/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/hb_standby.1: 63.2% -- replaced with /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/hb_standby.1.gz /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/hb_takeover.1: 58.0% -- replaced with /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/hb_takeover.1.gz /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/cl_status.1: 64.3% -- replaced with /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/cl_status.1.gz /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/hb_addnode.1: 59.0% -- replaced with /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/hb_addnode.1.gz /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/hb_delnode.1: 58.9% -- replaced with /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/hb_delnode.1.gz /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man8/apphbd.8: 62.9% -- replaced with /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man8/apphbd.8.gz /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man8/heartbeat.8: 61.4% -- replaced with /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man8/heartbeat.8.gz /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man5/ha.cf.5: 70.3% -- replaced with /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man5/ha.cf.5.gz /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man5/authkeys.5: 59.0% -- replaced with /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man5/authkeys.5.gz
install -c -m 755 heartbeat/init.d/heartbeat \
                `pwd`/debian/tmp/etc/init.d/heartbeat
cd `pwd`/debian/tmp/etc/ && ln -s ha.d heartbeat
sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
# remove more useless COPYING files
rm -rf ./debian/tmp/usr/share/doc/heartbeat/COPYING*
# changelog will be processed using dh_installchangelogs
rm -rf ./debian/tmp/usr/share/doc/heartbeat/ChangeLog
# remove unnecessary directories
rm -rf ./debian/heartbeat-dev/usr/include/
rm -rf ./debian/heartbeat-common-dev/usr/lib/stonith/plugins/stonith2/ribcl.py
rm -rf ./debian/heartbeat/etc/ha.d/conf
rm -rf ./debian/heartbeat/etc/ha.d/cts
rm -rf ./debian/heartbeat/usr/lib/stonith
rm -rf ./debian/heartbeat/usr/lib/pils
rm -rf ./debian/heartbeat/usr/include/
rm -rf ./debian/heartbeat/usr/lib/heartbeat/plugins/AppHBNotification/
rm -rf ./debian/heartbeat-common/usr/lib/ocf/resource.d/heartbeat/ldirectord
# remove duplicate header file to not conflict with cluster-glue
rm -rf ./debian/libheartbeat2-dev/usr/include/heartbeat/ha_msg.h
rm -rf ./debian/libheartbeat2-dev/usr/include/heartbeat/compress.h
# python modules will be compiled in postinst
rm -f ./debian/tmp/usr/share/heartbeat/cts/*.py[co]
rm -rf ./debian/tmp/usr/share/heartbeat/cts/__pycache__
dh_install dh_missing --fail-missing
# remove duplicate doc file
rm -rf `pwd`/debian/heartbeat/usr/share/doc/heartbeat/README.lrm_regression_tests
dh_testdir -a
dh_testroot -a
dh_installdebconf -a
dh_installdocs -a
dh_installexamples -a
dh_installinit -a -n -u 'defaults 20 32'
dh_installsystemd -a
dh_installtmpfiles -a
dh_installman -a
dh_installchangelogs -a `pwd`/doc/ChangeLog
dh_installlogcheck -a
dh_lintian -a
dh_link -a
dh_strip -a
strip: unable to copy file 'debian/heartbeat/usr/bin/cl_status'; reason: Permission denied dh_strip: error: strip --remove-section=.comment --remove-section=.note debian/heartbeat/usr/bin/cl_status returned exit code 1
dh_strip: error: Aborting due to earlier error
make: *** [debian/rules:132: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T14:28:39Z

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


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/996568.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: heartbeat
Source-Version: 1:3.0.6-16
Done: Ferenc Wágner <wf...@debian.org>

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

Debian distribution maintenance software
pp.
Ferenc Wágner <wf...@debian.org> (supplier of updated heartbeat 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: Sun, 05 Jan 2025 21:05:24 +0100
Source: heartbeat
Architecture: source
Version: 1:3.0.6-16
Distribution: unstable
Urgency: medium
Maintainer: Debian HA Maintainers 
<debian-ha-maintain...@lists.alioth.debian.org>
Changed-By: Ferenc Wágner <wf...@debian.org>
Closes: 1089342
Changes:
 heartbeat (1:3.0.6-16) unstable; urgency=medium
 .
   [ Niels Thykier ]
   * Make heartbeat build without needing root (Closes: #1089342)
 .
   [ Ferenc Wágner ]
   * There is no upstream bug tracker for Heartbeat
   * Do not ship empty usr/lib/heartbeat/plugins/test directory
   * New patch: ulimit-requires-bash.patch
   * New patch: some-binaries-are-under-usr-libexec
   * Add myself to Uploaders
Checksums-Sha1:
 e72734ec5c6a28f531ce07713b8d79a8c9b40874 2740 heartbeat_3.0.6-16.dsc
 4d5b6c9e79604a6fe57fc55eee0a2c154696ccbe 42628 heartbeat_3.0.6-16.debian.tar.xz
 8f93c311b10e54dae8b10143f5b20e7fc8582cd2 12945 
heartbeat_3.0.6-16_amd64.buildinfo
Checksums-Sha256:
 97df7a167e0a07e2ec1eb9c87a9f23c758ebce80669fd879e98efa263739ba4f 2740 
heartbeat_3.0.6-16.dsc
 076759c21ed13325564b5e49dc1b3dba9cdf191a48853c192c31d01a9c40f99f 42628 
heartbeat_3.0.6-16.debian.tar.xz
 4a487acded134c3dbb2169656c05a5742bf534e2980fa9e5827c4b2d5fb95a56 12945 
heartbeat_3.0.6-16_amd64.buildinfo
Files:
 49e4b7a989204e9e9c4eee6793d6dc3c 2740 admin optional heartbeat_3.0.6-16.dsc
 56eccfa5615bb74075e84f3cc4a3822a 42628 admin optional 
heartbeat_3.0.6-16.debian.tar.xz
 1b8ddc4892f34becda936db07e90e8bc 12945 admin optional 
heartbeat_3.0.6-16_amd64.buildinfo

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

iQIzBAEBCgAdFiEEwddEx0RNIUL7eugtOsj3Fkd+2yMFAmd65rIACgkQOsj3Fkd+
2yN7iA//cnegffPMpCW4o4+acfZyb6hAE68HEffiXeH1DgJgXeSNC2ZXwmGS/HMf
L4ztUp/HBhn9YXWmUG+NNIsNhYjANBwGhzUAbdPnwtlv6wd4ay9it6QGkiJvzvKE
kfh0FNxnZKiKtbF7LYxqKGKb0TlmPY/1jeX0zdybfWwROTQojtozTLiFVLX7YZv7
8JKzwqZ76WkjN+0FPYkN5jc+tDBturfpausfU7mMk0rMqxCBRhPnzs3cqbxt/OFP
b4JNBksfhVKkakYPthNfqQEQhpUIbyc3zsdrTFMEYZN8DlcJG9MXca+D4Jxlm0nT
S+u6a7gVbv/6yJb+7o82sFOj8zoelyVOTWD/dAeu8aX3t7H2rTLR5VGDFQHwdQOZ
eozCsqV50h9vTEEQasgHm7NZy2uVzBeOU8QJxD04UMyUfx3cb88fDXHCTHae42cr
V7Kl1eSxYTEH3EHDRY8/6fPUCCW9J8BfQEY5t6wcZIDEaDP/DjUUaCNkbbWW9xMn
0C+TmHaQnIBKuxPvqsYsn0SvuZEXKPEoAcMqW89KZ82HZzUGhyv0Vo6LIrRkUtMb
/xv9/7MydAzJhO4Ka3EEXbUNhJl63lI/RTjjK3mo1DBw0JsBeewuGlDofRBRBPiD
/1FzgKNsvuc4NVBCX/ueHQqbTM83dm5umjEZ6Gn4PRcJULmDit4=
=iKbW
-----END PGP SIGNATURE-----

Attachment: pgpykiUSFdwBB.pgp
Description: PGP signature


--- End Message ---

Reply via email to