public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* perf: make tarball broken by some file added by pt/bts
@ 2015-08-21 16:33 Arnaldo Carvalho de Melo
  2015-08-21 19:05 ` Adrian Hunter
  0 siblings, 1 reply; 6+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-08-21 16:33 UTC (permalink / raw)
  To: Adrian Hunter; +Cc: Jiri Olsa, Linux Kernel Mailing List

  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

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

end of thread, other threads:[~2015-08-28  6:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-21 16:33 perf: make tarball broken by some file added by pt/bts Arnaldo Carvalho de Melo
2015-08-21 19:05 ` Adrian Hunter
2015-08-21 19:08   ` Adrian Hunter
2015-08-21 19:53     ` Arnaldo Carvalho de Melo
2015-08-21 19:51   ` Arnaldo Carvalho de Melo
2015-08-28  6:36   ` [tip:perf/core] perf tools: Fix tarball build broken " tip-bot for Adrian Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox