Skip to contentSkip to conversation

Failure on "make clean"

DISCUSSION Juergen Gross 2 participants 3 messages Nov 25, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 25.11.14 at 08:44, <[email protected]> wrote:

Hi,

make clean in xen-unstable is failing:

Quoted 7 lines

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

Quoted 25 lines

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
[email protected]
http://lists.xen.org/xen-devel

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 17 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 25.11.14 at 08:44, <[email protected]> wrote:

Hi,

make clean in xen-unstable is failing:

Quoted 7 lines

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:

Quoted 8 lines

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