Project

General

Profile

Actions

Bug #647

closed

making lttng-tools with-consumerd-only runs into trouble with the tests

Added by Daniel U. Thibault over 10 years ago. Updated over 9 years ago.

Status:
Won't fix
Priority:
Low
Assignee:
-
Target version:
-
Start date:
10/03/2013
Due date:
% Done:

0%

Estimated time:

Description

Using the lttng-tools 2.3.0 release, c9dc128
(userspace-rcu and lttng-ust 2.3.0 are already installed)

Consider this (edited for brevity):

$ ./bootstrap &> bootstrap.log
$ ./configure LDFLAGS=-L/usr/local/lib --with-consumerd-only &> configure.log
$ make 2>&1 | tee make.log
[...]
make[2]: quittant le répertoire « lttng-tools-2.3.0/src/lib »
Making all in bin
make[2]: entrant dans le répertoire « lttng-tools-2.3.0/src/bin »
Making all in lttng-consumerd
make[3]: entrant dans le répertoire « lttng-tools-2.3.0/src/bin/lttng-consumerd »
  CC     lttng-consumerd.o
  CCLD   lttng-consumerd
make[3]: quittant le répertoire « lttng-tools-2.3.0/src/bin/lttng-consumerd »
make[3]: entrant dans le répertoire « lttng-tools-2.3.0/src/bin »
make[3]: Rien à faire pour « all-am ».
make[3]: quittant le répertoire « lttng-tools-2.3.0/src/bin »
make[2]: quittant le répertoire « lttng-tools-2.3.0/src/bin »
make[2]: entrant dans le répertoire « lttng-tools-2.3.0/src »
make[2]: Rien à faire pour « all-am ».
make[2]: quittant le répertoire « lttng-tools-2.3.0/src »
make[1]: quittant le répertoire « lttng-tools-2.3.0/src »
Making all in tests
make[1]: entrant dans le répertoire « lttng-tools-2.3.0/tests »
Making all in utils
make[2]: entrant dans le répertoire « lttng-tools-2.3.0/tests/utils »
Making all in tap
make[3]: entrant dans le répertoire « lttng-tools-2.3.0/tests/utils/tap »
  CC     tap.lo
  CCLD   libtap.la
make[3]: quittant le répertoire « lttng-tools-2.3.0/tests/utils/tap »
[...]
Making all in regression
make[2]: entrant dans le répertoire « lttng-tools-2.3.0/tests/regression »
[...]
Making all in unit
make[2]: entrant dans le répertoire « lttng-tools-2.3.0/tests/unit »
  CC     test_uri.o
  CCLD   test_uri
  CC     test_session.o
  CC     ../../src/bin/lttng-sessiond/session.o
../../src/bin/lttng-sessiond/session.c:249:1: erreur fatale: ouverture du fichier de dépendances .deps/../../src/bin/lttng-sessiond/session.Tpo: Aucun fichier ou dossier de ce type
compilation terminée.
make[2]: *** [../../src/bin/lttng-sessiond/session.o] Erreur 1
make[2]: quittant le répertoire « lttng-tools-2.3.0/tests/unit »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « lttng-tools-2.3.0/tests »
make: *** [all-recursive] Erreur 1

Despite using the with-consumerd-only option, the tests are all being built, apparently including those that rely on the other (unbuilt) executables such as lttng-sessiond --hence the failure.

A rough solution is to remove the tests sudirectory from the Makefile's SUBDIRS, but a more refined solution would be to tune the build instructions so they skip the irrelevant tests.


Files

configure.log (10.6 KB) configure.log The configure log Daniel U. Thibault, 10/03/2013 10:18 AM
make.log (37.3 KB) make.log The make log Daniel U. Thibault, 10/03/2013 10:18 AM

Related issues 1 (0 open1 closed)

Related to LTTng-tools - Feature #712: Remove the --consumerd-only of the configure process.Resolved01/09/2014

Actions
Actions #1

Updated by David Goulet over 10 years ago

  • Status changed from New to Confirmed
Actions #2

Updated by David Goulet over 10 years ago

  • Status changed from Confirmed to Feedback
  • Target version deleted (2.3)

I've linked feature request #712 to this bug which propose to remove that option. I'll keep this bug open in case we keep it.

Actions #3

Updated by Christian Babeux over 9 years ago

  • Status changed from Feedback to Won't fix

The --with-consumerd-only option has since been removed (see #712). Closing this bug since this is no longer relevant.

Actions

Also available in: Atom PDF