Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1211246

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

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject perf: make tarball broken by some file added by pt/bts
Date 2015-08-21 18:40 +0200
Message-ID <pZXwe-Hs-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


  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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

perf: make tarball broken by some file added by pt/bts Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-21 18:40 +0200
  Re: perf: make tarball broken by some file added by pt/bts Adrian Hunter <adrian.hunter@intel.com> - 2015-08-21 21:10 +0200
    Re: perf: make tarball broken by some file added by pt/bts Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-21 22:00 +0200
  Re: perf: make tarball broken by some file added by pt/bts Adrian Hunter <adrian.hunter@intel.com> - 2015-08-21 21:10 +0200
    Re: perf: make tarball broken by some file added by pt/bts Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-21 22:00 +0200
    [tip:perf/core] perf tools: Fix tarball build broken by pt/bts tip-bot for Adrian Hunter <tipbot@zytor.com> - 2015-08-28 08:40 +0200

csiph-web