Em Mon, Mar 09, 2015 at 01:12:04PM +0100, Jiri Olsa escreveu: > On Mon, Mar 02, 2015 at 12:32:20PM -0300, Arnaldo Carvalho de Melo wrote: > > SNIP > > > > > > > > > Can you try to reproduce this? The ctf-data/metadata file is below: > > > > > > hum, i just tried and can't reproduce this one.. anychance of mixed > > > babeltrace installations? How did you install babeltrace sources? > > > > I will recheck > > > > > I assume this was some standard Fedora latest something system right? > > > > This was on RHEL7 > > > > hum, how did you compile babeltrace on RHEL7 im getting following error: > > [root@intel-s3ea2-09 babeltrace]# ./bootstrap > + '[' '!' -e config ']' > + libtoolize --force --copy > libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'. > libtoolize: copying file `config/ltmain.sh' > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. > libtoolize: copying file `m4/libtool.m4' > libtoolize: copying file `m4/ltoptions.m4' > libtoolize: copying file `m4/ltsugar.m4' > libtoolize: copying file `m4/ltversion.m4' > libtoolize: copying file `m4/lt~obsolete.m4' > + autoreconf -i > configure.ac:48: warning: macro 'AM_PATH_GLIB_2_0' not found in library > configure.ac:48: warning: macro 'AM_PATH_GLIB_2_0' not found in library > configure.ac:48: error: possibly undefined macro: AM_PATH_GLIB_2_0 > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > autoreconf: /usr/bin/autoconf failed with exit status: 1
Trying again, freshly cloned babeltrace: [acme@ssdandy git]$ git clone git://git.efficios.com/babeltrace.git Cloning into 'babeltrace'... remote: Counting objects: 10295, done. remote: Compressing objects: 100% (3900/3900), done. remote: Total 10295 (delta 7295), reused 8784 (delta 6112) Receiving objects: 100% (10295/10295), 2.35 MiB | 537.00 KiB/s, done. Resolving deltas: 100% (7295/7295), done. [acme@ssdandy git]$ [acme@ssdandy linux]$ cd ../babeltrace/ [acme@ssdandy babeltrace]$ ./bootstrap + '[' '!' -e config ']' + mkdir config + libtoolize --force --copy libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'. libtoolize: copying file `config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' + autoreconf -i configure.ac:11: installing 'config/config.guess' configure.ac:11: installing 'config/config.sub' configure.ac:13: installing 'config/install-sh' configure.ac:13: installing 'config/missing' bindings/python/Makefile.am: installing 'config/depcomp' bindings/python/Makefile.am:9: installing 'config/py-compile' configure.ac: installing 'config/ylwrap' [acme@ssdandy babeltrace]$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.1 (Maipo) [acme@ssdandy babeltrace]$ [acme@ssdandy babeltrace]$ ./configure --prefix=/opt/libbabeltrace checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p <SNIP> config.status: creating babeltrace-ctf.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands [acme@ssdandy babeltrace]$ make prefix=/opt/libbabeltrace <SNIP> [acme@dandy babeltrace]$ sudo make install prefix=/opt/libbabeltrace All looks fine, trying to build... [acme@ssdandy linux]$ rm -rf /tmp/build/perf ; mkdir -p /tmp/build/perf ; time make LIBBABELTRACE_DIR=/opt/libbabeltrace O=/tmp/build/perf -C tools/perf install-bin make: Entering directory `/home/acme/git/linux/tools/perf' BUILD: Doing 'make -j8' parallel build config/Makefile:425: No libunwind found. Please install libunwind-dev[el] >= 1.1 and/or set LIBUNWIND_DIR config/Makefile:709: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev Auto-detecting system features: ... dwarf: [ on ] ... glibc: [ on ] ... gtk2: [ on ] ... libaudit: [ on ] ... libbfd: [ on ] ... libelf: [ on ] ... libnuma: [ on ] ... libperl: [ on ] ... libpython: [ on ] ... libslang: [ on ] ... libunwind: [ OFF ] ... libdw-dwarf-unwind: [ on ] ... libbabeltrace: [ OFF ] Doesn't work... Will try not using O=: [acme@ssdandy perf]$ time make LIBBABELTRACE_DIR=/opt/libbabeltrace install-bin BUILD: Doing 'make -j8' parallel build config/Makefile:425: No libunwind found. Please install libunwind-dev[el] >= 1.1 and/or set LIBUNWIND_DIR config/Makefile:709: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev Auto-detecting system features: ... dwarf: [ on ] ... glibc: [ on ] ... gtk2: [ on ] ... libaudit: [ on ] ... libbfd: [ on ] ... libelf: [ on ] ... libnuma: [ on ] ... libperl: [ on ] ... libpython: [ on ] ... libslang: [ on ] ... libunwind: [ OFF ] ... libdw-dwarf-unwind: [ on ] ... libbabeltrace: [ OFF ] ... zlib: [ on ] ... DWARF post unwind library: libdw Doesn't work as well... :-\ Will try debugging... - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/