Your message dated Sun, 28 Feb 2016 10:50:16 +0000
with message-id <e1azyvy-0006kt...@franck.debian.org>
and subject line Bug#816164: fixed in flexbackup 1.2.1-6.3
has caused the Debian Bug report #816164,
regarding flexbackup: Uses removed defined(%hash) and defined(@array) construct
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.)
--
816164: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816164
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: flexbackup
Version: 1.2.1-6.2
Severity: grave
Tags: upstream patch
Justification: renders package unusable
Perl has been complaining about the use of this deprecated construct for quite
a while now but now since Perl 5.22 has entered the archive it is a fatal error:
Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at
/usr/bin/flexbackup line 1053.
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at
/usr/bin/flexbackup line 2688.
See
http://perldoc.perl.org/perldelta.html#defined%28%40array%29-and-defined%28%25hash%29-are-now-fatal-errors
It seems that simply removing the defined() (i.e. checking the length) is the
generally recommended fix, so I intend to NMU with the attached dpatch added
once my weekly backups have successfully completed. I'll supply a full diff at
that time.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (500,
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, armel, arm64
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
Versions of packages flexbackup depends on:
ii cpio 2.11+dfsg-5
ii perl 5.22.1-7
Versions of packages flexbackup recommends:
ii afio 2.5.1.20130626+gite266635-1
ii binutils 2.26-4
ii buffer 1.19-12
ii lzma 9.22-2
ii pax 1:20151013-1
ii rsync 3.1.1-3
ii sharutils 1:4.15.2-1
ii star 1.5final-2
ii xz-utils [lzma] 5.1.1alpha+20120614-2.1
ii zip 3.0-11
Versions of packages flexbackup suggests:
pn lha <none>
ii ssh 1:7.1p2-2
-- Configuration Files:
/etc/flexbackup.conf changed [not included]
-- no debconf information
#!/bin/sh /usr/share/dpatch/dpatch-run
## 60_use_afio_default_nocompression.dpatch by Kurt B. Kaiser <k...@shore.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Bug #XXXXXX patch by Ian Campbell <i...@debian.org>
## DP:
## DP: defined(%hash) and defined(@array) have been deprecated for a while and
## DP: are now fatal errors:
## DP:
## DP: Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /usr/bin/flexbackup line 1053.
## DP: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /usr/bin/flexbackup line 2688.
## DP:
## DP: See http://perldoc.perl.org/perldelta.html#defined%28%40array%29-and-defined%28%25hash%29-are-now-fatal-errors
## DP:
## DP: http://perldoc.perl.org/functions/defined.html recommends just checking
## DP: for length (i.e. removing the defined()). Do so.
@DPATCH@
diff -urNad flexbackup-svn~/flexbackup flexbackup-svn/flexbackup
--- flexbackup-svn~/flexbackup 2016-02-28 08:54:08.338589461 +0000
+++ flexbackup-svn/flexbackup 2016-02-28 08:56:08.934584524 +0000
@@ -1050,7 +1050,7 @@
} else {
$prunekey = $dir;
}
- if (defined(%{$::prune{$prunekey}})) {
+ if (%{$::prune{$prunekey}}) {
&log("| NOTE: \$prune is ignored for type=dump");
}
@@ -2685,7 +2685,7 @@
}
# Flag old config file
- if (defined(@cfg::filesystems) or defined($cfg::mt_var_blksize)) {
+ if (@cfg::filesystems or defined($cfg::mt_var_blksize)) {
# so strict shuts up
my $junk = @cfg::filesystems;
$junk = $cfg::mt_var_blksize;
@@ -4883,7 +4883,7 @@
$prunekey = $dir;
}
- if (defined(%{$::prune{$prunekey}})) {
+ if (%{$::prune{$prunekey}}) {
# FreeBSD needs -E (above) and no backslashes around the (|) chars
if ($::uname =~ /FreeBSD/) {
$cmd .= '-regex "\./(';
--- End Message ---
--- Begin Message ---
Source: flexbackup
Source-Version: 1.2.1-6.3
We believe that the bug you reported is fixed in the latest version of
flexbackup, 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 816...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ian Campbell <i...@debian.org> (supplier of updated flexbackup 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: SHA256
Format: 1.8
Date: Sun, 28 Feb 2016 10:14:56 +0000
Source: flexbackup
Binary: flexbackup
Architecture: source all
Version: 1.2.1-6.3
Distribution: unstable
Urgency: medium
Maintainer: Kurt B. Kaiser <k...@shore.net>
Changed-By: Ian Campbell <i...@debian.org>
Description:
flexbackup - Flexible backup tool for small to medium sized installations
Closes: 816164
Changes:
flexbackup (1.2.1-6.3) unstable; urgency=medium
.
* Non-maintainer upload.
* Stop using defined on hashes (closes: #816164).
Checksums-Sha1:
a3405ba13b2d6152619e594bc355b93af54a3f07 1748 flexbackup_1.2.1-6.3.dsc
0e5e3b273c8eb94097b51cac182830c62776cdf6 10655 flexbackup_1.2.1-6.3.diff.gz
bb54a7949f705c2e88a27d8d9e5dfc64d47d9028 69854 flexbackup_1.2.1-6.3_all.deb
Checksums-Sha256:
9ba442bdd48a647387efeee5d96ce3c05eaa7cee1064b04fdbb36e151dafa760 1748
flexbackup_1.2.1-6.3.dsc
ec327fca377f9b828bce4a2f668ed93c4a3c3d1de44b4d88b15972a0b61bd039 10655
flexbackup_1.2.1-6.3.diff.gz
e9f39bb75a6d05b5b3dbfe1a9cd49235ac97dd98d5e39b0807986d90ba7a21a7 69854
flexbackup_1.2.1-6.3_all.deb
Files:
257662dfc24a1de7738649ba2ffc964f 1748 admin optional flexbackup_1.2.1-6.3.dsc
6ebcb18e64e7583d3778c25905dc21d3 10655 admin optional
flexbackup_1.2.1-6.3.diff.gz
29dacaa599ccaf042013b44c6e205c36 69854 admin optional
flexbackup_1.2.1-6.3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJW0snEAAoJECouJZ9pWkbGR0QQAJu4qfHyn6qNiG+27v2ldoPm
eCm93/mjoBDY8GjaYqjkQ8p8RaNYxHIkgCmuewsgOpfLxlQk7hYoX7GLPh0koEXA
fGhmps1Qd8L62KpnKEzdPR+6SXQPgzQU9eDHReMXed79MS4T6H44dBrsuBLmMPI/
CSL1yLGBrl/9Q2R2QZHL7YNEHbK6PT6wKcL1G2wdujYXtsS3MdAXzPm1mk2AGIW4
i2TUycsDr6ur+nv7uQKcvU34uXwY0Zat9m/LYooVijA01c1eopTKY6Z9EjkXaLsJ
QLb4yKq5A/wFt6Ey/h69NvNJtti8hRzMLsDTjr4zgVFoUyP8VATip6NuIw2hSfbC
gPBXEnOOl4P2hsIjXJU3Z6Tve1d2E6K2DbrJIGXVKO8n9K1BeZTUeATXbPJoQ81A
H3/70v5CN5ZUJe2P2hcHfcXGg/u/98688at4R3RjZBlYaMNZgT8yxi7l7OGRfrM0
5UmNffE3cBXSR0Q7YwhHpTWvaM7AVvwiElRuYi01zqNy+dA73T8brhufOVScrKYE
QKzKUl78Jhi4c+c+jymq66vHy9cqebex1kDWqB2DsX/jjfMIpyemncANkGdez7IT
MDJSlt2B1kOksGxVhFpFT5fMf7qNrf+jQEwRO9aUKwaDZIfXXcHFnTN4I7bH5hUH
mVP0AGOzyPl+IxQXAZC2
=y3Yo
-----END PGP SIGNATURE-----
--- End Message ---