#13324: Upgrade ECL to 12.7.1 and let it build on (recent) Cygwins
----------------------------------------------------------------+-----------
       Reporter:  jpflori                                       |         
Owner:  tbd                                 
           Type:  defect                                        |        
Status:  needs_work                          
       Priority:  major                                         |     
Milestone:  sage-5.6                            
      Component:  cygwin                                        |    
Resolution:                                      
       Keywords:  cygwin ecl spkg                               |   Work 
issues:  correct options passed to configure 
Report Upstream:  Fixed upstream, but not in a stable release.  |     
Reviewers:  François Bissey, Karl-Dieter Crisman
        Authors:  Jean-Pierre Flori                             |     Merged 
in:                                      
   Dependencies:                                                |      
Stopgaps:                                      
----------------------------------------------------------------+-----------
Changes (by kcrisman):

  * reviewer:  François Bissey => François Bissey, Karl-Dieter Crisman


Comment:

 This is after installing the 12.12.1 ECL and then ''immediately''
 rebasing:
 {{{
 Summary:
 ECL enabled. Executable name: "ecl"
 default lisp: ecl
 wish executable name: "wish"

 Now building Maxima...
 Making all in admin
 make[1]: Entering directory
 `/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/admin'
 make[1]: Nothing to be done for `all'.
 make[1]: Leaving directory
 `/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/admin'
 Making all in src
 make[1]: Entering directory
 `/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src'
 test -d binary-ecl || mkdir binary-ecl
 ecl -norc -eval '(progn (load "../lisp-utils/defsystem.lisp") (load
 "../lisp-utils/make-depends.lisp") (funcall (intern "CREATE-DEPENDENCY-
 FILE" :mk) "binary-ecl/maxima" "ecl-depends.mk") (quit))'
 ;;; Loading
 "/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src
 /../lisp-utils/defsystem.lisp"
 ;;; Loading #P"/home/newsagetest/sage-5.5.rc0/local/lib/ecl/cmp.fas"
 ;;; Loading
 "/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src
 /../lisp-utils/make-depends.lisp"
 ;;; Loading
 
"/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src/maxima.system"
  cd .. && /bin/sh
 /home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/missing
 --run automake-1.9 --gnu  src/Makefile
 /home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/missing:
 line 52: automake-1.9: command not found
 WARNING: `automake-1.9' is missing on your system.  You should only need
 it if
          you modified `Makefile.am', `acinclude.m4' or `configure.in'.
          You might want to install the `Automake' and `Perl' packages.
          Grab them from any GNU archive site.
  cd .. && /bin/sh ./config.status src/Makefile
 config.status: creating src/Makefile
 make[1]: Leaving directory
 `/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src'
 make[1]: Entering directory
 `/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src'
 ../admin/make_share_list
 test -d binary-ecl || mkdir binary-ecl
 ecl -norc -eval '(progn (load "../lisp-utils/defsystem.lisp") (funcall
 (intern (symbol-name :operate-on-system) :mk) "maxima" :compile :verbose
 t) (build-maxima-lib))' -eval '(ext:quit)'
 ;;; Loading
 "/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src
 /../lisp-utils/defsystem.lisp"
 ;;; Loading #P"/home/newsagetest/sage-5.5.rc0/local/lib/ecl/cmp.fas"
 ;;; Loading
 
"/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src/maxima.system"

 ;  - Compiling defsystem "maxima"
 ;    - Compiling module "package"
 ;      - Compiling source file
 ;
 "/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src
 /maxima-package.lisp"
 ;;;
 ;;; Compiling
 /home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src/maxima-
 package.lisp.
 ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=2
 ;;;
 ;;; End of Pass 1.
 ;;; Finished compiling
 /home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src/maxima-
 package.lisp.
 ;;;

 ;      - Loading binary file "binary-ecl/maxima-package.fas"
 ;;; Loading
 "/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src
 /binary-ecl/maxima-package.fas"

 Condition of type: SEGMENTATION-VIOLATION
 Detected access to an invalid or protected memory address.
 Available restarts:

 1. (CONTINUE) Ignore signal
 2. (CONTINUE) Ignore initialization errors and continue.
 3. (ABORT) Quit ECL unsafely, ignoring all existing threads.

 Top level.
 >
 }}}
 (I didn't include the configuration stuff.)

 I couldn't get out of the debugger with `1` or `2` and so I just did
 `Ctrl-D`, which led to a lot more stuff, then
 {{{
 make[1]: Entering directory
 `/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src'
 ../admin/make_share_list
 test -d binary-ecl || mkdir binary-ecl
 ecl -norc -eval '(progn (load "../lisp-utils/defsystem.lisp") (funcall
 (intern (symbol-name :operate-on-system) :mk) "maxima" :compile :verbose
 t) (build-maxima-lib))' -eval '(ext:quit)'
 ;;; Loading
 "/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src
 /../lisp-utils/defsystem.lisp"
 ;;; Loading #P"/home/newsagetest/sage-5.5.rc0/local/lib/ecl/cmp.fas"
 ;;; Loading
 
"/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src/maxima.system"

 ;  - Compiling defsystem "maxima"
 ;    - Compiling module "package"
 ;      - Loading binary file "binary-ecl/maxima-package.fas"
 ;;; Loading
 "/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src
 /binary-ecl/maxima-package.fas"

 Condition of type: SEGMENTATION-VIOLATION
 Detected access to an invalid or protected memory address.
 Available restarts:

 1. (CONTINUE) Ignore signal
 2. (CONTINUE) Ignore initialization errors and continue.
 3. (ABORT) Quit ECL unsafely, ignoring all existing threads.

 Top level.
 >
 }}}
 and after `Ctrl-D` again,
 {{{
 make[2]: Entering directory
 `/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src'
 test -z "/home/newsagetest/sage-5.5.rc0/local/bin" || mkdir -p --
 "/home/newsagetest/sage-5.5.rc0/local/bin"
  /usr/bin/install -c 'maxima'
 '/home/newsagetest/sage-5.5.rc0/local/bin/maxima'
  /usr/bin/install -c 'maxima-command.ico'
 '/home/newsagetest/sage-5.5.rc0/local/bin/maxima-command.ico'
  /usr/bin/install -c 'maxima.bat'
 '/home/newsagetest/sage-5.5.rc0/local/bin/maxima.bat'
  /usr/bin/install -c 'set_lang.vbs'
 '/home/newsagetest/sage-5.5.rc0/local/bin/set_lang.vbs'
 /home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/install-sh
 -d "/home/newsagetest/sage-5.5.rc0/local/lib/maxima/5.26.0/binary-ecl"
 /usr/bin/install -c binary-ecl/maxima
 "/home/newsagetest/sage-5.5.rc0/local/lib/maxima/5.26.0/binary-ecl/maxima"
 /usr/bin/install: cannot stat `binary-ecl/maxima': No such file or
 directory
 Makefile:3088: recipe for target `install-ecl' failed
 make[2]: *** [install-ecl] Error 1
 make[2]: Leaving directory
 `/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src'
 Makefile:676: recipe for target `install-am' failed
 make[1]: *** [install-am] Error 2
 make[1]: Leaving directory
 `/home/newsagetest/sage-5.5.rc0/spkg/build/maxima-5.26.0.p0/src/src'
 Makefile:320: recipe for target `install-recursive' failed
 make: *** [install-recursive] Error 1
 ***********************************************************
 Error: Failed to install Maxima.
 ***********************************************************

 real    7m38.501s
 user    1m58.201s
 sys     1m37.148s
 ************************************************************************
 Error installing package maxima-5.26.0.p0
 ************************************************************************
 }}}
 I have no idea why, especially since rebasing seems to have nothing to do
 with it even though there is this inaccessible comment.  There is indeed a
 `maxima-package.{fas,o}` in the build directory in `src/src/binary-ecl`,
 but I don't see any `maxima-system`.  Is this similar to the problem you
 had?  And if you have an idea on how to continue in the ECL debugger, that
 would be great - probably that is part of my problem...

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13324#comment:85>
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