On 2016-07-28 15:19 +0200, Sven Joachim wrote:
> Control: found -1 1:0.99.19-6
> 
> On 2016-07-25 18:21 +0100, Wookey wrote:
> 
> > On 2016-07-25 18:45 +0200, Sven Joachim wrote:
> >> 
> >> 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.
> 
> They should not be used at all, but Mr. Davis has these special broken
> tests for them. :-(  And while I appreciate that you applied my patch to
> autoconf/aclocal.m4, the problem is not fixed as long as 'configure' is
> not regenerated.

Hmm. But configure is regenerated (on a second build dpkg-source
complains that 'configure' has changed). And I checked that the
updated configure has the debian terminfo directory, added from the
aclocal patch.

Run dpkg-buildpackage and check the configure file:
grep terminfo configure 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for terminfo" >&5
$as_echo_n "checking for terminfo... " >&6; }
   MISC_TERMINFO_DIRS=`$nc5config --terminfo`
                  /usr/lib/terminfo \
                  /usr/share/terminfo \
                  /usr/share/lib/terminfo \
                  /usr/local/lib/terminfo \
                  /lib/terminfo"

What test are you doing to determine that this problem is not fixed?

It is possible I guess that the configure flie is being updated too
late so the dir is not checked in time, but I just checked
that removing the /usr/share/terminfo did not break the build.

So I think I must be misunderstanding something here.

I realise that my latest attempt at a fix is not at all clean, and
makes the package one of those annoying 'won't build twice' packages,
but it did seem to me to be working.

Thanks for checking - I do actually want to get this right, although I
was hoping to avoid investing loads of time in a major autoconf update
(even though that is the right thing to do).

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to