bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: config.rpath conflict


From: Eric Blake
Subject: Re: config.rpath conflict
Date: Sun, 04 Oct 2009 08:00:19 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Simon Josefsson on 10/4/2009 5:24 AM:
> Right, but the solution assumes that people building my software from
> version controlled sources has installed the same version of gnulib that
> was used when my software was committed to the repository.  I don't
> think that is reliable in the long run, or rather, it is clearly
> non-reliable even today since the gnulib APIs has changed.  Isn't there
> any other solution?

Yes - the use of git submodules guarantees that everyone building from
version-controlled sources has the same version of gnulib, by virtue of
the fact that the submodule for gnulib records that version.  Both
coreutils and m4 use this approach, and it has worked out rather nicely.
Findutils uses a similar approach where it records the latest version of
gnulib tested, but not as a git submodule.

>> In regular development, I would expect that you regularly modify some
>> configure.ac or Makefile.am, which don't require autopoint or gnulib-tool
>> to be run. Only seldom you decide to require more gnulib modules. No?

Actually, for m4, I'm now at the point where I perform more gnulib imports
than I do configure.ac changes.

> 
> Right, but I don't see how to turn that information into a solution to
> my problem.  As an example, my daily auto-builder checks out the
> sources, run autoreconf and then overwrites the m4 files created by
> autopoint with the gnulib-tool copies.  This causes ./configure etc to
> be re-run twice every time it is built.  This is sub-optimal and the
> only cause are the autopoint m4 files.

For m4, the bootstrap script takes care of running autopoint prior to
gnulib-tool --import, then runs autoreconf with AUTOPOINT=true.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrIqnMACgkQ84KuGfSFAYBJ8wCeKgRmULlfESPgNl99iTQhjuv5
ZqIAn0+xyVOlEiq1AG3akFxpFIU+E+Pm
=Anl5
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]