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@××××××××××××.nz wrote:
>>> Quoting P Purkayastha<ppurka@×××××.com>:
>>>> On 08/22/2011 06:48 AM, fbissey@××××××××××××.nz wrote:
>>>>> Quoting P Purkayastha<ppurka@×××××.com>:
>>>>>> 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] dev-python/cython
>>>>>> Available versions: 0.14.1 0.14.1-r1[1] {doc examples}
>>>>>> Installed versions: 0.14.1-r1[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, sage-clib and sage?
>>>>>
>>>>> Francois
>>>>
>>>> I haev tried rebuilding pynac, sage-clib, sage, sage-baselayout and
>>>> sage-notebook. The error persists.
>>>>
>>>>
>>>> ~> genlop -l --date 3 hours ago
>>>> * dev-python/cython
>>>>
>>>> Mon Aug 22 06:05:25 2011>>> dev-python/cython-0.14.1-r1
>>>> Mon Aug 22 06:56:32 2011>>> sci-libs/pynac-0.2.3
>>>> Mon Aug 22 06:56:58 2011>>> sci-mathematics/sage-clib-4.7.1
>>>> Mon Aug 22 07:09:34 2011>>> sci-mathematics/sage-4.7.1
>>>> Mon Aug 22 07:12:48 2011>>> dev-lang/yasm-1.1.0-r1
>>>> Mon Aug 22 07:14:55 2011>>> sci-mathematics/sage-notebook-0.8.19
>>>> Mon Aug 22 07:15:30 2011>>> sci-mathematics/sage-baselayout-4.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] dev-python/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 sage-baselayout
> 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 sage-baselayout 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 non-testable sources"
insinto /usr/share/sage/devel/sage-main
doins -r sage || die
fi