Subject: bug#29516: Maxima fails to build

From: Diego Nicola Barbato <[email-masked]>
Date: Fri, 01 Dec 2017 22:13:45 +0100

Leo Famulari <[email-masked]> writes:

> On Fri, Dec 01, 2017 at 11:53:01AM +0100, Diego Nicola Barbato wrote:
>> `guix build maxima' fails during the `check' phase with the following
>> output:
>
> Thanks for your report!
>
>> Testsuite summary for maxima 5.41.0
>> ============================================================================
>> # TOTAL: 1
>> # PASS:  0
>> # SKIP:  0
>> # XFAIL: 0
>> # FAIL:  1
>> # XPASS: 0
>> # ERROR: 0
>> ============================================================================
>> See tests/test-suite.log
>> ============================================================================
>
> Can you retry the build with '--keep-failed' and send the
> 'tests/test-suite.log' file that will be in the directory of the failed
> build?

As requested I ran `build' with `--keep-failed'.  This is the resulting
log file:

=========================================
   maxima 5.41.0: tests/test-suite.log
=========================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: gcl-test.sh
=================

Maxima 5.41.0 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.12
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) run_testsuite()
Running tests in rtest_rules: 103/103 tests passed
Running tests in rtestnset: 601/601 tests passed
Running tests in rtest1: 186/186 tests passed (not counting 3 expected errors)
Running tests in rtest1a: 34/34 tests passed (not counting 1 expected errors)
Running tests in rtest2: 268/268 tests passed (not counting 2 expected errors)
Running tests in rtest4: 93/93 tests passed
Running tests in rtest5: 83/83 tests passed
Running tests in rtest6: 39/39 tests passed
Running tests in rtest6a: 62/62 tests passed
Running tests in rtest6b: 27/27 tests passed
Running tests in rtest7: 85/85 tests passed
Running tests in rtest9: 89/89 tests passed
Running tests in rtest9a: 76/76 tests passed
Running tests in rtest10: 62/62 tests passed (not counting 2 expected errors)
Running tests in rtest11: 243/243 tests passed (not counting 3 expected errors)
Running tests in rtest13: 23/23 tests passed
Running tests in rtest13s: 17/17 tests passed
Running tests in rtest14: 418/418 tests passed
Running tests in rtest15: 
********************** Problem 55 ***************
Input:
compile(f)

Result:
warning: encountered undefined variable qwerty in translation.
Compiling /tmp/gazonk_4051_0.lsp.
End of Pass 1.  
End of Pass 2.  
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling /tmp/gazonk_4051_0.o.
error-catch

This differed from the expected result:
[f]

********************** Problem 61 ***************
Input:
compile(f)

Result:
Compiling /tmp/gazonk_4051_1.lsp.
End of Pass 1.  
End of Pass 2.  
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling /tmp/gazonk_4051_1.o.
error-catch

This differed from the expected result:
[f]

********************** Problem 67 ***************
Input:
compile(f)

Result:
Compiling /tmp/gazonk_4051_2.lsp.
End of Pass 1.  
End of Pass 2.  
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling /tmp/gazonk_4051_2.o.
error-catch

This differed from the expected result:
[f]

********************** Problem 73 ***************
Input:
compile(f)

Result:
warning: encountered undefined variable qwerty in translation.
Compiling /tmp/gazonk_4051_3.lsp.
End of Pass 1.  
End of Pass 2.  
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling /tmp/gazonk_4051_3.o.
error-catch

This differed from the expected result:
[f]

********************** Problem 79 ***************
Input:
compile(f)

Result:
warning: encountered undefined variable qwerty in translation.
Compiling /tmp/gazonk_4051_4.lsp.
End of Pass 1.  
End of Pass 2.  
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling /tmp/gazonk_4051_4.o.
error-catch

This differed from the expected result:
[f]

********************** Problem 85 ***************
Input:
compile(f)

Result:
Compiling /tmp/gazonk_4051_5.lsp.
End of Pass 1.  
End of Pass 2.  
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling /tmp/gazonk_4051_5.o.
error-catch

This differed from the expected result:
[f]

********************** Problem 91 ***************
Input:
compile(f)

Result:
Compiling /tmp/gazonk_4051_6.lsp.
End of Pass 1.  
End of Pass 2.  
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling /tmp/gazonk_4051_6.o.
error-catch

This differed from the expected result:
[f]

********************** Problem 164 ***************
Input:
compile(aref)

Result:
Compiling /tmp/gazonk_4051_7.lsp.
End of Pass 1.  
End of Pass 2.  
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling /tmp/gazonk_4051_7.o.
error-catch

This differed from the expected result:
[aref]

********************** Problem 173 ***************
Input:
compile(foo)

Result:
Compiling /tmp/gazonk_4051_8.lsp.
End of Pass 1.  
End of Pass 2.  
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling /tmp/gazonk_4051_8.o.
error-catch

This differed from the expected result:
[foo]

358/367 tests passed

The following 9 problems failed: (55 61 67 73 79 85 91 164 173)
Running tests in rtest16: 616/616 tests passed
Running tests in rtestode: 95/95 tests passed
Running tests in rtestode_zp: 30/30 tests passed
Running tests in rtest3: 157/157 tests passed
Running tests in rtest8: 
********************** Problem 133 ***************
Input:
(compile(foo17), first(quad_qags(foo17, u, - 1, 0)))

Result:
Compiling /tmp/gazonk_4051_9.lsp.
End of Pass 1.  
End of Pass 2.  
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling /tmp/gazonk_4051_9.o.
error-catch

This differed from the expected result:
- 0.359753467469551

173/174 tests passed

The following 1 problem failed: (133)
Running tests in rtest12: 79/79 tests passed (not counting 2 expected errors)
Running tests in rexamples: 137/137 tests passed
Running tests in rtesthyp: 423/423 tests passed (not counting 6 expected errors)
Running tests in rtest_hypgeo: 291/291 tests passed (not counting 1 expected errors)
Running tests in rtestmt19937: 15/15 tests passed
Running tests in rtest_allnummod: 548/548 tests passed
Running tests in rtestconjugate: 136/136 tests passed
Running tests in rtestsum: 306/306 tests passed (not counting 4 expected errors)
Running tests in rtest_trig: 160/160 tests passed
Running tests in rtest_zeta: 22/22 tests passed
Running tests in rtest_diff_invtrig: 22/22 tests passed
Running tests in rtest_scalarp: 20/20 tests passed
Running tests in rtest_everysome: 84/84 tests passed
Running tests in rtestint: 309/309 tests passed
Running tests in rtest_numth: 201/201 tests passed
Running tests in rtestifactor: 25/25 tests passed
Running tests in rtest_equal: 207/207 tests passed (not counting 2 expected errors)
Running tests in rtest_abs: 140/140 tests passed
Running tests in rtest_taylor: 149/149 tests passed (not counting 6 expected errors)
Running tests in rtest_dot: 60/60 tests passed
Running tests in rtest_mset: 112/112 tests passed
Running tests in rtest_boolean: 116/116 tests passed
Running tests in rtest_round: 101/101 tests passed
Running tests in rtest_map: 118/118 tests passed (not counting 3 expected errors)
Running tests in rtest_sign: 357/357 tests passed (not counting 7 expected errors)
Running tests in rtest_algebraic: 45/45 tests passed
Running tests in rtest_gamma: 761/761 tests passed
Running tests in rtest_expintegral: 210/210 tests passed
Running tests in rtest_signum: 59/59 tests passed
Running tests in rtest_lambert_w: 57/57 tests passed
Running tests in rtest_elliptic: 179/179 tests passed (not counting 2 expected errors)
Running tests in rtest_integrate: 812/812 tests passed
Running tests in rtest_integrate_special: 53/53 tests passed
Running tests in rtest_sqrt: 313/313 tests passed (not counting 1 expected errors)
Running tests in rtest_carg: 55/55 tests passed (not counting 2 expected errors)
Running tests in rtest_log: 129/129 tests passed
Running tests in rtest_power: 72/72 tests passed (not counting 5 expected errors)
Running tests in rtestdefstruct: 32/32 tests passed
Running tests in rtest_limit: 214/214 tests passed
Running tests in rtest_powerseries: 67/67 tests passed
Running tests in rtest_laplace: 98/98 tests passed (not counting 11 expected errors)
Running tests in rtest_plotoptions: 5/5 tests passed
Running tests in rtest_algsys: 56/56 tests passed

Error summary:
Errors found in /tmp/guix-build-maxima-5.41.0.drv-0/maxima-5.41.0/tests/rtest15.mac, problems:
(55 61 67 73 79 85 91 164 173)
Error found in /tmp/guix-build-maxima-5.41.0.drv-0/maxima-5.41.0/tests/rtest8.mac, problem:
(133)
10 tests failed out of 11,303 total tests.
real time       :    218.919 secs
run-gbc time    :    166.080 secs
child run time  :     17.440 secs
gbc time        :     23.620 secs
(%o0)                                done