#9523: Upgrade the Readline spkg to 6.1
------------------------+---------------------------------------------------
   Reporter:  cwitty    |       Owner:  tbd         
       Type:  defect    |      Status:  needs_review
   Priority:  blocker   |   Milestone:  sage-4.6.1  
  Component:  packages  |    Keywords:              
     Author:            |    Upstream:  N/A         
   Reviewer:            |      Merged:              
Work_issues:            |  
------------------------+---------------------------------------------------
Changes (by drkirkby):

  * status:  new => needs_review


Old description:

> Under Arch Linux, Sage fails to build, giving this error message:
> {{{
> bash: symbol lookup error: bash: undefined symbol:
> rl_filename_rewrite_hook
> }}}
> in the middle of the sqlite build (the next package built after
> readline).  This can also happen on openSUSE Linux.
>
> This is a new symbol that was added in readline 6.1; so I'm pretty sure
> the problem is because our readline 6.0 is missing that symbol, so trying
> to run Arch's /bin/bash with our LD_LIBRARY_PATH will fail.
>
> We should upgrade our readline spkg to 6.1; I bet that would fix the
> problem.
>
> Threads: [http://groups.google.com/group/sage-
> devel/browse_thread/thread/3f0f6d8c6ead4816/75bb442a9accc9ec?#75bb442a9accc9ec
> sage-devel], [http://groups.google.com/group/sage-
> support/browse_thread/thread/973316c62d190197 sage-support].
>
> Related: #9530, #9987

New description:

 Under Arch Linux, Sage fails to build, giving this error message:
 {{{
 bash: symbol lookup error: bash: undefined symbol:
 rl_filename_rewrite_hook
 }}}
 in the middle of the sqlite build (the next package built after readline).
 This can also happen on openSUSE Linux.

 This is a new symbol that was added in readline 6.1; so I'm pretty sure
 the problem is because our readline 6.0 is missing that symbol, so trying
 to run Arch's /bin/bash with our LD_LIBRARY_PATH will fail.

 We should upgrade our readline spkg to 6.1; I bet that would fix the
 problem.

 Threads: [http://groups.google.com/group/sage-
 devel/browse_thread/thread/3f0f6d8c6ead4816/75bb442a9accc9ec?#75bb442a9accc9ec
 sage-devel], [http://groups.google.com/group/sage-
 support/browse_thread/thread/973316c62d190197 sage-support].

 Related: #9530, #9987

 An updated .spkg can be found at
 http://boxen.math.washington.edu/home/kirkby/patches/readline-6.1.spkg

--

Comment:

 I've updated the source code, and cleaned up the package a bit. If others
 want to clean it up further, feel free, but I don't want to spend a lot of
 time on this. It is not even causing any problems on any systems I'm
 using. The .spkg can be found here.

 http://boxen.math.washington.edu/home/kirkby/patches/readline-6.1.spkg

 I've checked the new .spkg actually builds on the following systems
  * AIX 5.3 (my own RS/6000 7025 F50 'aixbox') I did '''not''' try to
 resolve #9987
  * HP-UX 11.11B (my own HP C3600 'hpbox')
  * Linux (sage.math)
  * !OpenSolaris 06/2009 (my own Sun Ultra 27 'hawk' which is a Sage
 buildbot slave.)
  * OS X (bsd.math)
  * Solaris 10 SPARC ('mark' on skynet, which is a Sun Blade 2500)

 I've checked that the whole of Sage builds, and passes all doctests

 {{{
 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 1740.4 seconds
 drkir...@hawk:~/sage-4.6.rc0$
 }}}

 with the updated .spkg on only the following system.

  * !OpenSolaris (my own Sun Ultra 27 'hawk' which is a Sage buildbot
 slave)

 I've '''not''' checked this on any of the systems which have been known to
 cause issues with readline (FreeBSD, !ArchLinux, OpenSUSE etc).


 Dave

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