Package: bash
Version: 4.3-13
Severity: normal
Tags: patch

Bash is supposed to link with tinfo rather than ncurses:

,----
| bash (4.2-1) unstable; urgency=low
| 
| [...]
|   * Just link with libtinfo instead of libncurses if available.
`----

However, for some reason this does no longer work.  Looking at the build
logs, starting with version 4.3-6 bash is linked with ncurses again.

While I haven't been able to figure out the exact reason for that, just
removing "--with-curses" from conf_args is sufficient to fix it, and you
probably want to do that anyway.  See the attached (trivial) patch.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 4.2.0-rc5-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bash depends on:
ii  base-files   9.2
ii  dash         0.5.7-4+b1
ii  debianutils  4.5.1
ii  libc6        2.19-19
ii  libncurses5  6.0~20150627-1
ii  libtinfo5    6.0~20150627-1

Versions of packages bash recommends:
ii  bash-completion  1:2.1-4.1

Versions of packages bash suggests:
ii  bash-doc  4.3-13

-- no debconf information

diff -Nru bash-4.3/debian/rules bash-4.3/debian/rules
--- bash-4.3/debian/rules	2015-01-28 17:55:12.000000000 +0100
+++ bash-4.3/debian/rules	2015-08-04 17:11:56.000000000 +0200
@@ -70,7 +70,6 @@
 		 -lncurses)
 
 conf_args = \
-	--with-curses \
 	--enable-largefile \
 	--prefix=/usr \
 	--infodir=/usr/share/info \

Reply via email to