[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUMakefile: don't fail if there is no .tarball-version
From: |
Simon Josefsson |
Subject: |
Re: GNUMakefile: don't fail if there is no .tarball-version |
Date: |
Tue, 03 Jun 2008 18:29:02 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) |
Jim Meyering <address@hidden> writes:
> Simon Josefsson <address@hidden> 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
address@hidden:~/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
- GNUMakefile: don't fail if there is no .tarball-version, Simon Josefsson, 2008/06/02
- Re: GNUMakefile: don't fail if there is no .tarball-version, Jim Meyering, 2008/06/02
- Re: GNUMakefile: don't fail if there is no .tarball-version, Simon Josefsson, 2008/06/04
- Re: GNUMakefile: don't fail if there is no .tarball-version, Eric Blake, 2008/06/04
- Re: GNUMakefile: don't fail if there is no .tarball-version, Simon Josefsson, 2008/06/04
- Re: GNUMakefile: don't fail if there is no .tarball-version, Bruno Haible, 2008/06/04