Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863335 - =dev-perl/Template-Toolkit-3.9.0: anonymous hash warnings
Summary: =dev-perl/Template-Toolkit-3.9.0: anonymous hash warnings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Perl team
URL: https://metacpan.org/dist/Template-To...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-03 07:37 UTC by Timo Gurr
Modified: 2022-08-04 02:28 UTC (History)
0 users

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 Timo Gurr 2022-08-03 07:37:34 UTC
Running the ticket system OTRS/Znuny I'm experiencing the following warnings reported during cronjob runs:

each on anonymous hash will always start from the beginning at /usr/lib64/perl5/vendor_perl/5.36/x86_64-linux-thread-multi/Template/Document.pm line 75.
each on anonymous hash will always start from the beginning at /usr/lib64/perl5/vendor_perl/5.36/x86_64-linux-thread-multi/Template/Provider.pm line 376.
each on anonymous hash will always start from the beginning at /usr/lib64/perl5/vendor_perl/5.36/x86_64-linux-thread-multi/Template/Provider.pm line 875.
each on anonymous hash will always start from the beginning at /usr/lib64/perl5/vendor_perl/5.36/x86_64-linux-thread-multi/Template/Provider.pm line 894.

Changelog of Template-Toolkit > 3.9.0 states these should be fixed in recent versions >= 3.010 (13th December 2021):

https://metacpan.org/dist/Template-Toolkit/changes#L31

Improvements:
* Avoid anonymous hash warnings starting with Perl 5.35.2 (Graham Ollis)

Please bump Template-Toolkit to a recent version playing nice with Perl 5.36.0.

Reproducible: Always

Steps to Reproduce:
1. Install Perl 5.36.0
2. Install Template-Toolkit 3.9.0
Actual Results:  
Observe anonymous hash warnings

Expected Results:  
No warnings, package playing nice with Perl 5.36.0
Comment 1 Larry the Git Cow gentoo-dev 2022-08-04 02:27:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6916e57444dd716f9f72f76f68b8dc3cb1756033

commit 6916e57444dd716f9f72f76f68b8dc3cb1756033
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-04 02:27:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-04 02:27:31 +0000

    dev-perl/Template-Toolkit: add 3.10.0
    
    Closes: https://bugs.gentoo.org/863335
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-perl/Template-Toolkit/Manifest                 |  1 +
 .../Template-Toolkit-3.10.0.ebuild                 | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-04 02:28:26 UTC
Thanks!

We tend to do dev-perl bumps in patches (alphabetically) unless someone files a bug like this which (obviously) causes it to be done out-of-order, so thank you for doing that!