Re: Bug#657772: collectd: FTBFS(kfreebsd): deprecated libbsd-dev usage and Werror
clone 657772 -1
reassign -1 libkvm-dev
retitle -1 libkvm-dev: Should use <bsd/nlist.h>
retitle 657772 libbsd-dev: Should not provide <nlist.h>
severity 657772 important
On Sat, 2012-01-28 at 18:04:42 +0000, Robert Millan wrote:
> reassign 657772 libbsd-dev
> found 657772 0.3.0-1
> retitle 657772 libbsd-dev: please provide a working <nlist.h>
> El 28 de gener de 2012 17:39, Sebastian Harl <email@example.com> ha escrit:
> > Hrm, this sounds like a problem in libkvm to me and should be fixed
> > there. The only thing I could do in collectd is disable the use of
> > libkvm (and, thus, probably remove support for a few plugins).
> I agree that libkvm users shouldn't have to bother about this problem.
> However we don't need to add a workaround in libkvm-dev since this is
> very easy to fix in libbsd-dev (simply by installing <nlist.h> in its
> standard location).
The problem is that nlist.h is provided too by libelf*-dev, so libbsd-dev
has had to Replace those, which is actually wrong, as then the file will
disappear in the following sequence:
apt-get install libbsd-dev libelf-dev
apt-get remove libbsd-dev
After this, packages Build-Depending on libelf-dev will no longer be
able to find nlist.h. For the next libbsd upstream release I've actually
moved all those headers under /usr/include/bsd/, so this will have to
be fixed anyway.
libkvm-dev could instead Build-Depend on libelf-dev/libelfg0-dev, but
given that it's linking against libbsd anyway, it seems like a
gratuituous build and runtime dependency.