Source: slrn
Version: 1.0.2-3

Your package currently FTBFS in unstable.  From my pbuilder log:

,----
| gcc /build/slrn-1.0.2/src/objs/chkslang.o -Wl,-z,relro -o 
/build/slrn-1.0.2/src/objs/chkslang  -lslang -luu -lcanlock 
-L/usr/lib/i386-linux-gnu/lib -lgnutls -lgnutls-openssl  -ltermcap
| /usr/bin/ld: cannot find -ltermcap
`----

This is an unexpected fallout from the fix for bug #745479[1], I did not
really consider it possible that packages use the ncurses5-config script
without a build dependency on libncurses5-dev.  Anyway, here's the
analysis:

The configure script tries to run "ncurses5-config --terminfo", and if
this does not succeed, uses a hardcoded list of terminfo directories
which unfortunately does not include the directories /etc/terminfo and
/lib/terminfo which we ship in ncurses-base.  Failing to find a terminfo
directory, it then concludes that the system must be using termcap and
adds "-ltermcap" to the linker line which fails.

I will work around that by shipping an /usr/share/terminfo directory in
ncurses-base, but slrn might still FTBFS on the buildds until they
upgrade their base system.

Properly fixing this bug requires patching the buggy
AC_DEFUN([JD_TERMCAP] in autoconf/aclocal.m4, or just removing the call
to it from autoconf/configure.ac (I think this test is completely
unnecessary, but haven't checked thoroughly yet).

Sorry for the inconvenience.


1. https://bugs.debian.org/745479

Reply via email to