All of lore.kernel.org
 help / color / mirror / Atom feed
* Failure on "make clean"
@ 2014-11-25  7:44 Juergen Gross
  2014-11-25  9:01 ` Jan Beulich
       [not found] ` <54745381020000780004A94C@suse.com>
  0 siblings, 2 replies; 3+ messages in thread
From: Juergen Gross @ 2014-11-25  7:44 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

Hi,

make clean in xen-unstable is failing:

make[2]: Entering directory '/home/gross/xen/tools'
set -e; if test -d qemu-xen-traditional-dir/.; then \
         make -C qemu-xen-traditional-dir clean; \
fi
make[3]: Entering directory 
'/home/gross/xen/tools/qemu-xen-traditional-dir-remote'
Makefile:3: config-host.mak: No such file or directory
Makefile:4: /rules.mak: No such file or directory
make[3]: *** No rule to make target '/rules.mak'.  Stop.
make[3]: Leaving directory 
'/home/gross/xen/tools/qemu-xen-traditional-dir-remote'
Makefile:181: recipe for target 'subdir-clean-qemu-xen-traditional-dir' 
failed
make[2]: *** [subdir-clean-qemu-xen-traditional-dir] Error 2
make[2]: Leaving directory '/home/gross/xen/tools'
/home/gross/xen/tools/../tools/Rules.mk:111: recipe for target 
'subdirs-clean' failed
make[1]: *** [subdirs-clean] Error 2
make[1]: Leaving directory '/home/gross/xen/tools'
Makefile:139: recipe for target 'clean' failed
make: *** [clean] Error 2


I think SRC_PATH is somehow undefined...


Juergen

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

* Re: Failure on "make clean"
  2014-11-25  7:44 Failure on "make clean" Juergen Gross
@ 2014-11-25  9:01 ` Jan Beulich
       [not found] ` <54745381020000780004A94C@suse.com>
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Beulich @ 2014-11-25  9:01 UTC (permalink / raw)
  To: Juergen Gross; +Cc: xen-devel

>>> On 25.11.14 at 08:44, <JGross@suse.com> wrote:
> Hi,
> 
> make clean in xen-unstable is failing:
> 
> make[2]: Entering directory '/home/gross/xen/tools'
> set -e; if test -d qemu-xen-traditional-dir/.; then \
>          make -C qemu-xen-traditional-dir clean; \
> fi
> make[3]: Entering directory 
> '/home/gross/xen/tools/qemu-xen-traditional-dir-remote'
> Makefile:3: config-host.mak: No such file or directory

SRC_PATH gets defined there. This file missing makes me wonder
whether you ran "make clean" without a prior "make". If so,
perhaps the test in tools/Makefile should be altered:

subdir-clean-qemu-xen-traditional-dir:
	set -e; if test -e qemu-xen-traditional-dir/config-host.mak; then \
		$(MAKE) -C qemu-xen-traditional-dir clean; \
	fi

(possibly in a similar way for subdir-clean-qemu-xen-dir), albeit that
may end up leaving an unclean tree when having interrupted qemu's
configure process (not sure in which order it creates files).

Jan

> Makefile:4: /rules.mak: No such file or directory
> make[3]: *** No rule to make target '/rules.mak'.  Stop.
> make[3]: Leaving directory 
> '/home/gross/xen/tools/qemu-xen-traditional-dir-remote'
> Makefile:181: recipe for target 'subdir-clean-qemu-xen-traditional-dir' 
> failed
> make[2]: *** [subdir-clean-qemu-xen-traditional-dir] Error 2
> make[2]: Leaving directory '/home/gross/xen/tools'
> /home/gross/xen/tools/../tools/Rules.mk:111: recipe for target 
> 'subdirs-clean' failed
> make[1]: *** [subdirs-clean] Error 2
> make[1]: Leaving directory '/home/gross/xen/tools'
> Makefile:139: recipe for target 'clean' failed
> make: *** [clean] Error 2
> 
> 
> I think SRC_PATH is somehow undefined...
> 
> 
> Juergen
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org 
> http://lists.xen.org/xen-devel 

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

* Re: Failure on "make clean"
       [not found] ` <54745381020000780004A94C@suse.com>
@ 2014-11-25  9:24   ` Juergen Gross
  0 siblings, 0 replies; 3+ messages in thread
From: Juergen Gross @ 2014-11-25  9:24 UTC (permalink / raw)
  To: Jan Beulich; +Cc: xen-devel

On 11/25/2014 10:01 AM, Jan Beulich wrote:
>>>> On 25.11.14 at 08:44, <JGross@suse.com> wrote:
>> Hi,
>>
>> make clean in xen-unstable is failing:
>>
>> make[2]: Entering directory '/home/gross/xen/tools'
>> set -e; if test -d qemu-xen-traditional-dir/.; then \
>>           make -C qemu-xen-traditional-dir clean; \
>> fi
>> make[3]: Entering directory
>> '/home/gross/xen/tools/qemu-xen-traditional-dir-remote'
>> Makefile:3: config-host.mak: No such file or directory
>
> SRC_PATH gets defined there. This file missing makes me wonder
> whether you ran "make clean" without a prior "make". If so,
> perhaps the test in tools/Makefile should be altered:
>
> subdir-clean-qemu-xen-traditional-dir:
> 	set -e; if test -e qemu-xen-traditional-dir/config-host.mak; then \
> 		$(MAKE) -C qemu-xen-traditional-dir clean; \
> 	fi
>
> (possibly in a similar way for subdir-clean-qemu-xen-dir), albeit that
> may end up leaving an unclean tree when having interrupted qemu's
> configure process (not sure in which order it creates files).

I called "make subtree-force-update" before "make clean". This wipes
out tools/qemu-xen-traditional-dir IMHO.

Juergen

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

end of thread, other threads:[~2014-11-25  9:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-25  7:44 Failure on "make clean" Juergen Gross
2014-11-25  9:01 ` Jan Beulich
     [not found] ` <54745381020000780004A94C@suse.com>
2014-11-25  9:24   ` Juergen Gross

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.