All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] This is an out of tree build but your source tree
@ 2013-05-20  2:33 Peter Cheung
  2013-05-20  6:17 ` Stefan Hajnoczi
  2013-05-20 15:59 ` Andreas Färber
  0 siblings, 2 replies; 8+ messages in thread
From: Peter Cheung @ 2013-05-20  2:33 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

Hi all    I have this problem in my Mac
/Users/peter/workspace/qemu_latest>makeMakefile:16: *** This is an out of tree build but your source tree (/Users/peter/workspace/qemu_latest) seems to have been used for an in-tree build. You can fix this by running "make distclean && rm -rf *-linux-user *-softmmu" in your source tree.  Stop.
even i run "make distclean && rm -rf *-linux-user *-softmmu", it doesn't help.
thanksfrom Peter
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 983 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] This is an out of tree build but your source tree
  2013-05-20  2:33 [Qemu-devel] This is an out of tree build but your source tree Peter Cheung
@ 2013-05-20  6:17 ` Stefan Hajnoczi
  2013-05-20  8:11   ` Peter Maydell
  2013-05-21  6:30   ` Peter Cheung
  2013-05-20 15:59 ` Andreas Färber
  1 sibling, 2 replies; 8+ messages in thread
From: Stefan Hajnoczi @ 2013-05-20  6:17 UTC (permalink / raw)
  To: Peter Cheung; +Cc: qemu-devel

On Mon, May 20, 2013 at 4:33 AM, Peter Cheung <mcheung63@hotmail.com> wrote:
> /Users/peter/workspace/qemu_latest>make
> Makefile:16: *** This is an out of tree build but your source tree
> (/Users/peter/workspace/qemu_latest) seems to have been used for an in-tree
> build. You can fix this by running "make distclean && rm -rf *-linux-user
> *-softmmu" in your source tree.  Stop.
>
> even i run "make distclean && rm -rf *-linux-user *-softmmu", it doesn't
> help.

Are you trying to do an out-of-tree build?  If yes, run the distclean
command in the _source tree_ and not in your out-of-tree directory.

If you are not trying to do an out-of-tree build then maybe the
Makefile is buggy here on Mac OS X:
ifneq ($(realpath $(SRC_PATH)),$(realpath .))

Please add $(realpath $(SRC_PATH)) and $(realpath .) to the error
message.  That way you can confirm whether the path matching makes
sense.

Stefan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] This is an out of tree build but your source tree
  2013-05-20  6:17 ` Stefan Hajnoczi
@ 2013-05-20  8:11   ` Peter Maydell
  2013-05-20  8:11     ` Peter Maydell
  2013-05-21  6:30   ` Peter Cheung
  1 sibling, 1 reply; 8+ messages in thread
From: Peter Maydell @ 2013-05-20  8:11 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel, Peter Cheung

On 20 May 2013 07:17, Stefan Hajnoczi <stefanha@gmail.com> wrote:
> If you are not trying to do an out-of-tree build then maybe the
> Makefile is buggy here on Mac OS X:
> ifneq ($(realpath $(SRC_PATH)),$(realpath .))

manooth$ realpath
-bash: realpath: command not found

...might be why this rune does not work on MacOS X :-)

-- PMM

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] This is an out of tree build but your source tree
  2013-05-20  8:11   ` Peter Maydell
@ 2013-05-20  8:11     ` Peter Maydell
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Maydell @ 2013-05-20  8:11 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel, Peter Cheung

On 20 May 2013 09:11, Peter Maydell <peter.maydell@linaro.org> wrote:
> On 20 May 2013 07:17, Stefan Hajnoczi <stefanha@gmail.com> wrote:
>> If you are not trying to do an out-of-tree build then maybe the
>> Makefile is buggy here on Mac OS X:
>> ifneq ($(realpath $(SRC_PATH)),$(realpath .))
>
> manooth$ realpath
> -bash: realpath: command not found

Man, I should stop sending email before I wake up. Ignore this
obvious rubbish.

-- PMM

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] This is an out of tree build but your source tree
  2013-05-20  2:33 [Qemu-devel] This is an out of tree build but your source tree Peter Cheung
  2013-05-20  6:17 ` Stefan Hajnoczi
@ 2013-05-20 15:59 ` Andreas Färber
  2013-05-20 21:51   ` Peter Crosthwaite
  2013-05-21  6:32   ` Peter Cheung
  1 sibling, 2 replies; 8+ messages in thread
From: Andreas Färber @ 2013-05-20 15:59 UTC (permalink / raw)
  To: Peter Cheung; +Cc: qemu-devel

Hi,

Am 20.05.2013 04:33, schrieb Peter Cheung:
> Hi all
>     I have this problem in my Mac
> 
> /Users/peter/workspace/qemu_latest>make
> Makefile:16: *** This is an out of tree build but your source tree
> (/Users/peter/workspace/qemu_latest) seems to have been used for an
> in-tree build. You can fix this by running "make distclean && rm -rf
> *-linux-user *-softmmu" in your source tree.  Stop.
> 
> even i run "make distclean && rm -rf *-linux-user *-softmmu", it doesn't
> help.

If nothing else works, commit all your changes to your source tree and
run in the source directory `rm -rf *` (this should delete all
non-hidden files, leaving .git intact) followed by `git reset --hard` to
restore all files from the index.

Regards,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] This is an out of tree build but your source tree
  2013-05-20 15:59 ` Andreas Färber
@ 2013-05-20 21:51   ` Peter Crosthwaite
  2013-05-21  6:32   ` Peter Cheung
  1 sibling, 0 replies; 8+ messages in thread
From: Peter Crosthwaite @ 2013-05-20 21:51 UTC (permalink / raw)
  To: Andreas Färber; +Cc: qemu-devel, Peter Cheung

Hi Andreas, Peter,

On Tue, May 21, 2013 at 1:59 AM, Andreas Färber <afaerber@suse.de> wrote:
> Hi,
>
> Am 20.05.2013 04:33, schrieb Peter Cheung:
>> Hi all
>>     I have this problem in my Mac
>>
>> /Users/peter/workspace/qemu_latest>make
>> Makefile:16: *** This is an out of tree build but your source tree
>> (/Users/peter/workspace/qemu_latest) seems to have been used for an
>> in-tree build. You can fix this by running "make distclean && rm -rf
>> *-linux-user *-softmmu" in your source tree.  Stop.
>>
>> even i run "make distclean && rm -rf *-linux-user *-softmmu", it doesn't
>> help.
>
> If nothing else works, commit all your changes to your source tree and
> run in the source directory `rm -rf *` (this should delete all
> non-hidden files, leaving .git intact) followed by `git reset --hard` to
> restore all files from the index.
>

FWIW, I think git clean -dxf has the same net effect, purging all
untracked and even gitignored files. Its verbose and its output may
shed light on what bogus files are in your tree as well.

Regards,
Peter

> Regards,
> Andreas
>
> --
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] This is an out of tree build but your source tree
  2013-05-20  6:17 ` Stefan Hajnoczi
  2013-05-20  8:11   ` Peter Maydell
@ 2013-05-21  6:30   ` Peter Cheung
  1 sibling, 0 replies; 8+ messages in thread
From: Peter Cheung @ 2013-05-21  6:30 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1219 bytes --]

Thanks gentlemen :-)

> Date: Mon, 20 May 2013 08:17:33 +0200
> From: stefanha@gmail.com
> To: mcheung63@hotmail.com
> CC: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] This is an out of tree build but your source tree
> 
> On Mon, May 20, 2013 at 4:33 AM, Peter Cheung <mcheung63@hotmail.com> wrote:
> > /Users/peter/workspace/qemu_latest>make
> > Makefile:16: *** This is an out of tree build but your source tree
> > (/Users/peter/workspace/qemu_latest) seems to have been used for an in-tree
> > build. You can fix this by running "make distclean && rm -rf *-linux-user
> > *-softmmu" in your source tree.  Stop.
> >
> > even i run "make distclean && rm -rf *-linux-user *-softmmu", it doesn't
> > help.
> 
> Are you trying to do an out-of-tree build?  If yes, run the distclean
> command in the _source tree_ and not in your out-of-tree directory.
> 
> If you are not trying to do an out-of-tree build then maybe the
> Makefile is buggy here on Mac OS X:
> ifneq ($(realpath $(SRC_PATH)),$(realpath .))
> 
> Please add $(realpath $(SRC_PATH)) and $(realpath .) to the error
> message.  That way you can confirm whether the path matching makes
> sense.
> 
> Stefan
> 
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 1645 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] This is an out of tree build but your source tree
  2013-05-20 15:59 ` Andreas Färber
  2013-05-20 21:51   ` Peter Crosthwaite
@ 2013-05-21  6:32   ` Peter Cheung
  1 sibling, 0 replies; 8+ messages in thread
From: Peter Cheung @ 2013-05-21  6:32 UTC (permalink / raw)
  To: Andreas Färber; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]

Nice idea, thanks Andreas


> Date: Mon, 20 May 2013 17:59:12 +0200
> From: afaerber@suse.de
> To: mcheung63@hotmail.com
> CC: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] This is an out of tree build but your source tree
> 
> Hi,
> 
> Am 20.05.2013 04:33, schrieb Peter Cheung:
> > Hi all
> >     I have this problem in my Mac
> > 
> > /Users/peter/workspace/qemu_latest>make
> > Makefile:16: *** This is an out of tree build but your source tree
> > (/Users/peter/workspace/qemu_latest) seems to have been used for an
> > in-tree build. You can fix this by running "make distclean && rm -rf
> > *-linux-user *-softmmu" in your source tree.  Stop.
> > 
> > even i run "make distclean && rm -rf *-linux-user *-softmmu", it doesn't
> > help.
> 
> If nothing else works, commit all your changes to your source tree and
> run in the source directory `rm -rf *` (this should delete all
> non-hidden files, leaving .git intact) followed by `git reset --hard` to
> restore all files from the index.
> 
> Regards,
> Andreas
> 
> -- 
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
> 
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 1679 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-05-21  6:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-20  2:33 [Qemu-devel] This is an out of tree build but your source tree Peter Cheung
2013-05-20  6:17 ` Stefan Hajnoczi
2013-05-20  8:11   ` Peter Maydell
2013-05-20  8:11     ` Peter Maydell
2013-05-21  6:30   ` Peter Cheung
2013-05-20 15:59 ` Andreas Färber
2013-05-20 21:51   ` Peter Crosthwaite
2013-05-21  6:32   ` Peter Cheung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.