FTBFS libi2c detection is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
collectd |
Fix Released
|
Unknown
|
|||
collectd (Debian) |
Fix Released
|
Unknown
|
|||
collectd (Ubuntu) |
Fix Released
|
Undecided
|
Christian Ehrhardt |
Bug Description
Hi,
I ran into this FTBFS when I wanted to rebuild in Ubuntu to pick up the new DPDK 17.11.
error: 'i2c_smbus_
function); did you mean 'i2c_smbus_
Upstream in i2c this came by the change:
commit 251d594fd0d338c
Author: Jean Delvare <email address hidden>
Date: Mon May 21 16:52:48 2012 +0000
New library for I2C device access under Linux. As a first step, the
library will host the i2c_smbus_*() inline functions which were
previously in the user-space flavor of <linux/i2c-dev.h>.
I reported the issue upstream so they can add a proper toleration for the change in the i2c lib.
Short term the following does the trick to get it building at least (obviously without i2c&barometer):
confflags += --disable-barometer
CVE References
Changed in collectd (Ubuntu): | |
status: | New → Triaged |
assignee: | nobody → ChristianEhrhardt (paelzer) |
Changed in collectd (Debian): | |
status: | Unknown → New |
Changed in collectd (Debian): | |
status: | New → Fix Released |
Changed in collectd: | |
status: | Unknown → Fix Released |
This bug was fixed in the package collectd - 5.7.2-2ubuntu1
---------------
collectd (5.7.2-2ubuntu1) bionic; urgency=medium
* d/p/fix- i2c-detection. patch fix i2c usage for 4.0 (LP: #1742691) 2017-16820- snmp-plugin- Fix-double- free-of- request- PDU.patch
- d/control: bump libi2c-dev version dependency
* d/rules: fix FTBFS due to liblvm2app deprecation (LP: #1742690)
by disabling preprocessor warnings.
* implicitly rebuilds to pick up DPDK 17.11 (LP: #1741208)
* d/p/CVE-
backport from upstream (Closes: #881757, CVE-2017-16820).
-- Christian Ehrhardt <email address hidden> Thu, 11 Jan 2018 14:33:20 +0100