Source: jed
Version: 1:0.99.19-4

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

,----
| i586-linux-gnu-gcc -g -Wall -Wformat=2 -Wunused -Wundef -Wextra -Wswitch-enum 
-Wpointer-arith -Wnested-externs -Wbad-function-cast -Wcast-qual -Wcast-align 
-Wshadow -O2   -I/usr/include/freetype2   -Dunix -DJED -DUSE_GPM_MOUSE  
-Wl,-export-dynamic /build/jed-0.99.19/src/chkslang.c -o 
/build/jed-0.99.19/src/objs/chkslang -Wl,-export-dynamic 
-Wl,-R/usr/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -lslang -lgpm -ltermcap 
 -lutil 
| /usr/bin/ld.bfd.real: 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 jed might still FTBFS on the buildds until they
upgrade their base system.

Properly fixing this bug requires patching the buggy test in
autoconf/aclocal.m4 and regenerating configure, but since jed does not
currently build-depend on autoconf and uses dpatch which I haven't used
for years I can't really come up with a patch.

Sorry for the inconvenience.


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

Reply via email to