Bug#644423: libterm-readline-gnu-perl: FTBFS: Could not find neither libtermcap.a, libncurses.a, or libcurses.

Sven Joachim svenjoac at gmx.de
Wed Oct 5 18:50:42 UTC 2011


Package: libterm-readline-gnu-perl
Version: 1.20-1
Severity: serious
Tags: wheezy sid

>From my pbuilder log:

,----
|  debian/rules build
| dh build
|    dh_testdir
|    dh_auto_configure
| Could not find neither libtermcap.a, libncurses.a, or libcurses.
| dh_auto_configure: perl Makefile.PL INSTALLDIRS=vendor create_packlist=0 returned exit code 1
| make: *** [build] Error 2
`----

The reason is that libreadline-dev has stopped depending on
libncurses5-dev in 6.2-6, and libterm-readline-gnu-perl does not
build-depend on libncurses5-dev itself.

Possible solutions:

1) Build-depend on libncurses5-dev;

2) Patch Makefile.PL to try -ltinfo in preference over -ltermcap,
   -lcurses or -lncurses;

3) Wait for libtinfo-dev to take over the libtermcap.{a,so} symlinks
   from libncurses5-dev.

While 1) is the easiest short-term solution, 2) and 3) have the
advantage that libterm-readline-gnu-perl will only depend on libtinfo5
and not unnecessarily link against libncurses5.


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

Kernel: Linux 3.1.0-rc9-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

Versions of packages libterm-readline-gnu-perl depends on:
ii  libc6                       2.13-21 
ii  libncurses5                 5.9-2   
ii  libreadline6                6.2-6   
ii  perl                        5.12.4-5
ii  perl-base [perlapi-5.12.3]  5.12.4-5

libterm-readline-gnu-perl recommends no packages.

libterm-readline-gnu-perl suggests no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list