> On 04/ 9/11 11:05 AM, Dr. David Kirkby wrote: > I've found after installing the following 3 files > > http://boxen.math.washington.edu/home/kirkby/patches/singular-3-1-1-4.p5.sp > kg http://sage.math.washington.edu/home/dreyer/spkg/polybori-0.7.0.p2.spkg > http://www.stp.dias.ie/~vbraun/Sage/spkg/lcalc-20100428-1.23.p6.spkg > > then the following doctest fails repeatedly if I build with gcc-4.6.0 > > > drkirkby@hawk:~/sage-4.7.alpha3$ ./sage -t -long -force_lib > devel/sage/sage/interfaces/rubik.py > sage -t -long -force_lib "devel/sage/sage/interfaces/rubik.py" > ********************************************************************** > File > "/export/home/drkirkby/sage-4.7.alpha3/devel/sage/sage/interfaces/rubik.py" > , line 132: > sage: solver = OptimalSolver() # long time > Exception raised: > Traceback (most recent call last): > File > "/export/home/drkirkby/sage-4.7.alpha3/local/bin/ncadoctest.py", line > 1231, in run_one_test > self.run_one_example(test, example, filename, compileflags) > File > "/export/home/drkirkby/sage-4.7.alpha3/local/bin/sagedoctest.py", line 38, > in run_one_example > OrigDocTestRunner.run_one_example(self, test, example, filename, > compileflags) > File > "/export/home/drkirkby/sage-4.7.alpha3/local/bin/ncadoctest.py", line > 1172, in run_one_example > compileflags, 1) in test.globs > File "<doctest __main__.example_3[4]>", line 1, in <module> > solver = OptimalSolver() # long time###line 132: > sage: solver = OptimalSolver() # long time > File > "/export/home/drkirkby/sage-4.7.alpha3/local/lib/python/site-packages/sage/ > interfaces/rubik.py", line 98, in __init__ > self.ready() > File > "/export/home/drkirkby/sage-4.7.alpha3/local/lib/python/site-packages/sage/ > interfaces/rubik.py", line 117, in ready > self.child.expect('enter cube') > File > "/export/home/drkirkby/sage-4.7.alpha3/local/lib/python/site-packages/pexpe > ct.py", line 912, in expect > return self.expect_list(compiled_pattern_list, timeout, > searchwindowsize) File > "/export/home/drkirkby/sage-4.7.alpha3/local/lib/python/site-packages/pexpe > ct.py", line 978, in expect_list > raise EOF (str(e) + '\n' + str(self)) > EOF: End Of File (EOF) in read_nonblocking(). Empty string style > platform. <pexpect.spawn instance at 0xc53652c> > version: 2.0 ($Revision: 1.151 $) > command: /export/home/drkirkby/sage-4.7.alpha3/local/bin/optimal > args: ['/export/home/drkirkby/sage-4.7.alpha3/local/bin/optimal'] > patterns: > enter cube > buffer (last 100 chars): > before (last 100 chars): olutions > > initializing transformation tables > > init_fulledge_to_edgequot : too many edgequot's > > after: <class 'pexpect.EOF'> > match: None > match_index: None > exitstatus: None > flag_eof: 1 > pid: 8038 > child_fd: 3 > timeout: None > delimiter: <class 'pexpect.EOF'> > logfile: None > maxread: 2000 > searchwindowsize: None > delaybeforesend: 0.1 > ********************************************************************** > 1 items had failures: > 1 of 12 in __main__.example_3 > ***Test Failed*** 1 failures. > For whitespace errors, see the file > /export/home/drkirkby/.sage//tmp/.doctest_rubik.py > [9.5 s] > > ---------------------------------------------------------------------- > The following tests failed: > > > sage -t -long -force_lib "devel/sage/sage/interfaces/rubik.py" > Total time for all tests: 9.5 seconds
I wouldn't think they would have an influence on the rubik spkg. Could it be that optimal (part of the rubik spkg) miscompile with gcc-4.6.0? Or did you also have your pexpect-2.3 installed as well? Francois This email may be confidential and subject to legal privilege, it may not reflect the views of the University of Canterbury, and it is not guaranteed to be virus free. If you are not an intended recipient, please notify the sender immediately and erase all copies of the message and any attachments. Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more information. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org