Unsuccessful GIT build

Jeremy Allison jra at samba.org
Fri Oct 28 10:27:01 MDT 2011


On Fri, Oct 28, 2011 at 12:03:22PM -0400, Charles Tryon wrote:
>   Unfortunately, this post isn't going to be a lot of help, but I just ran
> into another git build failure which I was able to fix by blowing away my
> current samba-master directory and doing a clean pull/config/build.  Last
> build on that particular test system was around Oct 18.  I jumped too
> quickly and just removed the broken master directory (as opposed to renaming
> it so I could go back and get more details) before restarting the build.  My
> Bad.
> 
>   The one point is, for those people who are seeing issues in suddenly not
> being able to build, or with test failures, the failure may not be a broken
> library dependency or configure issue.  One thing to test is to remove
> (rename, move, etc.) the build directory and start from scratch.  I know
> there have been a lot of fixes for cleaning up leftover cruft when things
> change, but it looks like there may still be some issues.
> 
>   (If I see this error again, I'll do a better job of documenting it....)

Try doing:

git clean -d -f -x

from the top level directory, then doing the re-configure and make.
That command destroys all files not under git control, and is the
equivalent of doing a "make distclean" in the old autoconf environment.

Jeremy.


More information about the samba-technical mailing list