./bootstrap failing

Mike Frysinger vapier at gentoo.org
Sat Mar 7 10:04:11 UTC 2015


On 06 Mar 2015 15:14, Christopher Covington wrote:
> On 03/06/2015 02:43 PM, Mike Frysinger wrote:
> > On 06 Mar 2015 13:29, Christopher Covington wrote:
> >> I want this behavior so that from a simple shell script I can build the latest
> >> git checkout of strace, starting from the very beginning, in a directory that
> >> may have a previous build present. If anyone has suggestions of a better way
> >> to do this, please let me know.
> > 
> > if you care about this, then build out of tree:
> >  d="build/$(date +%s)"
> >  mkdir -p "$d"
> >  cd "$d"
> >  ../../configure ...
> 
> Thanks for the response. Just to be clear, you're suggesting running
> ./bootstrap in-tree and then configure, and subsequent steps out-of-tree?

yes

> been making a copy of the source into a working directory and doing an in-tree
> build in the working directory in order to keep the source directory pristine,
> but I'm having trouble remembering a real reason for the pristine source
> directory now that I think about it. Maybe it was that my default git commands
> might fail given conflicts, but I can change them to be more forceful.

`git clean -x -d -f` will delete everything that git doesn't know about

`git checkout -f` will check out all files that git knows about to their 
normal state
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150307/4e3ede1e/attachment.bin>


More information about the Strace-devel mailing list