FS#64533 - [collectd] python plugins support is broken
Attached to Project:
Community Packages
Opened by Alexander Meshcheryakov (Self-Perfection) - Saturday, 16 November 2019, 11:01 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 18 November 2019, 00:36 GMT
Opened by Alexander Meshcheryakov (Self-Perfection) - Saturday, 16 November 2019, 11:01 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 18 November 2019, 00:36 GMT
|
Details
Description:
If collectd configuration loads python plugin, collectd does not start with error: ``` dlopen("/usr/lib/collectd/python.so") failed: /usr/lib/collectd/python.so: undefined symbol: PySys_SetArgv. The most common cause for this problem is missing dependencies. Use ldd(1) to check the dependencies of the plugin / shared object. plugin_load: Load plugin "python" failed with status 2. ``` Somehow collectd plugin even is not linked with python: $ ldd /usr/lib/collectd/python.so |grep --count python 0 For comparison in collectd 5.9.0-1: # ldd /usr/lib/collectd/python.so | grep python libpython3.7m.so.1.0 => /usr/lib/libpython3.7m.so.1.0 (0x00007f3912d6d000) Additional info: collectd 5.9.2-3 |
This task depends upon
Closed by Gaetan Bisson (vesath)
Monday, 18 November 2019, 00:36 GMT
Reason for closing: Fixed
Additional comments about closing: collectd-5.10.0-1 in [community]
Monday, 18 November 2019, 00:36 GMT
Reason for closing: Fixed
Additional comments about closing: collectd-5.10.0-1 in [community]

This seems to be an upstream bug, see
https://github.com/collectd/collectd/pull/3170

I've created PR in upstream with fix:
https://github.com/collectd/collectd/pull/3344

I'll push 5.10.0 together with your patch to [community] in the
next few minutes. Thanks for the report!