On 2016-07-25 18:45 +0200, Sven Joachim wrote: > Control: found -1 1:0.99.19-5 >
> > 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. > > I have re-opened the bug, since removing the /usr/share/terminfo > directory from the build system still triggers the FTBFS bug, and maybe > we want to drop the empty directory from ncurses-base at some point in > the future. > > 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. > > I have tried the attached patch, but unfortunately the build broke: > > ,---- > | dh_testdir > | # > | # --- MAKE --- > | # > | /usr/bin/make DL_LIB="" OTHERLIBS=-lutil XRENDERFONTLIBS=-lXft jed # getmail > | make[1]: Entering directory '/build/jed-0.99.19' > | cd autoconf && autoconf && mv ./configure .. > | Makefile is older than the configure script. > | Please re-run the configure script. > | Makefile:18: recipe for target 'Makefile' failed > | make[1]: *** [Makefile] Error 1 > | make[1]: Leaving directory '/build/jed-0.99.19' > | debian/rules:72: recipe for target 'build-stamp' failed > `---- > > Apparently there's something fishy with the build system, I don't know > whether it's related to debian/rules or if it is an upstream bug. OK. I wasn't sure whether this bug was actually fixed by my changes. I hoped that updating with autoreconf would make it go away (and it worked for me in a fresh chroot). I admit I didn't check the details very hard. So that for doing that. I'll look at the autofoo and try and work out what the correct fix is. My main problem is that I don't really understand how the terminfo libraries are used. > Anyway, thanks for switching away from dpatch! Yeah, that makes everyone's lives a little easier. It turned out to be easy when I got round to it, as the only 'non-patch' dpatch patch was doing config.{sub,guess} updates, and I know how to do that properly using other mechanisms (modulo failing to actually get it right on first attempt :-) Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
signature.asc
Description: Digital signature