Bug ID 1148491
Summary collectd fails to build in 15.2
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.2
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee stefan.bruens@rwth-aachen.de
Reporter lnussel@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

a sensors update broke collectd, it doesn't build anymore in 15.2:
https://build.opensuse.org/package/live_build_log/openSUSE:Leap:15.2/collectd/standard/x86_64

/run/collectd.pid\" -DPLUGINDIR=\"/usr/lib64/collectd\"
-DPKGDATADIR=\"/usr/share/collectd\" -Wall -fmessage-length=0
-grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong
-funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g
-fno-strict-aliasing -c utils_rrdcreate.c  -fPIC -DPIC -o
.libs/rrdtool_la-utils_rrdcreate.o
[  157s] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./daemon
-DPREFIX=\"/usr\" -DCONFIGFILE=\"/etc/collectd.conf\" -DLOCALSTATEDIR=\"/var\"
-DPKGLOCALSTATEDIR=\"/var/lib/collectd\" -DPIDFILE=\"/var/run/collectd.pid\"
-DPLUGINDIR=\"/usr/lib64/collectd\" -DPKGDATADIR=\"/usr/share/collectd\" -Wall
-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -g -fno-strict-aliasing -c sensors.c  -fPIC -DPIC -o
.libs/sensors_la-sensors.o
[  157s] sensors.c:165:2: error: #error "This version of libsensors is not
supported yet. Please report this " "as bug."
[  157s]  #error "This version of libsensors is not supported yet. Please
report this " \
[  157s]   ^~~~~
[  157s] sensors.c:169:8: error: unknown type name 'featurelist_t'
[  157s]  static featurelist_t *first_feature = NULL;
[  157s]         ^~~~~~~~~~~~~
[  157s] In file included from sensors.c:38:0:
[  157s] sensors.c: In function 'sensors_config':
[  157s] sensors.c:212:13: error: 'conffile' undeclared (first use in this
function); did you mean 'confstr'?
[  157s]        sfree(conffile);


You are receiving this mail because: