Public bug reported:
Binary package hint: maatkit
Description: Ubuntu 10.04.2 LTS
Release: 10.04
# apt-cache policy maatkit
maatkit:
Installed: 5427-1
Candidate: 5427-1
Version table:
*** 5427-1 0
500 http://de.archive.ubuntu.com/ubuntu/ lucid/universe Packages
100 /var/lib/dpkg/status
mk-audit supports the MKDEBUG env variable:
MKDEBUG=1 mk-audit ...
but if you omit that, it fails:
root@host:~/# mk-audit
Useless use of a constant in void context at /usr/bin/mk-audit line 721.
this is caused by the definition of constant MKDEBUG:
use constant MKDEBUG => $ENV{MKDEBUG};
which may result in 'undef'.
Can be fixed by this definition:
use constant MKDEBUG => $ENV{MKDEBUG}?$ENV{MKDEBUG}:0;
(at all lines where MKDEBUG is defined).
Regards
Matthias
** Affects: maatkit (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716151
Title:
mk-audit: Useless use of a constant in void context
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs