bug-findutils
[Top][All Lists]
Advanced

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

Re: Questions about how to use git


From: Kai Yu
Subject: Re: Questions about how to use git
Date: Mon, 4 Apr 2011 11:08:41 +0800

OK, I'll try to use findutils-4.2.18.tar.gz into my own branch.

Another problem is, when I type "git checkout FINDUTILS_4_3_5-1" to switch
to the version 4.3.5, and use "sh import-gnulib.sh" for preparation, an
error arises:
...
configure.in:70: error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE
gnulib/m4/extensions.m4:19: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from...
gnulib/m4/extensions.m4:19: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/specific.m4:454: AC_AIX is expanded from...
configure.in:70: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
FAILED

What should I do to solve the problem now?


2011/4/4 James Youngman <address@hidden>

> On Sat, Apr 2, 2011 at 6:54 PM, Kai YU <address@hidden> wrote:
> >     Hi, I'm currently investigating how to fight software regressions
> with
> > git bisect. Particularly, I want to use git bisect to help locate the
> > #Bug12181 (http://savannah.gnu.org/bugs/?12181). However, when I use
> "git
> > checkout FINDUTILS_4_2_18-1" to switch to the version 4.2.18, it fails to
> > compile.
>
> As Kamil noted, probably because you are not using the correct version
> of gnulib.   I don't believe there is a record in git of which version
> of gnulib would be needed (since as Kamil notes, import-gnulib.config
> was not introduced until later).   However, that tag name conicides
> with a release.   Hence, the already-imported version of gnulib in the
> 4.2.18 release tarball is the correct version to use for that
> particular tag.
>
> > Moreover, I noticed that FINDUTILS_4_2_18-1.tar.gz (from
> >
> http://git.savannah.gnu.org/cgit/findutils.git/snapshot/FINDUTILS_4_2_18-1.tar.gz
> )
> > is different from findutils-4.2.18.tar.gz (from
> > http://ftp.gnu.org/gnu/findutils/findutils-4.2.18.tar.gz).
>
> Correct, FINDUTILS_4_2_18-1.tar.gz from the git server is simply a
> tarball containing the content of the tree as at that tag.   On the
> other hand, findutils-4.2.18.tar.gz is the full source release
> (including an imported copy of gnulib) as created by "make dist".
>
> > My question is,
> > how to get the code of findutils 4.2.18 (which can be successfully
> compiled)
> > by git automatically?
>
> You can import findutils-4.2.18.tar.gz into your own branch, along
> with the other releases, and bisect on that branch.   Whether this is
> useful to you as an approach I can't tell, since I don't really know
> what you are trying to achieve.
>
> James.
>
>


reply via email to

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