#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: David Kirkby | Upstream:
N/A
Reviewer: Florent Hivert, Leif Leonhardy, Jeroen Demeyer | Merged:
Work_issues: rebase to readline-6.0.p4.spkg (#9530) |
--------------------------------------------------------------+-------------
Changes (by drkirkby):
* status: needs_work => 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
>
> An updated .spkg can be found at
> http://boxen.math.washington.edu/home/kirkby/patches/readline-6.1.spkg
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/readline-6.1.spkg
which is based on readline-6.0.p4.spkg from #9530.
--
Comment:
I had difficulty merging the changes made on this ticket to the changes
made in readline-6.0.p4.spkg (see #9530). There were a lot of rejects and
I was less confident of sorting them out, then doing the changes manually.
As such, I've taken the readline-6.0.p4.spkg, and manually made the
changes originally made here. It's not totally impossible I've missed one,
but I think they are ok.
So I'm attaching a new patch, {{{9523-brand-new-patch-based-on-
readline-6.0.p4.patch}}} which should have all the changes need to sort
out the update, and clean the package somewhat.
The updated package can be found at
http://boxen.math.washington.edu/home/kirkby/readline-6.1.spkg
(if you want to look at my previous attempt, see
http://boxen.math.washington.edu/home/kirkby/patches/readline-6.1.spkg)
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9523#comment:46>
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.