lldb build does not use libedit/readline for interface

Bug #1727125 reported by Nelson Elhage
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
llvm-toolchain-4.0 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After installing `lldb-4.0`, if I start lldb, I get a vanilla console input line, and not a libedit/libreadline interface. Tab completion, arrow keys, history, etc are all missing.

Curiously, on Ubuntu 16.04 Precise, lldb-3.8 exhibits proper command-line editing but `lldb-4.0` does not; On 17.04 Zesty, neither package does. I have not attempted to further root-cause the discrepancy.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: lldb-4.0 1:4.0-1ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-38.42-generic 4.10.17
Uname: Linux 4.10.0-38-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CurrentDesktop: Unity:Unity7
Date: Tue Oct 24 18:36:54 2017
InstallationDate: Installed on 2016-03-29 (574 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323)
SourcePackage: llvm-toolchain-4.0
UpgradeStatus: Upgraded to zesty on 2017-10-19 (5 days ago)

Revision history for this message
Nelson Elhage (nelhage) wrote :
Changed in llvm-toolchain-4.0 (Ubuntu):
status: New → Fix Released
Revision history for this message
Mary Marchini (mmarchini) wrote :

This problem still affects Xenial and Zesty. Are there any plans on backporting the fix?

Revision history for this message
Peter Hull (peterhull90) wrote :

Also affects Artful,
Linux peter 4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful

Revision history for this message
Kasper (kbonne-v) wrote :

I would also like to see this fix pushed out soon. I'm on Artful. Is there an ETA?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.