Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565098 - net-mail/mhonarc crashes with recent perl
Summary: net-mail/mhonarc crashes with recent perl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-08 03:33 UTC by Thomas Capricelli
Modified: 2019-10-25 12:55 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2015-11-08 03:33:01 UTC
For years not, mhonarc has issued warnings such as "Can't use 'defined(%hash)'" (coming for example from //usr/lib64/perl5/vendor_perl/5.22.0/mhamain.pl)

But now it has became an error and mhonarc wont start:
web / # mhonarc 
Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at //usr/lib64/perl5/vendor_perl/5.22.0/mhamain.pl line 1581.
Compilation failed in require at /usr/bin/mhonarc line 39.

There's another ticket about bumping mhonarc to 2.6.19, but i don't know if that would help.

I tried both packages:
     Sun Nov  8 04:27:08 2015 >>> net-mail/mhonarc-2.6.18-r2
     Sun Nov  8 04:29:21 2015 >>> net-mail/mhonarc-gentoo-2.6.18-r1

And both have the same error.

Reproducible: Always
Comment 1 George Clark 2017-01-06 16:44:26 UTC
Opened upstream bug: https://savannah.nongnu.org/bugs/?49997
Comment 2 Thomas Capricelli 2017-01-06 21:56:42 UTC
Yeps.
You mention that most warnings are fixed in mhonarc 2.1.19, but we don't have an ebuild for this yet, have we ?
Was it officially released ?
Comment 3 George Clark 2017-01-06 22:09:03 UTC
I downloaded and checked the 2.1.19 tarball directly from the MHonarc site. In 2.1.18, there were also a large number of issues in readmail.pl.  It's those that were fixed in 2.1.19.
Comment 4 Larry the Git Cow gentoo-dev 2019-10-25 12:55:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=773b70395c0378ccebcccb2ef7db25d16507468d

commit 773b70395c0378ccebcccb2ef7db25d16507468d
Author:     Hanno <hanno@gentoo.org>
AuthorDate: 2019-10-25 12:54:43 +0000
Commit:     Hanno <hanno@gentoo.org>
CommitDate: 2019-10-25 12:55:12 +0000

    net-mail/mhonarc: Version bump.
    
    Remove unneeded mirror restriction (code is GPL-2).
    Add patch from upstream bugtracker for compatibility with current perl.
    
    Closes: https://bugs.gentoo.org/531320
    Closes: https://bugs.gentoo.org/540946
    Closes: https://bugs.gentoo.org/565098
    Signed-off-by: Hanno Boeck <hanno@gentoo.org>
    Package-Manager: Portage-2.3.78, Repoman-2.3.17

 net-mail/mhonarc/Manifest                          |  1 +
 .../files/mhonarc-fix-perl-defined-bugs.diff       | 26 +++++++++++++++++
 net-mail/mhonarc/mhonarc-2.6.19.ebuild             | 33 ++++++++++++++++++++++
 3 files changed, 60 insertions(+)