[pkg-bacula-devel] Bug#646730: bacula: drops readline support if rebuilt

Luca Capello luca at pca.it
Fri May 18 07:56:50 UTC 2012


Hi there!

On Thu, 17 May 2012 22:39:04 +0200, Sven Joachim wrote:
> On 2012-05-17 21:38 +0200, Luca Capello wrote:
>>> However,
>>> consider patching the upstream build system which erroneously believes
>>> that ncurses is necessary for linking with readline.
>>
>> While I am not an ncurses/readline expert, I think that upstream is
>> correct, according to the upstream manual:
>>
>>   <http://www.bacula.org/5.2.x-manuals/en/main/main/System_Requirements.html>
>>
>>   * If you want to enable command line editing and history, you will
>>     need to have /usr/include/termcap.h and either the termcap or the
>>     ncurses library loaded (libtermcap-devel or ncurses-devel).
>
> This is only "correct" because their configure script checks for it.
> AFAICS the only file that actually #includes an ncurses header is
> src/console/conio.c, and that should not be built with
> "--disable-conio".

Thank you for the detailed answer.

> However, there are a literally a hundred dpkg-shlibdeps warnings about
> useless dependencies, so it's probably not worth trying to fix this
> particular one.

This is tracked in #621282 and fixed in the Git development branch,
which we started to import into master:

  <http://anonscm.debian.org/gitweb/?p=pkg-bacula/bacula.git;a=commitdiff;h=60f2e8cd14785ab5dc73da7bf2423f05b6c8e54c>

>> Fix applied in the Git repository:
>>
>>   <http://anonscm.debian.org/gitweb/?p=pkg-bacula/bacula.git;a=commitdiff;h=c71e91fb4d6f7434786f1d36eeeb0b0506a2216c>
>
> Actually, the 5.0.3+dfsg-0.1 NMU[2] already added libncurses5-dev to
> Build-Depends, consider incorporating it into your git repository.

Thank you, I was aware of the NMU, which however was "rejected":

  <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658326#15>
  <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658326#45>

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20120518/4b7d8811/attachment.pgp>


More information about the pkg-bacula-devel mailing list