Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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]
Comment by Alexander Meshcheryakov (Self-Perfection) - Saturday, 16 November 2019, 13:21 GMT
This seems to be an upstream bug, see https://github.com/collectd/collectd/pull/3170
Comment by Alexander Meshcheryakov (Self-Perfection) - Saturday, 16 November 2019, 14:58 GMT
I've created PR in upstream with fix: https://github.com/collectd/collectd/pull/3344
Comment by Gaetan Bisson (vesath) - Sunday, 17 November 2019, 23:59 GMT
I'll push 5.10.0 together with your patch to [community] in the next few minutes. Thanks for the report!

Loading...