Bug#869086: dsniff sometimes FTBFS due to missing Makefile dependency

Lukas Schwaighofer lukas at schwaighofer.name
Thu Jul 20 18:43:18 UTC 2017


Hi Adrian,

On Thu, 20 Jul 2017 14:57:46 +0300
Adrian Bunk <bunk at debian.org> wrote:

> dsniff sometimes FTBFS in parallel builds: (...)
> The problem is a race condition where decode_mountd.c includes
> mount.h before rpcgen has finished generating it.

Indeed.

> A fix is attached.

Thanks a lot for debugging this already.  I had another FTBFS with your
patch applied, because `make` was trying to build mount.o without having
generated mount.h first.  I ended up inserting another dependency

     mount.o: mount.h

so that the ".c.o" rule would not try to build mount.o before
generating mount.h.  I also found another similar dependency between
nfs_prot.h and filesnarf.o which I resolved in the same way.

Hopefully that fixes all the parallel FTBFS now…

Thanks & Regards
Lukas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-security-team/attachments/20170720/b95044a0/attachment.sig>


More information about the Pkg-security-team mailing list