#14492: Modular group cohomology, version 2.1.4
--------------------------------------+-------------------------------------
       Reporter:  SimonKing           |         Owner:  tbd            
           Type:  defect              |        Status:  positive_review
       Priority:  major               |     Milestone:  sage-5.10      
      Component:  packages: optional  |    Resolution:                 
       Keywords:  group cohomology    |   Work issues:                 
Report Upstream:  N/A                 |     Reviewers:  Volker Braun   
        Authors:  SimonKing           |     Merged in:                 
   Dependencies:                      |      Stopgaps:                 
--------------------------------------+-------------------------------------

Comment (by SimonKing):

 For the following test, I added the command "bla" into cohomology.pyx,
 right after "import os". The attempt to install the resulting spkg was
 reported to be successful, even though of course there is an error:
 {{{
 ...
 gcc -pthread -shared -L/home/simon/SAGE/prerelease/sage-5.9.rc0/local/lib
 build/temp.linux-x86_64-2.7/pGroupCohomology/resolution.o
 build/temp.linux-x86_64-2.7/pGroupCohomology/c_sources/aufloesung.o
 build/temp.linux-x86_64-2.7/pGroupCohomology/c_sources/aufnahme.o
 build/temp.linux-x86_64-2.7/pGroupCohomology/c_sources/djgerr.o
 build/temp.linux-x86_64-2.7/pGroupCohomology/c_sources/fileplus.o
 build/temp.linux-x86_64-2.7/pGroupCohomology/c_sources/nBuchberger.o
 build/temp.linux-x86_64-2.7/pGroupCohomology/c_sources/pgroup.o
 build/temp.linux-x86_64-2.7/pGroupCohomology/c_sources/pincl.o
 build/temp.linux-x86_64-2.7/pGroupCohomology/c_sources/slice.o
 build/temp.linux-x86_64-2.7/pGroupCohomology/c_sources/urbild.o
 build/temp.linux-x86_64-2.7/pGroupCohomology/c_sources/uvr.o
 -L/home/simon/SAGE/prerelease/sage-5.9.rc0/local/lib -lmtx -lcsage
 -lpython2.7 -o build/lib.linux-x86_64-2.7/pGroupCohomology/resolution.so
 cythoning pGroupCohomology/cohomology.pyx to pGroupCohomology/cohomology.c

 Error compiling Cython file:
 ------------------------------------------------------------
 ...

 ###########################################################
 ## Imports

 import os
 bla
   ^
 ------------------------------------------------------------

 pGroupCohomology/cohomology.pyx:44:3: undeclared name not builtin: bla
 building 'pGroupCohomology.cohomology' extension
 gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
 prototypes -fPIC
 -I/home/simon/SAGE/prerelease/sage-5.9.rc0/local/include/csage
 -I/home/simon/SAGE/prerelease/sage-5.9.rc0/devel/sage -Imtx2.2.4/src
 -IpGroupCohomology/c_sources -IpGroupCohomology
 -I/home/simon/SAGE/prerelease/sage-5.9.rc0/local/include/python2.7 -c
 pGroupCohomology/cohomology.c -o
 build/temp.linux-x86_64-2.7/pGroupCohomology/cohomology.o
 pGroupCohomology/cohomology.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    0m51.516s
 user    0m18.015s
 sys     0m3.186s
 Successfully installed p_group_cohomology-2.1.4
 Deleting temporary build directory
 }}}
 So, perhaps this is not a problem of my script but a problem of the script
 of Sage that is called by "sage -i".

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14492#comment:29>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to