Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 622184

Summary: <dev-perl/Unicode-String-2.100.0: Can't use 'defined(%hash)'... Unicode/CharName.pm line 80
Product: Gentoo Linux Reporter: alexsaa
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: kentnl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: stabilize 2.100.0 after 2018-04-17
Package list:
Runtime testing required: ---
Bug Depends on: 657190    
Bug Blocks:    

Description alexsaa 2017-06-19 01:10:44 UTC
Steps to reproduce:

1.

# emerge dev-perl/Unicode-String
# # 2.90.0-r1 installed

2.

$ perl -e 'use Unicode::CharName'
Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /usr/lib/perl5/vendor_perl/5.24.1/i686-linux/Unicode/CharName.pm line 80.
Compilation failed in require at -e line 1.

Actual: error.
Expected: no error.

Typical workaround:

# sed -i '80s/defined//' /usr/lib/perl5/vendor_perl/5.24.1/i686-linux/Unicode/CharName.pm

Notice:

Probably should update to Unicode-String-2.10, see https://rt.cpan.org/Public/Bug/Display.html?id=74354
Comment 1 Larry the Git Cow gentoo-dev 2018-03-18 10:12:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c769f05c6afedd2a6e219b465ee770877eb5f62

commit 8c769f05c6afedd2a6e219b465ee770877eb5f62
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-03-18 10:12:10 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-03-18 10:12:34 +0000

    dev-perl/Unicode-String: Bump to version 2.100.0 re bug #622184
    
    - EAPI6
    - Enable tests
    
    Bug: https://bugs.gentoo.org/622184
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-perl/Unicode-String/Manifest                      |  1 +
 dev-perl/Unicode-String/Unicode-String-2.100.0.ebuild | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)}
Comment 2 Larry the Git Cow gentoo-dev 2019-10-11 19:26:56 UTC
The bug has been closed via the following commit(s):

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

commit ba2bcb53324fa71b7ed917776a33b5d87a3377c7
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2019-10-11 19:25:13 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2019-10-11 19:26:38 +0000

    dev-perl/Unicode-String: Remove old
    
    Closes: https://bugs.gentoo.org/622184
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-perl/Unicode-String/Manifest                        |  1 -
 dev-perl/Unicode-String/Unicode-String-2.90.0-r1.ebuild | 17 -----------------
 2 files changed, 18 deletions(-)