On 08/22/2011 04:56 PM, Christopher Schwan wrote:
> On Monday 22 August 2011 10:57:59 P Purkayastha wrote:
>> On 08/22/2011 07:59 AM, fbissey@... wrote:
>>> Quoting P Purkayastha<ppurka@...>:
>>>> On 08/22/2011 06:48 AM, fbissey@... wrote:
>>>>> Quoting P Purkayastha<ppurka@...>:
>>>>>> Indeed cython was not rebuilt after/during the update of sage.
>>>>>> Rebuilding it doesn't make any difference. Still get the same
>>>>>> errors.
>>>>>> eix output just before remerging cython:
>>>>>>
>>>>>> [I] devpython/cython
>>>>>> Available versions: 0.14.1 0.14.1r1[1] {doc examples}
>>>>>> Installed versions: 0.14.1r1[1](10:34:40 PM 08/05/2011)(doc
>>>>>> examples)
>>>>>> Homepage: http://www.cython.org/
>>>>>> http://pypi.python.org/pypi/Cython
>>>>>> Description: The Cython compiler for writing C extensions
>>>>>> for the Python language
>>>>>
>>>>> Did you follow up with a rebuild of pynac, sageclib and sage?
>>>>>
>>>>> Francois
>>>>
>>>> I haev tried rebuilding pynac, sageclib, sage, sagebaselayout and
>>>> sagenotebook. The error persists.
>>>>
>>>>
>>>> ~> genlop l date 3 hours ago
>>>> * devpython/cython
>>>>
>>>> Mon Aug 22 06:05:25 2011>>> devpython/cython0.14.1r1
>>>> Mon Aug 22 06:56:32 2011>>> scilibs/pynac0.2.3
>>>> Mon Aug 22 06:56:58 2011>>> scimathematics/sageclib4.7.1
>>>> Mon Aug 22 07:09:34 2011>>> scimathematics/sage4.7.1
>>>> Mon Aug 22 07:12:48 2011>>> devlang/yasm1.1.0r1
>>>> Mon Aug 22 07:14:55 2011>>> scimathematics/sagenotebook0.8.19
>>>> Mon Aug 22 07:15:30 2011>>> scimathematics/sagebaselayout4.7.1
>>>> ~>
>>>
>>> OK let's look at some other things:
>>> printenv  grep SAGE
>>
>> ~> env  grep SAGE
>> SAGE_DATA=/usr/share/sage/data
>> SAGE_DOC=/usr/share/sage/devel/sage/doc
>> SAGE_ROOT=/usr/share/sage
>> SAGE_LOCAL=/usr
>>
>>> eix ipython
>>
>> ~> eix ipython
>> [I] devpython/ipython
>> Available versions: 0.10 0.10.1 0.10.2 {doc emacs examples
>> gnuplot readline smp test wxwidgets}
>> Installed versions: 0.10.2(02:29:03 AM 05/20/2011)(readline smp
>> doc emacs examples gnuplot test wxwidgets)
>> Homepage: http://ipython.scipy.org/
>> http://pypi.python.org/pypi/ipython
>> Description: An interactive computing environment for Python
>>
>>> What is your current shell?
>>
>> /bin/zsh
>> Running
>> exec bash
>> sage
>>
>> doesn't make any difference.
>>
>>> Outout of "sage gdb" if you installed with the debug useflag.
>>> Did you install the testsuite (useflag of the same name).
>>
>> Unfortunately, I didnt' compile either of them. Will do that later tonight.
>>
>>> Francois
>>
>> Thanks for patiently helping. :)
>
> Hi,
>
> Francois was right  compiling without the testsuite yields the same behavior
> on my box. So for the time being,
>
> USE=testsuite emerge 1 sagebaselayout
> USE=testsuite emerge 1 sage
>
> solves the problem.
>
> Any ideas which files are removed with USE=testsuite but still needed ?
>
> Cheers,
> Christopher
>
The only difference testsuite seems to make is *remove* files :) It
apparently has no effect on sagebaselayout as far as I can see from the
ebuild. But in sage ebuild, it removes stuff:
src_install() {
distutils_src_install
if use testsuite ; then
# install testable sources and sources needed for testing
find sage ! \( name "*.py" o name "*.pyx" o name "*.pxd" o \
name "*.pxi" \) type f delete \
 die "failed to remove nontestable sources"
insinto /usr/share/sage/devel/sagemain
doins r sage  die
fi
