p_group_cohomology optional spkg does not install in sagenb.org

12 views
Skip to first unread message

Jason Grout

unread,
Feb 11, 2012, 9:08:55 AM2/11/12
to sage-...@googlegroups.com
I'm upgrading sagenb.org to sage 4.8 and I get some errors when trying
to install the p_group_cohomology package. If you want this package
installed on sagenb.org, please help fix this problem. The error
message is below.

Thanks,

Jason


In file included from
/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/include/csage/stdsage.h:36,
from pGroupCohomology/modular_cohomology.c:238:
/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/include/csage/memory.h:57:
warning: function declaration isn�t a prototype
pGroupCohomology/modular_cohomology.c: In function
�__pyx_pf_16pGroupCohomology_18modular_cohomology_2MODCOHO_unpickle�:
pGroupCohomology/modular_cohomology.c:48161: warning: �__pyx_v_firstOdd�
may be used uninitialized in this function
gcc -pthread -shared
build/temp.linux-x86_64-2.6/pGroupCohomology/modular_cohomology.o
build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/aufloesung.o
build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/aufnahme.o
build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/djgerr.o
build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/fileplus.o
build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/nBuchberger.o
build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/pgroup.o
build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/pincl.o
build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/slice.o
build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/urbild.o
build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/uvr.o
-L/mnt/usb1/scratch/jdemeyer/merger/sage-4.8/local/lib -lmtx -lpython2.6
-o build/lib.linux-x86_64-2.6/pGroupCohomology/modular_cohomology.so
cythoning pGroupCohomology/cochain.pyx to pGroupCohomology/cochain.c

Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(C,MODCOCH):
P = self.parent()
if P is not C.parent():
return True
try:
br = singular('basering')
^
------------------------------------------------------------

pGroupCohomology/cochain.pyx:1037:33: local variable 'singular'
referenced before assignment
building 'pGroupCohomology.cochain' extension
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC
-I/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/include/csage/
-I/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/devel/sage/
-I/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/devel/sage/c_lib
-I/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/devel/sage/sage/ext
-Imtx2.2.4/src/ -IpGroupCohomology/c_sources -IpGroupCohomology
-I/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/include/python2.6
-c pGroupCohomology/cochain.c -o
build/temp.linux-x86_64-2.6/pGroupCohomology/cochain.o
pGroupCohomology/cochain.c:1:2: error: #error Do not use this file, it
is the result of a failed Cython compilation.
error: command 'gcc' failed with exit status 1

real 4m15.074s
user 4m7.460s
sys 0m7.450s
************************************************************************
Error installing package p_group_cohomology-2.0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)

Justin C. Walker

unread,
Feb 11, 2012, 2:27:17 PM2/11/12
to sage-...@googlegroups.com
Hi, Jason,

On Feb 11, 2012, at 06:08 , Jason Grout wrote:

> I'm upgrading sagenb.org to sage 4.8 and I get some errors when trying to install the p_group_cohomology package. If you want this package installed on sagenb.org, please help fix this problem. The error message is below.

Simon's already on the job; he fixed this a day or so ago. See
<http://trac.sagemath.org/sage_trac/ticket/9894>

HTH

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
Men are from Earth.
Women are from Earth.
Deal with it.
--------

Jason Grout

unread,
Feb 11, 2012, 2:34:21 PM2/11/12
to sage-...@googlegroups.com
On 2/11/12 1:27 PM, Justin C. Walker wrote:
> Hi, Jason,
>
> On Feb 11, 2012, at 06:08 , Jason Grout wrote:
>
>> I'm upgrading sagenb.org to sage 4.8 and I get some errors when trying to install the p_group_cohomology package. If you want this package installed on sagenb.org, please help fix this problem. The error message is below.
>
> Simon's already on the job; he fixed this a day or so ago. See
> <http://trac.sagemath.org/sage_trac/ticket/9894>


Great! So do people think I should install this new version on
sagenb.org, or wait for it to be totally reviewed? This is the only
thing holding us back from upgrading sagenb.org to 4.8. I actually
already upgraded all the other *.sagenb.org to 4.8 without this optional
spkg.

Thanks,

Jason

John H Palmieri

unread,
Feb 11, 2012, 4:10:49 PM2/11/12
to sage-...@googlegroups.com

I say install it now.  First, it's an optional spkg, and second, Simon's work is pretty trustworthy, in my experience.

--
John

Jason Grout

unread,
Feb 11, 2012, 5:00:58 PM2/11/12
to sage-...@googlegroups.com
On 2/11/12 3:10 PM, John H Palmieri wrote:
> I say install it now. First, it's an optional spkg, and second, Simon's
> work is pretty trustworthy, in my experience.

Okay, done. Sagenb.org is now upgraded to 4.8.

Thanks,

Jason


Reply all
Reply to author
Forward
0 new messages