#11119: ECL 11.1.1 fails on Cygwin
-------------------------------------------------------------+--------------
    Reporter:  mhansen                                       |         Owner:  
tbd                           
        Type:  defect                                        |        Status:  
closed                        
    Priority:  major                                         |     Milestone:  
sage-duplicate/invalid/wontfix
   Component:  cygwin                                        |    Resolution:  
duplicate                     
    Keywords:                                                |   Work_issues:   
                             
    Upstream:  Fixed upstream, but not in a stable release.  |      Reviewer:  
Jeroen Demeyer                
      Author:                                                |        Merged:   
                             
Dependencies:                                                |  
-------------------------------------------------------------+--------------
Changes (by jdemeyer):

  * author:  Dmitrii Pasechnik, Mike Hansen, Karl-Dieter Crisman =>
  * milestone:  sage-4.8 => sage-duplicate/invalid/wontfix
  * reviewer:  Karl-Dieter Crisman, Reg Burgess, François Bissey => Jeroen
               Demeyer
  * resolution:  fixed => duplicate
  * merged:  sage-4.8.alpha0 =>


Old description:

> ECL 11.1.1 fails on Cygwin with
>
> {{{
> gcc -DECLDIR="\"/home/mhansen/sage-4.7.alpha3/local/lib/ecl-11.1.1\"" -I.
> -I/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/build
> -I/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c
> -I../ecl/gc -DECL_API -DECL_NO_LEGACY
> -I/home/mhansen/sage-4.7.alpha3/local/include  -g -O2   -Dcygwin -c -o
> ffi/libraries.o tmp.c
> /home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:
> In function ‘copy_object_file’:
> /home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:108:
> error: ‘S_IRWXU’ undeclared (first use in this function)
> /home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:108:
> error: (Each undeclared identifier is reported only once
> /home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:108:
> error: for each function it appears in.)
> make[4]: *** [ffi/libraries.o] Error 1
> }}}
>
> another problem is absence of double inclusion guard in
> /usr/include/fenv.h,
> which causes other troubles (see below). This is in fact a Cygwin bug
> uncovered here (cf. below), which should be fixed in the next Cygwin
> update. Meanwhile, you could edit your /usr/include/fenv.h.
>
> ----
>
> Upstream patches fixing the issues here are in the spkg below.  This is
> separate from Cygwin fixing their problems, of course, so hopefully once
> both have new stable releases we'll really be in good shape, but this
> package should be sufficient on both XP and Windows 7.
>
> ----
>
> '''Apply'''
> [http://sage.math.washington.edu/home/kcrisman/ecl-11.1.1.p3.spkg]

New description:

 ECL 11.1.1 fails on Cygwin with

 {{{
 gcc -DECLDIR="\"/home/mhansen/sage-4.7.alpha3/local/lib/ecl-11.1.1\"" -I.
 -I/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/build
 -I/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c
 -I../ecl/gc -DECL_API -DECL_NO_LEGACY
 -I/home/mhansen/sage-4.7.alpha3/local/include  -g -O2   -Dcygwin -c -o
 ffi/libraries.o tmp.c
 /home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:
 In function ‘copy_object_file’:
 
/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:108:
 error: ‘S_IRWXU’ undeclared (first use in this function)
 
/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:108:
 error: (Each undeclared identifier is reported only once
 
/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:108:
 error: for each function it appears in.)
 make[4]: *** [ffi/libraries.o] Error 1
 }}}

 another problem is absence of double inclusion guard in
 /usr/include/fenv.h,
 which causes other troubles (see below). This is in fact a Cygwin bug
 uncovered here (cf. below), which should be fixed in the next Cygwin
 update. Meanwhile, you could edit your /usr/include/fenv.h.

 ----

 Upstream patches fixing the issues here are in the spkg below.  This is
 separate from Cygwin fixing their problems, of course, so hopefully once
 both have new stable releases we'll really be in good shape, but this
 package should be sufficient on both XP and Windows 7.

 ----

 See instead #11884.

--

Comment:

 Spkg is gone, so this can't be merged anymore...

 I moved the Authors/Reviewers to #11884.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11119#comment:55>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to