Bug 680955

Summary: mhonarc uses deprecated defined(%hash)
Product: [Fedora] Fedora Reporter: Joel Uckelman <uckelman>
Component: mhonarcAssignee: José Matos <jamatos>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: jamatos, tremble
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 901351 (view as bug list) Environment:
Last Closed: 2013-03-02 23:13:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joel Uckelman 2011-02-28 16:02:43 UTC
Description of problem:

The version of MHonArc in F14 generates a lot of deprecation warnings from Perl:

defined(%hash) is deprecated at /usr/share/MHonArc/mhamain.pl line 1544.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/mhopt.pl line 833.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 118.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 120.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 154.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 156.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 181.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 183.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 197.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 207.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 221.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 232.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/mhamain.pl line 1544.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/mhopt.pl line 833.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 118.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 120.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 154.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 156.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 181.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 183.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 197.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 207.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 221.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/MHonArc/readmail.pl line 232.
        (Maybe you should just omit the defined()?)

I run MHonArc from a cron script, so it would be nice not to see these in email from cron every day.

Version-Release number of selected component (if applicable):

mhonarc-2.6.16-7.fc12.noarch
perl-5.12.3-141.fc14.x86_64

How reproducible:

Always.

Steps to Reproduce:

(NB: I'm calling this from a perl script, so my command-line has a bunch of variables in it, sorry.)

1. mhonarc $quiet -spammode -rcfile $rcfile -outdir $webdir/$dir -title $title -ttitle $title -add $archivedir/$adir/$file

Actual results:

Lots of deprecation warnings from Perl.

Expected results:

No warnings.

Comment 1 Joel Uckelman 2012-03-26 18:30:56 UTC
This still happens with mhonarc-2.6.18-6.fc16.noarch.

Comment 2 Fedora End Of Life 2013-01-16 13:57:34 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Fedora End Of Life 2013-02-13 14:54:19 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 Joel Uckelman 2013-03-02 23:10:24 UTC
This still happens with mhonarc-2.6.18-7.fc17.noarch.

Comment 5 Joel Uckelman 2013-03-02 23:13:27 UTC

*** This bug has been marked as a duplicate of bug 901351 ***