Don't use SAGE_CHECK=yes, or at least disable testing for the nose package: 
it is known to fail its test suite. (See 
https://trac.sagemath.org/ticket/28727, for example.) If you want to keep 
SAGE_CHECK=yes in general, then temporarily turn it off, install nose (with 
`sage -i nose`), and then reenable it. Some other packages are likely to 
fail their test suites, too.



On Monday, June 15, 2020 at 2:13:49 AM UTC-7, Robert Poole wrote:
>
> Not sure what happened to the first post I attempted, so here's the second 
> try:
>
> I'm building/installing Sage 9.1 on a Fedora 32 x64 system.  The APU is a 
> Ryzen 4700U (AMD) and the working system RAM is 8 GB.  The system comes 
> with Python 3 by default.
>
> My config parameters were:
>
> ./configure --prefix=$SAGE_ROOT --enable-4ti2=yes --enable-boost=yes 
> --enable-libogg=yes --enable-libtheora=yes --enable-valgrind=yes 
>
> [nose-1.3.7]  
>> [nose-1.3.7] 
>> ====================================================================== 
>> [nose-1.3.7] FAIL: test_addSuccess (test_xunit.TestXMLOutputWithXML) 
>> [nose-1.3.7] 
>> ---------------------------------------------------------------------- 
>> [nose-1.3.7] Traceback (most recent call last): 
>> [nose-1.3.7]   File 
>> "/home/tarquin/Sage/var/tmp/sage/build/nose-1.3.7/src/build/tests/unit_tests/test_xunit.py",
>>  
>> line 282, in test_addSuccess 
>> [nose-1.3.7]     eq_(tc.attrib['classname'], "test_xunit.TC") 
>> [nose-1.3.7] AssertionError: 'test_xunit.mktest.<locals>.TC' != 
>> 'test_xunit.TC' 
>> [nose-1.3.7] -------------------- >> begin captured stdout << 
>> --------------------- 
>> [nose-1.3.7] b'<?xml version="1.0" encoding="UTF-8"?><testsuite 
>> name="nosetests" tests="1" errors="0" failures="0" skip="0"><testcase 
>> classname="test_xunit.mktest.&lt;locals&gt;.TC" name="runTest" 
>> time="0.000"></testcase></testsuite>' 
>> [nose-1.3.7]  
>> [nose-1.3.7] --------------------- >> end captured stdout << 
>> ---------------------- 
>> [nose-1.3.7]  
>> [nose-1.3.7] 
>> ---------------------------------------------------------------------- 
>> [nose-1.3.7] Ran 387 tests in 16.913s 
>> [nose-1.3.7]  
>> [nose-1.3.7] FAILED (SKIP=15, failures=7) 
>> [nose-1.3.7]  
>> [nose-1.3.7] real    0m25.836s 
>> [nose-1.3.7] user    0m15.340s 
>> [nose-1.3.7] sys    0m4.335s 
>> [nose-1.3.7] 
>> ************************************************************************ 
>> [nose-1.3.7] Error testing package nose-1.3.7 
>> [nose-1.3.7] 
>> ************************************************************************ 
>> [nose-1.3.7] Please email sage-devel (
>> http://groups.google.com/group/sage-devel) 
>> [nose-1.3.7] explaining the problem and including the log file 
>> [nose-1.3.7]   /home/tarquin/Sage/sage-9.1/logs/pkgs/nose-1.3.7.log 
>> [nose-1.3.7] Describe your computer, operating system, etc. 
>> [nose-1.3.7] If you want to try to fix the problem yourself, *don't* just 
>> cd to 
>> [nose-1.3.7] /home/tarquin/Sage/var/tmp/sage/build/nose-1.3.7 and type 
>> 'make check' or whatever is appropriate. 
>> [nose-1.3.7] Instead, the following commands setup all environment 
>> variables 
>> [nose-1.3.7] correctly and load a subshell for you to debug the error: 
>> [nose-1.3.7]   (cd '/home/tarquin/Sage/var/tmp/sage/build/nose-1.3.7' && 
>> '/home/tarquin/Sage/sage-9.1/sage' --buildsh) 
>> [nose-1.3.7] When you are done debugging, you can type "exit" to leave 
>> the subshell. 
>> [nose-1.3.7] 
>> ************************************************************************ 
>> make[3]: *** [Makefile:2147: 
>> /home/tarquin/Sage/var/lib/sage/installed/nose-1.3.7] Error 1 
>> make[3]: Leaving directory '/home/tarquin/Sage/sage-9.1/build/make' 
>> make[2]: *** [Makefile:1823: all-start] Error 2 
>> make[2]: Leaving directory '/home/tarquin/Sage/sage-9.1/build/make' 
>>  
>> real    82m0.129s 
>> user    80m42.912s 
>> sys    0m59.296s 
>> *************************************************************** 
>> Error building Sage. 
>>  
>> The following package(s) may have failed to build (not necessarily 
>> during this run of 'make all-start'): 
>>  
>> * package:         nose-1.3.7 
>>   last build time: Jun 14 01:31 
>>   log file:        /home/tarquin/Sage/sage-9.1/logs/pkgs/nose-1.3.7.log 
>>   build directory: /home/tarquin/Sage/var/tmp/sage/build/nose-1.3.7 
>>  
>> [snip]
>>  
>> make[1]: *** [Makefile:33: all-start] Error 1 
>> make[1]: Leaving directory '/home/tarquin/Sage/sage-9.1' 
>> make: *** [Makefile:13: all] Error 2 
>>
>
> I also tried installing nose using easy_install, which seemed to work... 
> but the Sage build wouldn't use it, apparently.  Any ideas?
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/68c027ec-5d22-44ae-b548-80ef3d65d8d9o%40googlegroups.com.

Reply via email to