Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 838202 - sci-mathematics/maxima-5.46.0 fails tests: FAIL: sbcl-test.sh
Summary: sci-mathematics/maxima-5.46.0 fails tests: FAIL: sbcl-test.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-13 09:03 UTC by Agostino Sarubbo
Modified: 2022-09-14 12:52 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,944.56 KB, text/plain)
2022-04-13 09:03 UTC, Agostino Sarubbo
Details
1-test-suite.log (1-test-suite.log,29.51 KB, text/plain)
2022-04-13 09:03 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-04-13 09:03:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-mathematics/maxima-5.46.0 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-04-13 09:03:07 UTC
Created attachment 770582 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-04-13 09:03:09 UTC
Created attachment 770585 [details]
1-test-suite.log

1-test-suite.log
Comment 3 Agostino Sarubbo gentoo-dev 2022-04-13 09:03:09 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


./build_html.sh: line 169: cd: ..: No such file or directory
FAIL: sbcl-test.sh
Comment 4 Michael Orlitzky gentoo-dev 2022-05-08 01:29:55 UTC
Reported upstream at https://sourceforge.net/p/maxima/bugs/3974/
Comment 5 Andrey Grozin gentoo-dev 2022-05-08 02:24:28 UTC
maxima-5.46.0 runs run_testsuite(share_tests=true), i.e., including the share/ directory. Packages in share/ are not fully maintained, and some tests for them always failed. There are no test failures in the core maxima. We can patch it so that make test uses run_testsuite(), then there will be no test failures.
Comment 6 Michael Orlitzky gentoo-dev 2022-09-10 20:41:43 UTC
Even after patching out the share_tests=true, I still get two failures with ECL:

Running tests in rtest_gamma: 
********************** Problem 384 (line 1846) ***************
Input:
relerror(gamma_incomplete(0.5, (- 2.5) %i), 
                    (- 0.5969141790423885) + 0.009214957317429537 %i, 2.81e-15)


Result:
3.078728538817989e-15

This differed from the expected result:
true

********************** Problem 390 (line 1882) ***************
Input:
relerror(gamma_incomplete(0.5, 2.5 %i), 
                    (- 0.5969141790423885) - 0.009214957317429537 %i, 2.81e-15)


Result:
3.078728538817989e-15

This differed from the expected result:
true

825/827 tests passed
Comment 7 Michael Orlitzky gentoo-dev 2022-09-10 22:48:39 UTC
clisp has a failure as well:

********************** Problem 209 (line 990) ***************
Input:
                                                        3
                                      3 sqrt(%pi) gamma(-)
                                                        4
closeto(carlson_rd(0, 2, 1.0) - float(--------------------), 6.66134E-16)
                                                  1
                                            gamma(-)
                                                  4


Result:
8.881784197001252E-16

This differed from the expected result:
true

221/222 tests passed (not counting 2 expected errors)
Comment 8 Michael Orlitzky gentoo-dev 2022-09-10 22:49:31 UTC
And GCL of course dies a dishonorable death:

  running tests in rtest11: 
  Unrecoverable error: Segmentation violation..

Should we RESTRICT=test?
Comment 9 Michael Orlitzky gentoo-dev 2022-09-14 12:46:21 UTC
Reported the non-share_tests failures at,

  https://sourceforge.net/p/maxima/bugs/4027/
Comment 10 Larry the Git Cow gentoo-dev 2022-09-14 12:52:26 UTC
The bug has been closed via the following commit(s):

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

commit da876bb7967ac450e1986fca23382881dd441229
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2022-09-14 12:48:01 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2022-09-14 12:48:01 +0000

    sci-mathematics/maxima: disable the failing test suite.
    
    Stabilization of maxima-5.46.0 is pending, but its test suite fails even
    after disabling a chunk of unmaintained "share" tests. The failures have
    all been reported upstream; for now let's just turn it off so we don't
    annoy users.
    
    Bug: https://bugs.gentoo.org/867547
    Closes: https://bugs.gentoo.org/838202
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-mathematics/maxima/maxima-5.46.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)