Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625492 - sci-biology/diya broken since Perl 5.22 ( Can't use 'defined(@array)' )
Summary: sci-biology/diya broken since Perl 5.22 ( Can't use 'defined(@array)' )
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2017-07-18 07:48 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2021-05-04 22:30 UTC (History)
1 user (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 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-07-18 07:48:36 UTC
This has been deprecated syntax for 10 years now.

It also bundles old stuff in t/lib that should be nuked.


>>> Source compiled.
>>> Test phase: sci-biology/diya-1.0_rc4
make -j3 test TEST_VERBOSE=0
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_diya.t ................... 1/38
#   Failed test 'use diya;'
#   at t/01_diya.t line 22.
#     Tried to use 'diya'.
#     Error:  Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at lib/diya.pm line 1057.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at t/01_diya.t line 22.
Can't locate object method "_initialize" via package "diya" at lib/diya.pm line 659.
# Looks like your test exited with 255 just after 1.

You have loaded versions of test modules known to have problems with Test2.
This could explain some test failures.
 * Module 'Test::Exception' is outdated, we recommed updating above 0.42.

t/01_diya.t ................... Dubious, test returned 255 (wstat 65280, 0xff00)
Comment 1 Larry the Git Cow gentoo-dev 2021-04-05 13:31:05 UTC
The bug has been referenced in the following commit(s):

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

commit 707ae4e51302559f630943d263451160024359cf
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-04-05 13:30:42 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-04-05 13:30:42 +0000

    package.mask: last-rite sci-biology/diya
    
    Bug: https://bugs.gentoo.org/625492
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2021-05-04 22:30:14 UTC
The bug has been closed via the following commit(s):

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

commit 465ad2177c6573574db5d9514684adb90208fd6e
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-05-04 21:56:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-04 22:29:35 +0000

    sci-biology/diya: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/625492
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask                |  5 -----
 sci-biology/diya/Manifest            |  1 -
 sci-biology/diya/diya-1.0_rc4.ebuild | 42 ------------------------------------
 sci-biology/diya/metadata.xml        | 11 ----------
 4 files changed, 59 deletions(-)