[lttng-dev] babeltrace foreign builds broken by 384246569494

Jérémie Galarneau jeremie.galarneau at efficios.com
Fri Oct 16 15:53:56 EDT 2015


Hi Nathan,

This should be fixed as of:

commit d620c28807ba2f9d0b97582384915f6a452a3375
Author: Jérémie Galarneau <jeremie.galarneau at efficios.com>
Date:   Fri Oct 16 15:31:28 2015 -0400

    Fix: missing includes break the out-of-tree build

    Addresses out-of-tree build breakage introduced by
    commit 3842465694945829d76452ff83924aa0103c6293

    Reported-by: Nathan Lynch <Nathan_Lynch at mentor.com>
    Signed-off-by: Jérémie Galarneau <jeremie.galarneau at efficios.com>

Thanks for reporting!
Jérémie

On Fri, Oct 16, 2015 at 11:35 AM, Nathan Lynch <Nathan_Lynch at mentor.com> wrote:
> Hi,
>
> Building babeltrace's master branch in a directory separate from the source
> directory has been broken by:
>
> commit 3842465694945829d76452ff83924aa0103c6293
> Author: Michael Jeanson <mjeanson at efficios.com>
> Date:   Fri Oct 9 15:50:25 2015 -0400
>
>     Port: Include config.h globally trough DEFAULT_INCLUDES
>
>     Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
>     Signed-off-by: Jérémie Galarneau <jeremie.galarneau at efficios.com>
>
> The error is:
>
> make[5]: Entering directory '/home/nathanl/src/babeltrace/build/formats/ctf/metadata'
> /bin/sh ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I/home/nathanl/src/babeltrace/build/.. -I../../.. -I../../../include -include config.h    -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -Wall -Wformat -I/home/nathanl/src/babeltrace/build/../include -include ctf-scanner-symbols.h -g -O2 -pthread -MT libctf_parser_la-ctf-lexer.lo -MD -MP -MF .deps/libctf_parser_la-ctf-lexer.Tpo -c -o libctf_parser_la-ctf-lexer.lo `test -f 'ctf-lexer.c' || echo '/home/nathanl/src/babeltrace/build/../formats/ctf/metadata/'`ctf-lexer.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I/home/nathanl/src/babeltrace/build/.. -I../../.. -I../../../include -include config.h -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wformat -I/home/nathanl/src/babeltrace/build/../include -include ctf-scanner-symbols.h -g -O2 -pthread -MT libctf_parser_la-ctf-lexer.lo -MD -MP -MF .deps/libctf_parser_la-ctf-lexer.Tpo -c ctf-lexer.c  -fPIC -DPIC -o .libs/libctf_parser_la-ctf-lexer.o
> cc1: fatal error: ctf-scanner-symbols.h: No such file or directory
>
>
> To recreate, just do something like:
>
> $ ./bootstrap && mkdir build && (cd build && ../configure && make)



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list