Sage 5.4 build failure on Ubuntu 10.04 32 bit

39 views
Skip to first unread message

Kevin Horton

unread,
Nov 13, 2012, 10:43:25 AM11/13/12
to sage-...@googlegroups.com
Sage 5.4 fails to build for me on Ubuntu 10.04 32 bit:

gcc -fno-strict-aliasing -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kwh/sage-5.4/local/include -I/home/kwh/sage-5.4/local/include/csage -I/home/kwh/sage-5.4/devel/sage/sage/ext -I/home/kwh/sage-5.4/local/include/python2.7 -c sage/groups/perm_gps/permgroup_element.c -o build/temp.linux-i686-2.7/sage/groups/perm_gps/permgroup_element.o -w
sage/groups/perm_gps/permgroup_element.c: In function ‘initpermgroup_element’:
sage/groups/perm_gps/permgroup_element.c:12434: error: ‘__pqx_clineno’ undeclared (first use in this function)
sage/groups/perm_gps/permgroup_element.c:12434: error: (Each undeclared identifier is reported only once
sage/groups/perm_gps/permgroup_element.c:12434: error: for each function it appears in.)
error: command 'gcc' failed with exit status 1
gcc -fno-strict-aliasing -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kwh/sage-5.4/local/include/FLINT/ -I/home/kwh/sage-5.4/local/include -I/home/kwh/sage-5.4/local/include/csage -I/home/kwh/sage-5.4/devel/sage/sage/ext -I/home/kwh/sage-5.4/local/include/python2.7 -c sage/groups/perm_gps/partn_ref/automorphism_group_canonical_label.c -o build/temp.linux-i686-2.7/sage/groups/perm_gps/partn_ref/automorphism_group_canonical_label.o -std=c99 -w
python `which cython` --cplus --old-style-globals --embed-positions --directive cdivision=True,autotestdict=False,fast_getattr=True -I/home/kwh/sage-5.4/devel/sage-main -o sage/symbolic/constants_c.cpp sage/symbolic/constants_c.pyx
sage/symbolic/constants_c.pyx --> /home/kwh/sage-5.4/local/lib/python2.7/site-packages//sage/symbolic/constants_c.pyx
Error installing modified sage library code.
Error building new version of Sage.
You might try typing 'sage -ba' or write to sage-support with as much information as possible.

real 0m47.814s
user 0m6.400s
sys 0m7.476s
************************************************************************
Error installing package sage-5.4
************************************************************************

Any advice is appreciated.

Thanks,

Kevin Horton
Ottawa, Canada

Jeroen Demeyer

unread,
Nov 13, 2012, 10:49:44 AM11/13/12
to sage-...@googlegroups.com
On 2012-11-13 16:43, Kevin Horton wrote:
> sage/groups/perm_gps/permgroup_element.c:12434: error: �__pqx_clineno�
> undeclared (first use in this function)
It's a hardware problem, a bit got flipped in that file. The string
should be __pyx_clineno instead of __pqx_clineno. You should run memtest
to check for memory problems.

Kevin Horton

unread,
Nov 13, 2012, 9:48:46 PM11/13/12
to sage-...@googlegroups.com

On 2012-11-13, at 10:49 , Jeroen Demeyer <jdem...@cage.ugent.be> wrote:

> On 2012-11-13 16:43, Kevin Horton wrote:
>> sage/groups/perm_gps/permgroup_element.c:12434: error: ‘__pqx_clineno’
>> undeclared (first use in this function)
> It's a hardware problem, a bit got flipped in that file. The string
> should be __pyx_clineno instead of __pqx_clineno. You should run memtest
> to check for memory problems.

Thanks for the diagnosis and advice. I editted that file, and sage 5.4 built successfully. I then extracted the tarball into a new directory, and did another complete build from scratch, which worked. I'll do some memory testing. Or, maybe it was a VM glitch, as my Ubuntu is running in a VM.

Thanks,

Kevin Horton
Reply all
Reply to author
Forward
0 new messages