Project

General

Profile

Bug #1079

BT 2.0 tries to load duplicate plugins in .so and .la formats

Added by Anonymous about 3 years ago. Updated 10 days ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
12/12/2016
Due date:
% Done:

0%

Estimated time:

Description

If installing Babeltrace 2.0 via a `make install`, the plugins directory in /usr/local/lib/babeltrace/plugins will contain both .la and .so versions of the built-in plugins. When running Babeltrace with these plugins, it wil attempt to load both versions of each, and will complain about duplicate plugins:

[warning]: Duplicate component class registration attempted. Component class writer being registered by plugin writer (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf-writer.la)
conflicts with one already registered by plugin writer (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf-writer.so)

[warning]: Duplicate component class registration attempted. Component class fs being registered by plugin ctf (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf.so)
conflicts with one already registered by plugin ctf (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf.la)

[warning]: Duplicate component class registration attempted. Component class lttng-live being registered by plugin ctf (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf.so) 
conflicts with one already registered by plugin ctf (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf.la)

[warning]: Duplicate component class registration attempted. Component class text being registered by plugin text (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf-text.so) 
conflicts with one already registered by plugin text (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf-text.la)

[warning]: Duplicate component class registration attempted. Component class trimmer being registered by plugin utils (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-trimmer.so)
conflicts with one already registered by plugin utils (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-trimmer.la)

[warning]: Duplicate component class registration attempted. Component class muxer being registered by plugin muxer (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-muxer.so) 
conflicts with one already registered by plugin muxer (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-muxer.la)
#1

Updated by Jonathan Rajotte Julien 10 days ago

  • Status changed from New to Invalid

State of babeltrace 2 moved a lot since.

Closing this ticket as invalid. Reopen it if it still applies.

Also available in: Atom PDF