Jim Meyering <[EMAIL PROTECTED]> writes: > Simon Josefsson <[EMAIL PROTECTED]> wrote: >> 'make dist' gets into a infloop in gnulib daily builds for me since >> there is no .tarball-version file. This should fix it. Ok to push? > > Hi Simon, > > Thanks for the report. > In daily builds of gnulib itself? built how? > > In normal practice, the .tarball-version file exists only > when the working directory is the result of unpacking a tarball. > > Please tell me how to reproduce the failure you're seeing.
The failure can be reproduced with: $ gnulib-tool --create-testdir --with-tests --dir=foo ... $ cd foo ... $ make distcheck INFO: running autoreconf for new version string: UNKNOWN ... [normal configure run...] INFO: running autoreconf for new version string: UNKNOWN [normal configure run...] INFO: running autoreconf for new version string: UNKNOWN [normal configure run...] INFO: running autoreconf for new version string: UNKNOWN ... However, my fix wasn't complete. It allows the build to avoid the infloop, but later when running ./configure within the 'make distcheck' target it fails with: config.status: creating Makefile config.status: creating config.h config.status: linking ../../gltests/GNUmakefile to GNUmakefile config.status: error: ../../gltests/GNUmakefile: file not found configure: error: ../../gltests/configure failed for gltests make: *** [distcheck] Error 1 [EMAIL PROTECTED]:~/gl2$ I haven't investigated this problem. As a work around, my daily builder just does 'echo 0 > .tarball-version' and that makes everything work. /Simon