From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QvQnt-0005mJ-P8 for garchives@archives.gentoo.org; Mon, 22 Aug 2011 09:28:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A32921C2A1; Mon, 22 Aug 2011 09:28:12 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id CD1B421C2A0 for ; Mon, 22 Aug 2011 09:28:03 +0000 (UTC) Received: by gyg8 with SMTP id 8so4446743gyg.40 for ; Mon, 22 Aug 2011 02:28:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=h26NLfU87Wul89v3IB5WJrsZ2L6U5BVuIdJLzOLFFTA=; b=WuhuJWyziSkBeQ+cyQPmedrTpMiYnnJB/ZfLimpDNIlidPA4Iuj2U/fMXwXNms9ZUr KP3N8uz3vSR73SysnamKQCatlAc5DSxJ0OrVcpKUvuzNp6QaOPafN+6hVtkBfIoAgn/l iFLL/6Gm+V44XGQVLVTkp8IAIxyhFfCkDMWl8= Received: by 10.147.69.6 with SMTP id w6mr2051148yak.16.1314005282597; Mon, 22 Aug 2011 02:28:02 -0700 (PDT) Received: from [172.22.32.162] ([155.69.200.182]) by mx.google.com with ESMTPS id f4sm433268yhn.41.2011.08.22.02.28.00 (version=SSLv3 cipher=OTHER); Mon, 22 Aug 2011 02:28:01 -0700 (PDT) Message-ID: <4E52211E.7030904@gmail.com> Date: Mon, 22 Aug 2011 17:27:58 +0800 From: P Purkayastha User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110812 Thunderbird/6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 To: gentoo-science@lists.gentoo.org Subject: Re: [gentoo-science] Can not run sage-notebook References: <4E51295A.6060005@gmail.com> <20110822115919.owg08g0o000oo4wg@webmail.slingshot.co.nz> <4E51C5B7.20603@gmail.com> <4310572.Ch0ui68j1t@cschwan-laptop> In-Reply-To: <4310572.Ch0ui68j1t@cschwan-laptop> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 968545adf5b526d257f2fa71bb68defb 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@slingshot.co.nz wrote: >>> Quoting P Purkayastha: >>>> On 08/22/2011 06:48 AM, fbissey@slingshot.co.nz wrote: >>>>> Quoting P Purkayastha: >>>>>> 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