No description
Find a file
Ron Lee ff819b108a Make configure an order-only prerequisite of aconfig.h.in
On filesystems with subsecond resolution, like ext4, we can't trust the
timestamp of aconfig.h.in since autoheader leaves it truncated to second
resolution (apparently touch -r and cp -p can do this at the very least)
while configure has full subsecond resolution, so it can look newer even
when it was cleanly created first, leading to the build system looping
trying to recreate all of that again ...

So in the initial stage of a clean build we can get something like this:

$ make spotless
$ make autoconf
rm -rf MCONFIG configure config.log aconfig.h *.cache
autoconf
rm -f aconfig.h.in aconfig.h
autoheader

$ stat configure aconfig.h.in
  File: ‘configure’
Device: 807h/2055d	Inode: 9443466     Links: 1
Access: 2014-07-31 03:27:27.599293442 +0930
Modify: 2014-07-31 03:27:27.711290270 +0930
Change: 2014-07-31 03:27:27.711290270 +0930

  File: ‘aconfig.h.in’
Device: 807h/2055d	Inode: 9443467     Links: 1
Access: 2014-07-31 03:27:27.000000000 +0930
Modify: 2014-07-31 03:27:27.000000000 +0930
Change: 2014-07-31 03:27:27.903284841 +0930

And with a parallel build, that can then leave 'make all' racing to
remove and recreate aconfig.h (and possibly more things), while it
begins to build the first targets.  Which then fail horribly like
we see here:

https://buildd.debian.org/status/fetch.php?pkg=tftp-hpa&arch=i386&ver=5.2%2B20140608-1&stamp=1406736363

Possibly we also need to move the actual build job into the rule for
the 'all' target, so that the build system update prerequisites are
guaranteed to be completed before it runs (as opposed to running in
parallel with them), but this change might be enough for now.

Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2014-07-31 16:25:41 -07:00
common Fix numeric IPv6 address handling 2008-08-09 20:58:19 -07:00
lib tftpd: switch to getopt_long() 2008-07-30 17:16:00 -07:00
tftp tftp: drop "inline" from definition of usage() 2014-06-07 13:00:46 -07:00
tftpd Update manpage to match source code for --map-file 2014-07-31 16:25:01 -07:00
.gitignore Add .gitignore file 2008-07-30 17:18:17 -07:00
aclocal.m4 IPv6 infrastructure support 2008-07-23 14:24:19 -04:00
autogen.sh autogen.sh: just do "make autoconf" 2009-02-16 14:53:50 -08:00
CHANGES CHANGES: document is address local fix 2011-12-11 14:13:13 -08:00
config.h Support IPv6 on MacOS X systems 2012-03-01 22:44:32 -08:00
configure.in tftpd: try to handle duplicate WRQ packets 2011-05-12 19:16:17 -07:00
INSTALL Clean up configure --help, add installation instructions. 2001-11-12 23:40:51 +00:00
install-sh Update install-sh to the one from autoconf 2.52 2001-11-13 00:00:06 +00:00
INSTALL.tftp Get rid of $Id$ tags and update copyright dates 2007-01-30 16:01:24 -08:00
Makefile Make configure an order-only prerequisite of aconfig.h.in 2014-07-31 16:25:41 -07:00
MCONFIG.in Downcase datarootdir, so mandir et al. find their defaults 2009-09-14 14:40:17 -07:00
MRULES Initial revision 1999-09-26 06:32:41 +00:00
README Update SYSLINUX mailing list info 2002-10-23 20:48:09 +00:00
README.security Get rid of $Id$ tags and update copyright dates 2007-01-30 16:01:24 -08:00
release.sh release.sh: remove Cogito 2008-07-30 15:36:46 -07:00
tftp-xinetd Add spec file for rpm -ta 2004-09-14 22:48:36 +00:00
tftp.spec.in spec: BuildPreReq -> BuildRequires; need -devel package 2011-06-22 16:32:56 -07:00
version Update version for release 5.2 2011-12-11 14:13:52 -08:00

This is tftp-hpa, a conglomerate of a number of versions of the BSD
TFTP code, changed around to port to a whole collection of operating
systems.  The goal is to work on any reasonably modern Unix with
sockets.

The tftp-hpa series is maintained by H. Peter Anvin <hpa@zytor.com>.

The latest version of this collection can be found at:

    ftp://ftp.kernel.org/pub/software/network/tftp/

See the file CHANGES for a list of changes between versions.


Please see the INSTALL and INSTALL.tftp files for compilation and
installation instructions.

===> IMPORTANT: IF YOU ARE UPGRADING FROM ANOTHER TFTP SERVER, OR FROM
===> A VERSION OF TFTP-HPA OLDER THAN 0.17 SEE THE FILE
===> "README.security" FOR IMPORTANT SECURITY MODEL CHANGES!


This software can be discussed on the SYSLINUX mailing list.  To
subscribe, go to the list subscription page at:

   http://www.zytor.com/mailman/listinfo/syslinux