Public bug reported:

* Version of collectd: 5.9.2.g-1ubuntu5
* Operating system / distribution: Ubuntu 20.04
* Kernel version: `5.4.0-73-generic`

I have developed a custom plugin for collectd that uses the `plugin.h`
header. It worked fine on Ubuntu 18.04. But recently (May 2021) I've
tried to recompile the plugin on Ubuntu 20.04 and it fails.

More specifically, this simple code does not compile anymore on Ubuntu
20.04 (I've installed the `collectd` , `collectd-core`, `collectd-dbg`,
`collectd-dev`, `collectd-utils` packages but same error):

```c
#include <collectd/core/daemon/plugin.h>

int main() {}
```

```c
In file included from collectd.c:1:
/usr/include/collectd/core/daemon/plugin.h:34:10: fatal error: 
utils/metadata/meta_data.h: No such file or directory
   34 | #include "utils/metadata/meta_data.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
```

`meta_data.h` is not present among the headers shipped with the collectd
package on Ubuntu 20.04. Actually the whole `utils` folder is missing.

** Affects: collectd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1929079

Title:
  Missing header meta_data.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1929079/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to