#15317: Troubles with Python and ncurses on Cygwin
-------------------------------------+-------------------------------------
       Reporter:  jpflori            |        Owner:
           Type:  defect             |       Status:  positive_review
       Priority:  major              |    Milestone:  sage-6.2
      Component:  porting: Cygwin    |   Resolution:
       Keywords:  cygwin spkg        |    Merged in:
  ncurses                            |    Reviewers:  Travis Scrimshaw
        Authors:  Jean-Pierre Flori  |  Work issues:
Report Upstream:  Workaround found;  |       Commit:
  Bug reported upstream.             |  c0a09c5122ffba794a121ad3bdf8fdf5cb96f2c8
         Branch:                     |     Stopgaps:
  u/jpflori/ticket/15317             |
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by jpflori):

 Trying to reinstall python then fails:
 {{{
 gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
 -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE \
               -DSVNVERSION="\"`LC_ALL=C svnversion .`\"" \
               -DHGVERSION="\"`LC_ALL=C hg id -i .`\"" \
               -DHGTAG="\"`LC_ALL=C hg id -t .`\"" \
               -DHGBRANCH="\"`LC_ALL=C hg id -b .`\"" \
               -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
 <command-line>:0:11: warning: missing terminating " character [enabled by
 default]
 <command-line>:1:7: warning: missing terminating " character [enabled by
 default]
 <command-line>:2:10: warning: missing terminating " character [enabled by
 default]
 ./Modules/getbuildinfo.c: In function 'Py_GetBuildInfo':
 ./Modules/getbuildinfo.c:45:5: error: missing terminating " character
 ./Modules/getbuildinfo.c:45:48: error: expected expression before ')'
 token
 ./Modules/getbuildinfo.c:46:27: error: missing terminating " character
 ./Modules/getbuildinfo.c:46:27: error: missing terminating " character
 ./Modules/getbuildinfo.c:47:28: error: missing terminating " character
 ./Modules/getbuildinfo.c:47:28: error: missing terminating " character
 ./Modules/getbuildinfo.c:53:19: error: 'buildinfo' undeclared (first use
 in this function)
 ./Modules/getbuildinfo.c:53:19: note: each undeclared identifier is
 reported only once for each function it appears in
 ./Modules/getbuildinfo.c: In function '_Py_hgversion':
 ./Modules/getbuildinfo.c:72:5: error: missing terminating " character
 ./Modules/getbuildinfo.c:72:5: warning: 'return' with no value, in
 function returning non-void [-Wreturn-type]
 ./Modules/getbuildinfo.c: In function '_Py_hgidentifier':
 ./Modules/getbuildinfo.c:79:5: error: missing terminating " character
 ./Modules/getbuildinfo.c:79:18: error: expected expression before ';'
 token
 ./Modules/getbuildinfo.c:83:9: error: missing terminating " character
 ./Modules/getbuildinfo.c:83:24: error: expected expression before ';'
 token
 ./Modules/getbuildinfo.c: In function 'Py_GetBuildInfo':
 ./Modules/getbuildinfo.c:57:1: warning: control reaches end of non-void
 function [-Wreturn-type]
 make: *** [Modules/getbuildinfo.o] Error 1
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/15317#comment:38>
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to