Yeah, I exported SAGE_CHECK, which I have since removed since many tests fail.
Also, instructions are a little confusing, and I had read in at least one spot that you're supposed to set SAGE_ROOT for the build. Now you're saying that I shouldn't set that particular environment variable. Ah well, off to another round of building... Thanks for the advice! -- Rob P. On Monday, June 15, 2020 at 3:24:55 AM UTC-7, Dima Pasechnik wrote: > > Note that installing nose works, but it fails its own test suite for > some reason. How do you trigger the latter? > > Do you have SAGE_CHECK set to 'yes' and exported? > > Also, your --prefix=$SAGE_ROOT looks dodgy. > Setting SAGE_ROOT to anything can lead to bad things during the build. > > On Mon, Jun 15, 2020 at 10:13 AM Robert Poole <tarq...@gmail.com > <javascript:>> wrote: > > > > I've been trying to build and install Sage locally on a Fedora 32 system > (64-bit), running on a Ryzen 4700U APU with 8 GB of RAM. > > > > I have attached the relevant logs for your analysis. I'm really stumped > by this. > > > > My configure parameters are: > > > > ./configure --prefix=$SAGE_ROOT --enable-4ti2=yes --enable-boost=yes > --enable-libogg=yes --enable-libtheora=yes --enable-valgrind=yes > > > > Here's the error that showed up in the console: > > > >> [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.<locals>.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 > > > > > > What's strange is, I even tried to install nose 1.3.7 manually using > easy_install and it seemed to succeed -- but the Sage build isn't seeing > it. 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-...@googlegroups.com <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/17567b38-d062-4117-9cd6-85eedadec725o%40googlegroups.com. > > > -- 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/9dbb5815-2fc6-4515-97b4-0dc6cefa94e8o%40googlegroups.com.