perf: make tarball broken by some file added by pt/bts

From: Arnaldo Carvalho de Melo
Date: Fri Aug 21 2015 - 12:33:55 EST


CC util/scripting-engines/trace-event-python.o
CC util/intel-pt-decoder/intel-pt-insn-decoder.o
util/intel-pt-decoder/intel-pt-insn-decoder.c:23:22: fatal error:
asm/insn.h: No such file or directory
#include <asm/insn.h>
^
compilation terminated.
make[4]: *** [util/intel-pt-decoder/intel-pt-insn-decoder.o] Error 1
make[3]: *** [intel-pt-decoder] Error 2
make[3]: *** Waiting for unfinished jobs....
LD util/scripting-engines/libperf-in.o
make[2]: *** [util] Error 2
make[1]: *** [libperf-in.o] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
make: Leaving directory `/tmp/tmp.hgx9LlqzIn/perf-4.2.0-rc7/tools/perf'
[acme@felicio linux]$


I'll fix this after lunch, but please try:

make -C tools/perf build-test

Before pushing patches :-)

In this case this failed:

<SNIP>
- make_minimal_O: cd . && make -f Makefile O=/tmp/tmp.FfxP61RpEW DESTDIR=/tmp/tmp.4o7LkgFCKh NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_GTK2=1 NO_DEMANGLE=1 NO_LIBELF=1 NO_LIBUNWIND=1 NO_BACKTRACE=1 NO_LIBNUMA=1 NO_LIBAUDIT=1 NO_LIBBIONIC=1 NO_LIBDW_DWARF_UNWIND=1 NO_AUXTRACE=1
- make_static_O: cd . && make -f Makefile O=/tmp/tmp.4kh7c73Ymv DESTDIR=/tmp/tmp.k6c2XzIPgB LDFLAGS=-static
- make_tags_O: cd . && make -f Makefile O=/tmp/tmp.uPISETPX1e DESTDIR=/tmp/tmp.LT7sZE4jbt tags
- make_cscope_O: cd . && make -f Makefile O=/tmp/tmp.iTI7eBbUhb DESTDIR=/tmp/tmp.ljYFf2oiTp cscope
- tarpkg: ./tests/perf-targz-src-pkg .
make[2]: *** [tarpkg] Error 2
make[1]: *** [all] Error 2
make: *** [build-test] Error 2
make: Leaving directory `/home/acme/git/linux/tools/perf'



We need to improve this, but to see the problem I've been doing:

cp tools/perf/tests/perf-targz-src-pkg /tmp

then editing the local copy to remove the output redirection to NULL for
the make command, the test uses just the exit return :-\

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/