Peter Gantner | 1 Mar 2010 18:50
Picon
Favicon

Re: Sage build failure (off-topic?)

Hi Francois,

Weel, I'll leave the discussion of my failure on here for the time being 
then.

Hodie pr. Kal. Mar. MMX AUC  quidam 'François Bissey' inquit:

> Not seen that before, what is the version of python you use?
> emerge --info could be good as well.

Python is:
* dev-lang/python-2.6.4-r99
    Install date: Fri Jan 29 19:08:38 2010
    USE="ipv6 sqlite ssl tk --berkdb -build -doc -elibc_uclibc -examples -gdbm -+ncurses -+readline
-+threads -+wide-unicode -wininst -+xml"
    CFLAGS="-O2 -march=nocona -mtune=native -pipe -w -fomit-frame-pointer -momit-leaf-frame-pointer"

which is from sage-on-gentoo.

emerge --info is attached.

Let me know whatever info you need more.

Greets,
   Peter G.

--

-- 
Some people, when confronted with a problem, think "I know,
I'll use regular expressions." Now they have two problems.
    -- Jamie Zawinski
(Continue reading)

Denis Dupeyron | 1 Mar 2010 19:08
Picon
Favicon
Gravatar

Re: Sage build failure (off-topic?)

On Mon, Mar 1, 2010 at 10:50 AM, Peter Gantner
<peter.gantner <at> edu.uni-graz.at> wrote:
>   CFLAGS="-O2 -march=nocona -mtune=native -pipe -w -fomit-frame-pointer
> -momit-leaf-frame-pointer"

Just a quick note. You don't need -momit-leaf-frame-pointer when you
have -fomit-frame-pointer. The latter does what the former does and
more. It's almost certainly not what's causing your problem though.

Denis.

François Bissey | 1 Mar 2010 21:07
Picon
Picon

Re: Sage build failure (off-topic?)

> Hi Francois,
> 
> Weel, I'll leave the discussion of my failure on here for the time being
> then.
> 
> Hodie pr. Kal. Mar. MMX AUC  quidam 'François Bissey' inquit:
> > Not seen that before, what is the version of python you use?
> > emerge --info could be good as well.
> 
> Python is:
> * dev-lang/python-2.6.4-r99
>     Install date: Fri Jan 29 19:08:38 2010
>     USE="ipv6 sqlite ssl tk --berkdb -build -doc -elibc_uclibc -examples
> -gdbm -+ncurses -+readline -+threads -+wide-unicode -wininst -+xml"
> CFLAGS="-O2 -march=nocona -mtune=native -pipe -w -fomit-frame-pointer
> -momit-leaf-frame-pointer"
> 
> which is from sage-on-gentoo.
> 
> emerge --info is attached.
> 
> Let me know whatever info you need more.
> 
Hi Peter,

I didn't get any clue from all of that. Have you also tried to install
sage-4.3.3 the traditional way? That is getting the sources from 
sagemath.org and going "make install" on them. 
At this stage it would be good to know if that works so we can figure
out if it is a sage bug or a sage-on-gentoo bug.
(Continue reading)

Christopher Schwan | 1 Mar 2010 21:16
Picon
Picon
Favicon

Re: Sage build failure (off-topic?)

Hi Peter,

On Monday 01 March 2010 18:50:32 Peter Gantner wrote:
> Hi Francois,
> 
> Weel, I'll leave the discussion of my failure on here for the time being
> then.
> 
> Hodie pr. Kal. Mar. MMX AUC  quidam 'François Bissey' inquit:
> > Not seen that before, what is the version of python you use?
> > emerge --info could be good as well.
> 
> Python is:
> * dev-lang/python-2.6.4-r99
>     Install date: Fri Jan 29 19:08:38 2010
>     USE="ipv6 sqlite ssl tk --berkdb -build -doc -elibc_uclibc -examples
> -gdbm -+ncurses -+readline -+threads -+wide-unicode -wininst -+xml"
> CFLAGS="-O2 -march=nocona -mtune=native -pipe -w -fomit-frame-pointer
> -momit-leaf-frame-pointer"
> 
> which is from sage-on-gentoo.
> 
> emerge --info is attached.
> 
> Let me know whatever info you need more.
> 
> Greets,
>    Peter G.

you could try to compile Sage with portage's original python:
(Continue reading)

François Bissey | 1 Mar 2010 21:38
Picon
Picon

[sage-on-gentoo]various announcements

Hi all,

A few items about what's happening or not in sage-on-gentoo.

-First as Denis said please do come and discuss your problems
here! It will get a bit more exposure than sending an email to 
Christopher or me (even if eventually we tell each other about it).

-The notebook (aka web interface) is currently broken we haven't
figured out why yet. Downgrading twisted to version 8.x doesn't
solve the problem. We may have to test the previous version to see
if that works - may need to touch sage's ebuild to allow it - if 
anyone is adventurous enough I'd be grateful for the testing.
While the notebook is broken the cli and cantor (kde-base/cantor)
works.

-Christopher has exams coming in the next 2 weeks. Be gentle.

-Until recently we had mpir in the overlay (both science and sage-on-gentoo)
but we weren't actually using it. sage ship mpir and install it in gmp 
compatibility mode - that is it provides gmp.h and libgmp and sage packages
links against these instead of mpir directly. No porting to use mpir natively 
has been done in sage.
Therefore while we were shipping mpir, gmp was actually used.
Recently I have updated sage-clib to use mpir, so far it seems to be working.
I have introduced a mpir use flag and ported a few ebuilds to mpir. Beware that 
it is a work in progress and enabling the useflag may cause breakage of sage
and may be other apps. Testing welcome nonetheless.

That it for now. 
(Continue reading)

Peter Gantner | 2 Mar 2010 10:31
Picon
Favicon

Re: Sage build failure (off-topic?)

Kal. Mar. MMX AUC quidam/quædam/quoddam 'Christopher Schwan' inquit:

> Hi Peter,
>
> On Monday 01 March 2010 18:50:32 Peter Gantner wrote:
>> Hi Francois,
>>
>> Weel, I'll leave the discussion of my failure on here for the time being
>> then.
>>
>> Hodie pr. Kal. Mar. MMX AUC  quidam 'François Bissey' inquit:
>>> Not seen that before, what is the version of python you use?
>>> emerge --info could be good as well.
>>
>> Python is:
>> * dev-lang/python-2.6.4-r99
>>     Install date: Fri Jan 29 19:08:38 2010
>>     USE="ipv6 sqlite ssl tk --berkdb -build -doc -elibc_uclibc -examples
>> -gdbm -+ncurses -+readline -+threads -+wide-unicode -wininst -+xml"
>> CFLAGS="-O2 -march=nocona -mtune=native -pipe -w -fomit-frame-pointer
>> -momit-leaf-frame-pointer"
>>
>> which is from sage-on-gentoo.
>>
>> emerge --info is attached.
>>
>> Let me know whatever info you need more.
>>
>> Greets,
>>    Peter G.
(Continue reading)

François Bissey | 2 Mar 2010 10:43
Picon
Picon

Re: Sage build failure (off-topic?)

> > you could try to compile Sage with portage's original python:
> > 
> > emerge -1 =dev-lang/python-2.6.4-r1
> > emerge sage
> 
> Ah, the simple solution worked! Python from portage did the trick.
> 
> I don't know why I never tried that, I guess because I thought if 
> there's a version in the overlay it will have some stuff patched in 
> which is required by sage.

Yes it does have stuff required by sage. However the current 
python-2.6.4-r99 is based on python-2.6.4 not 2.6.4-r1.
When I tried to bump to r1 it caused problems for a number of
people. If it is now working I will bump it.

Thanks for trying that.

Francois

François Bissey | 2 Mar 2010 11:00
Picon
Picon

Re: Sage build failure (off-topic?)

Python patch set now bumped in line with the new stable python.
Can the people who had problems with it before try again.
(yes that means you Steven).

Francois 

François Bissey | 2 Mar 2010 20:25
Picon
Picon

Re: python [sage-on-gentoo]

> Hey François,
> 
> I've been slow in getting to this, but I have a problem with the new
> python and byte-compiling. The issue is in building sqlalchemy. Here is
> the snippet:
> 
> warning: install_lib: byte-compiling is disabled, skipping.
> creating build/bdist.linux-x86_64/egg/EGG-INFO
> copying lib/SQLAlchemy.egg-info/PKG-INFO ->
> build/bdist.linux-x86_64/egg/EGG-INFO
> copying lib/SQLAlchemy.egg-info/SOURCES.txt ->
> build/bdist.linux-x86_64/egg/EGG-INFO
> copying lib/SQLAlchemy.egg-info/dependency_links.txt ->
> build/bdist.linux-x86_64/egg/EGG-INFO
> copying lib/SQLAlchemy.egg-info/entry_points.txt ->
> build/bdist.linux-x86_64/egg/EGG-INFO
> copying lib/SQLAlchemy.egg-info/top_level.txt ->
> build/bdist.linux-x86_64/egg/EGG-INFO
> zip_safe flag not set; analyzing archive contents...
> creating dist
> creating 'dist/SQLAlchemy-0.4.6-py2.6.egg' and adding
> 'build/bdist.linux-x86_64/egg' to it
> removing 'build/bdist.linux-x86_64/egg' (and everything under it)
> Creating
> /var/tmp/portage/sci-mathematics/sage-4.3.3/work/sage-4.3.3/local/lib64/pyt
> hon2.6/site-packages/site.py error: byte-compiling is disabled.
> 
Hi Steve,

that's a real bother, the other guy's problem with sqlalchemy should be solved
(Continue reading)

Christopher Schwan | 4 Mar 2010 19:26
Picon
Picon
Favicon

Re: AW: sage-on-gentoo

Hi Mark,

On Wednesday 03 March 2010 23:45:01 you wrote:
> Hi Chris
> 
> As before I spared some unused cpu cycles to emerge --depclean all sage
> dependences and emerged sage again. Everything went smooth but sage emerge
> still freezes at
> 
> >>> Install sage-4.3.3 into
> >>> /var/tmp/portage/sci-mathematics/sage-4.3.3/image/ category
> 
> sci-mathematics
> make -j3 DESTDIR=/var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt
> install echo "Experimental use only!"
> Experimental use only!
> if [ "/var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt" = "" ]; then
> \ echo "Set DESTDIR"; \
>                 exit 1; \
>         fi
> mkdir -p /var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt
> mkdir -p /var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt/sage
> mkdir -p /var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt/bin/
> cp -r --preserve=mode,links *
> /var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt/sage/ python
> local/bin/sage-hardcode_sage_root /var/tmp/portage/sci-
> mathematics/sage-4.3.3/image//opt/sage/sage "/var/tmp/portage/sci-
> mathematics/sage-4.3.3/image//opt"/sage
> cp /var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt/sage/sage
> /var/tmp/portage/sci- mathematics/sage-4.3.3/image//opt/bin/
(Continue reading)


Gmane