On 2011-10-12 18:42 +0200, Sven Joachim wrote:

> The only other affected package I know of is bash which does not FTBFS
> right now, but will with libncurses5-dev 5.9-3 due to the changes for
> #644426.

This is a strange oddity with the bash configure script.  If you run it
"--with-curses" and it detects tgetent in -ltermcap:

,----
| checking for tgetent... no
| checking for tgetent in -ltermcap... yes
| checking which library has the termcap functions... using libtermcap
`----

it will nevertheless *not* add -ltermcap to the linker line, but just
-lcurses which fails in the static build.  But without the
libtermcap.a -> libtinfo.a symlink (#644426), tgetent is only in
-ltinfo in the static build:

,----
| checking for tgetent... no
| checking for tgetent in -ltermcap... no
| checking for tgetent in -ltinfo... yes
| checking which library has the termcap functions... using libtinfo
`----

And then -lcurses is not used, but -ltinfo which succeeds.

Anyway, I'll probably not dig into this further since it's already fixed
in experimental, modulo #641350.  Would be nice to see a bash that does
not link against ncurses in unstable soon, since ncurses-bin is going to
use only libtinfo5 as well (#644933), and then libncurses5 is actually
no longer required. :-)

Cheers,
       Sven



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to