Your message dated Sun, 28 Dec 2014 19:35:04 +0000
with message-id <[email protected]>
and subject line Bug#774013: fixed in rsbackup 1.1-4
has caused the Debian Bug report #774013,
regarding FTBFS: script `postrm' has bad permissions 644
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.)


-- 
774013: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774013
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rsbackup
Version: 1.1-3
Severity: serious
Tags: patch
Justification: FTBFS regression

rsbackup fails to build from source on all architectures, which is a
regression. Tail of the log from amd64:

cd debian/rsbackup && \
  find -name DEBIAN -prune -o -type f -print \
    | sed 's/^\.\///' \
        | xargs md5sum > DEBIAN/md5sums
dpkg-gencontrol -isp -prsbackup -Pdebian/rsbackup \
    -Tdebian/substvars.rsbackup
dpkg-gencontrol: warning: -isp is deprecated; it is without effect
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is 
not NFS-safe
chown -R root:root debian/rsbackup
chmod -R g-ws debian/rsbackup
dpkg --build debian/rsbackup ..
dpkg-deb: error: maintainer script `postrm' has bad permissions 644 (must be 
>=0555 and <=0775)
debian/rules:39: recipe for target 'binary-rsbackup' failed
make: *** [binary-rsbackup] Error 2

debian/rsbackup.postrm was introduced to fix #773181, but sure enough it has
mode 0644. debian/rules just calls `cp' to install the file, hence the error.

The attached patch replaces `cp' with `install' so that it's not so fragile
in future regardless of source file mode.

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 
'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- debian/rules.orig	2014-12-27 11:35:56.756080121 +0000
+++ debian/rules	2014-12-27 11:34:54.720105281 +0000
@@ -47,8 +47,8 @@
 	mkdir -p debian/${PACKAGE}/var/log/backup
 	mkdir -p debian/${PACKAGE}/usr/share/doc-base
 	cp debian/${PACKAGE}.conffiles debian/${PACKAGE}/DEBIAN/conffiles
-	cp debian/${PACKAGE}.postinst debian/${PACKAGE}/DEBIAN/postinst
-	cp debian/${PACKAGE}.postrm debian/${PACKAGE}/DEBIAN/postrm
+	install debian/${PACKAGE}.postinst debian/${PACKAGE}/DEBIAN/postinst
+	install debian/${PACKAGE}.postrm debian/${PACKAGE}/DEBIAN/postrm
 	cp tools/rsbackup.hourly debian/${PACKAGE}/etc/cron.hourly/rsbackup
 	cp tools/rsbackup.daily debian/${PACKAGE}/etc/cron.daily/rsbackup
 	cp tools/rsbackup.weekly debian/${PACKAGE}/etc/cron.weekly/rsbackup

--- End Message ---
--- Begin Message ---
Source: rsbackup
Source-Version: 1.1-4

We believe that the bug you reported is fixed in the latest version of
rsbackup, 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.
Matthew Vernon <[email protected]> (supplier of updated rsbackup 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: Sun, 28 Dec 2014 19:10:11 +0000
Source: rsbackup
Binary: rsbackup
Architecture: source i386
Version: 1.1-4
Distribution: unstable
Urgency: low
Maintainer: Debian rsbackup maintainers <[email protected]>
Changed-By: Matthew Vernon <[email protected]>
Description: 
 rsbackup   - rsync-based backup utility
Closes: 774013
Changes: 
 rsbackup (1.1-4) unstable; urgency=low
 .
   * Patch from Jonathan Wiltshire to use install rather than cp for
     post{inst,rm}, making build less sensitive to source file permissions
     (Closes: #774013)
Checksums-Sha1: 
 758e796f9927b7b16cf3cef12abb193083c66aba 1758 rsbackup_1.1-4.dsc
 26ea037c94a663163f6968208b91ded84d4b484a 125636 rsbackup_1.1-4.diff.gz
 caf2ac782f38205194525de3f19a951b1e1b247f 145504 rsbackup_1.1-4_i386.deb
Checksums-Sha256: 
 e0ecbc25a37cbd44981f1b10d45059dff6aa5f0a1e156b46c5aa8c449acef3b4 1758 
rsbackup_1.1-4.dsc
 ef36fd39cdb813fdf67cc8ed99766c8e5bfb09f4789c5825b43ea21246807be8 125636 
rsbackup_1.1-4.diff.gz
 642235ff8e1bb446b1826a942cb1e58087aa78b7faf5a79756f5be9cbf8b90e5 145504 
rsbackup_1.1-4_i386.deb
Files: 
 bd5711a5ddd2eea774576d01c2765cef 1758 admin optional rsbackup_1.1-4.dsc
 c71695e9f4d40c8bb3b55be9d3d075ca 125636 admin optional rsbackup_1.1-4.diff.gz
 eb462711b4a8e8b67c8c1902aae49a2a 145504 admin optional rsbackup_1.1-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCgAGBQJUoFbMAAoJEBL00hyPamPILW8P/0uj4GKJqbMUDu9uEuho/FDH
2z+7BuB34chbRUVVJoaTFal3ooaiQPRBxLrFE3hqBWfw18Elv3kjjK0nxRfGZDoh
LcfT2d0AvGU/lG/FCy+JA/p89IzCFLd7vyiPmZACw/vHWAktXDoVEP6FQLgz+Qvp
roqDAdtQNNna3nAsehc1ohq8tRBx/6UIJegla2ask4ms1tIGFgWJTo64SZtblVJ/
kDFF7xtOvuX9otmhT8Twy88RzvV305kkwR++rS5X8ysEmkO+mUKc7xfUK60ZBULH
6b291gyXLM55XrV2G11tkCw8JmW6bmEbU2HUQGY85BIcx5NvbYciAhS6JwuwpvYI
KEoXNdgnM8GtPvdMePwNvPXfMmEioqJLP3F9/PT1r9/gIJdtnmLaROl+VyCI9e59
pVPxmLFvC9KBN3szQXj6vL4g7r0NSM2g1q8X0gVClantb84CPLvPafVvVIrbo46L
K9/sFpondK1jd6UEHut1MIZXFL0NX55E0epm/ja1d6g44QxjeDCrLtiQqEWUINMY
hBKgi4zsoOcsH2YYSEUQHwboGd0MTupsu3iQxRCpkxmcoh6/JFD90u/uuJVhnOIz
qh/MlWoKmeTzbNt11Uv4QzsARG+JZEUACHpEiduu9IXAcb2LaUO+lVW+GcuxZVjM
+2c/9TuRlpyF2v0jRUIU
=Ku8u
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to