Opened 11 years ago

Last modified 11 years ago

#9523 closed defect

Upgrade the Readline spkg to 6.1 — at Version 6

Reported by: cwitty Owned by: tbd
Priority: blocker Milestone: sage-4.6.1
Component: packages: standard Keywords:
Cc: timdumol Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by mpatel)

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: sage-devel, sage-support.

Related: #9530.

Change History (6)

comment:1 Changed 11 years ago by gostrc

Hello, I'm the maintainer of sage-mathematics in the AUR. I think I have worked around this issue with 4.5-2 by not building sage's libreadline, and as a result, using the system's readline :)

BTW, this error is supposedly worked around by sage, by checking if uname -r | grep ARCH returns anything. Which means that people with custom kernels are likely to be experiencing this problem.

comment:2 Changed 11 years ago by gostrc

Oh ya, +1 from me to upgrade sage's libreadline to 6.1 so it can get rid of the internal workarounds and the workaround in my PKGBUILD :P

comment:3 follow-up: Changed 11 years ago by hivert

Just to let you now ! The very same problem occurs with the new openSuSE 11.3...

Florent

comment:4 in reply to: ↑ 3 Changed 11 years ago by mpatel

  • Description modified (diff)
  • Summary changed from Arch linux build fails because our readline spkg is too old to Upgrade the Readline spkg to 6.1

Replying to hivert:

Just to let you now ! The very same problem occurs with the new openSuSE 11.3...

Indeed, there's a recent thread about readline and openSUSE on sage-support.

comment:5 Changed 11 years ago by mpatel

  • Description modified (diff)

comment:6 Changed 11 years ago by mpatel

  • Description modified (diff)
Note: See TracTickets for help on using tickets.