Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931050 - dev-perl/PDL-2.88.0 fails tests on 32-bit: t/slice.t
Summary: dev-perl/PDL-2.88.0 fails tests on 32-bit: t/slice.t
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 929035
  Show dependency tree
 
Reported: 2024-05-01 15:41 UTC by matoro
Modified: 2024-10-14 04:18 UTC (History)
5 users (show)

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


Attachments
build.log and emerge --info (x86) (file_931050.txt,319.98 KB, text/plain)
2024-05-01 15:41 UTC, matoro
Details
build.log and emerge --info (arm) (file_931050.txt,353.87 KB, text/plain)
2024-05-01 15:41 UTC, matoro
Details
build.log and emerge --info (ppc) (file_931050.txt,339.17 KB, text/plain)
2024-05-01 15:41 UTC, matoro
Details
build.log and emerge --info (file_931050.txt,355.07 KB, text/plain)
2024-05-23 19:53 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-05-01 15:41:09 UTC
Fails on all 32-bit arches with the following:

t/slice.t .................. 1/? 
#   Failed test 'col=0'
#   at t/slice.t line 386.
# got=[-179.437743848642 261.844797897899 -99.7684073347678 2413.36135328551]

#   Failed test 'col=1'
#   at t/slice.t line 387.
# got=[110.89635677454 -504.813635895619 2336.3446476522 853.572631468881]
# Looks like you failed 2 tests of 602.
t/slice.t .................. Dubious, test returned 2 (wstat 512, 0x200)

Additionally, there is one extra fail on x86:

t/primitive-misc.t ......... 1/? 
    #   Failed test 'hist works'
    #   at t/primitive-misc.t line 32.
    #          got: '[3 5 1 2 2 1 2 1 0 4]'
    #     expected: '[3 5 1 2 1 2 2 1 0 4]'
    # Looks like you failed 1 test of 1.

#   Failed test 'hist'
#   at t/primitive-misc.t line 33.
# Looks like you failed 1 test of 7.
t/primitive-misc.t ......... Dubious, test returned 1 (wstat 256, 0x100)

But this is identified and fixed upstream already (and may be a nonissue on ssemath): https://github.com/PDLPorters/pdl/issues/474

On Debian CI, arm passes, and ppc does not pass but with a different failure that is not seen on Gentoo:  https://buildd.debian.org/status/package.php?p=pdl
Comment 1 matoro archtester 2024-05-01 15:41:24 UTC
Created attachment 892083 [details]
build.log and emerge --info (x86)
Comment 2 matoro archtester 2024-05-01 15:41:38 UTC
Created attachment 892084 [details]
build.log and emerge --info (arm)
Comment 3 matoro archtester 2024-05-01 15:41:57 UTC
Created attachment 892085 [details]
build.log and emerge --info (ppc)
Comment 4 Larry the Git Cow gentoo-dev 2024-05-12 00:12:38 UTC
The bug has been closed via the following commit(s):

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

commit b8356add5987ed9e5e9032d0f5933772cdcaf783
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-12 00:11:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-12 00:11:51 +0000

    dev-perl/PDL: add 2.89.0
    
    Closes: https://bugs.gentoo.org/931050
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-perl/PDL/Manifest          |   1 +
 dev-perl/PDL/PDL-2.89.0.ebuild | 139 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 140 insertions(+)
Comment 5 matoro archtester 2024-05-23 19:53:24 UTC
Created attachment 894072 [details]
build.log and emerge --info

Still an issue on 2.89.0 unfortunately :(

t/slice.t .................. 502/? 
#   Failed test 'col=0'
#   at t/slice.t line 386.
# got=[-179.437743848642 261.844797897899 -99.7684073347678 2413.36135328551]

#   Failed test 'col=1'
#   at t/slice.t line 387.
# got=[110.89635677454 -504.813635895619 2336.3446476522 853.572631468881]
# Looks like you failed 2 tests of 609.
t/slice.t .................. Dubious, test returned 2 (wstat 512, 0x200)
Comment 6 matoro archtester 2024-05-23 19:53:45 UTC
(attached sample is from arm)
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-24 05:23:32 UTC
Could you try git master first? If it fails, could you report upstream? They're both very nice but *also* very keen on helping us out in Gentoo.

Wonder if we need https://github.com/PDLPorters/pdl/commit/216dd196391303ca8ece9de7e1e39b7a9480de56...
Comment 8 Larry the Git Cow gentoo-dev 2024-10-14 04:18:06 UTC
The bug has been closed via the following commit(s):

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

commit b404018b5a1589ecf589828907ed7ad97ebecfba
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-10-14 04:06:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-14 04:17:40 +0000

    dev-perl/PDL: add 2.93.0
    
    Closes: https://bugs.gentoo.org/931050
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-perl/PDL/Manifest          |   1 +
 dev-perl/PDL/PDL-2.93.0.ebuild | 139 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 140 insertions(+)