On Feb 22, 2012, at 7:14 PM, R. Andrew Ohana wrote:
> On Wed, Feb 22, 2012 at 10:09, Ivan Andrus <[email protected]> wrote:
>> On Feb 22, 2012, at 6:46 PM, R. Andrew Ohana wrote:
>>> On Wed, Feb 22, 2012 at 09:42, Ivan Andrus <[email protected]> wrote:
>>>> On Feb 22, 2012, at 4:59 PM, Jeroen Demeyer wrote:
>>>>
>>>>> If yes, we should test it.
>>>>>
>>>>> If no, no worries.
>>>>
>>>> Yes. I have Xcode 4.2 installed on 10.6. I think Xcode 4.3 is only for
>>>> Lion.
>>>
>>> This makes sense, and is unfortunate. 4.3 made some major changes,
>>> including separating the command line tools from Xcode, as well as
>>> removing the /Developer directory.
>>>>
>>>> I haven't been following the Lion discussion much. I've been building the
>>>> 5.0 betas with Xcode 3, should I try building beta 5 with Xcode 4? Is
>>>> there anything special that I need to do?
>>>
>>> try the 5.0 gcc betas (these are located in /home/jdemeyer/release),
>>> my guess is that you will encounter issues with pari and symmetrica if
>>> you use the plain 5.0 betas
>>
>> What is the difference between sage-5.0.beta5-gcc and sage-5.0.beta5-gccdeps?
>
> gccdeps only includes the dependencies for building a gcc spkg see
> http://trac.sagemath.org/sage_trac/ticket/12369 for more info.
OK. Thanks.
>> I have started downloading the former. I probably won't finish building
>> tonight since my computer is busy with some computations and I might have to
>> reinstall the command line tools for Xcode 4--I think I installed Xcode 3
>> over the top so that I could build some other stuff.
I built without SAGE_CHECK, and ran `make ptestlong` with the following results:
----------------------------------------------------------------------
The temporary doctesting directory
/Users/gvol/.sage/tmp/oroszlan.local-8136
was not removed: it is not empty, presumably because doctests
failed or doctesting was interrupted.
----------------------------------------------------------------------
The following tests failed:
sage -t --long -force_lib devel/sage/sage/interacts/debugger.py # Time
out
sage -t --long -force_lib devel/sage/sage/interfaces/expect.py # Time
out
sage -t --long -force_lib devel/sage/sage/interfaces/sage0.py # Time
out
sage -t --long -force_lib devel/sage/sage/misc/randstate.pyx # Time out
sage -t --long -force_lib devel/sage/sage/tests/cmdline.py # 2
doctests failed
----------------------------------------------------------------------
Total time for all tests: 11050.0 seconds
make: *** [ptestlong] Error 192
The failures in cmdline.py were due to my .gaprc not being compatible with
4.4.12 (I updated it for the beta). Fixing that and running again all tests
passed. I'm not sure of the timeouts. It seems that the process is definitely
stuck waiting for something since it uses no processor.
What is the best way to debug these? I tried running
./sage -t --gdb --long -force_lib devel/sage/sage/interacts/debugger.py
and I got
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/devel/sage/sage/interacts/debugger.py",
line 111, in __main__.example_3
Failed example:
a = sage0.eval("sage.interacts.debugger.test_function('n', 'm')")###line
54:_sage_ >>> a = sage0.eval("sage.interacts.debugger.test_function('n',
'm')")
Exception raised:
Traceback (most recent call last):
File "/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_3[2]>", line 1, in <module>
a = sage0.eval("sage.interacts.debugger.test_function('n',
'm')")###line 54:_sage_ >>> a =
sage0.eval("sage.interacts.debugger.test_function('n', 'm')")
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/sage/interfaces/sage0.py",
line 325, in eval
return Expect.eval(self, line, **kwds).strip()
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/sage/interfaces/expect.py",
line 1047, in eval
for L in code.split('\n') if L != ''])
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/sage/interfaces/expect.py",
line 679, in _eval_line
self._start()
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/sage/interfaces/expect.py",
line 461, in _start
self._expect.expect(self._prompt)
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/pexpect.py",
line 916, in expect
return self.expect_list(compiled_pattern_list, timeout,
searchwindowsize)
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/pexpect.py",
line 967, in expect_list
c = self.read_nonblocking (self.maxread, timeout)
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/pexpect.py",
line 548, in read_nonblocking
r, w, e = select.select([self.child_fd], [], [], timeout)
error: (4, 'Interrupted system call')
**********************************************************************
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/devel/sage/sage/interacts/debugger.py",
line 112, in __main__.example_3
Failed example:
d = sage0('sage.interacts.debugger.Debug()')###line 55:_sage_ >>> d =
sage0('sage.interacts.debugger.Debug()')
Exception raised:
Traceback (most recent call last):
File "/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_3[3]>", line 1, in <module>
d = sage0('sage.interacts.debugger.Debug()')###line 55:_sage_ >>> d
= sage0('sage.interacts.debugger.Debug()')
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/sage/interfaces/sage0.py",
line 263, in __call__
return SageElement(self, x)
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/sage/interfaces/expect.py",
line 1132, in __init__
self._name = parent._create(value, name=name)
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/sage/interfaces/interface.py",
line 388, in _create
self.set(name, value)
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/sage/interfaces/sage0.py",
line 338, in set
out = self.eval(cmd)
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/sage/interfaces/sage0.py",
line 325, in eval
return Expect.eval(self, line, **kwds).strip()
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/sage/interfaces/expect.py",
line 1047, in eval
for L in code.split('\n') if L != ''])
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/sage/interfaces/expect.py",
line 696, in _eval_line
E.expect(self._prompt)
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/pexpect.py",
line 916, in expect
return self.expect_list(compiled_pattern_list, timeout,
searchwindowsize)
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/pexpect.py",
line 967, in expect_list
c = self.read_nonblocking (self.maxread, timeout)
File
"/Users/gvol/SageStuff/sage-5.0.beta5-gcc/local/lib/python/site-packages/pexpect.py",
line 548, in read_nonblocking
r, w, e = select.select([self.child_fd], [], [], timeout)
error: (4, 'Interrupted system call')
Exception RuntimeError: RuntimeError('maximum recursion depth exceeded while
calling a Python object',) in ignored
Exception RuntimeError: RuntimeError('maximum recursion depth exceeded while
calling a Python object',) in ignored
and then a whole bunch of
Exception RuntimeError: RuntimeError('maximum recursion depth exceeded while
calling a Python object',) in ignored
I ran it again and I didn't see the above, but it seemed to hang so I
interrupted and it claims to be stuck in select (which makes sense):
(gdb) thread apply all bt
Thread 1 (process 27170):
#0 0x00007fff88a95932 in select$DARWIN_EXTSN ()
#1 0x0000000101ae56b8 in select_select ()
I don't know what to make of this backtrace though since it's obviously not
correct. Upon continuing I get the maximum recursion depth exception
repeating. Whenever I stop the backtrace has only 2 frames and they seem to be
quite random. Anyway, I don't see much hope of tracking this down by this
method.
-Ivan
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org