[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#657772: collectd: FTBFS(kfreebsd): deprecated libbsd-dev usage and Werror



reassign 657772 libkvm-dev
found 657772 8.2+ds2-2
retitle 657772 libkvm-dev: kvm.h should include bsd/nlist.h rather than nlist.h
thanks

Hi,

On Sat, Jan 28, 2012 at 06:20:40PM +0100, Christoph Egger wrote:
> Your package failed to build on the kfreebsd-* buildds:

Thanks for reporting this!

> libtool: compile:  x86_64-kfreebsd-gnu-gcc -DHAVE_CONFIG_H -I. -DPREFIX=\"/usr\" -DCONFIGFILE=\"/etc/collectd.conf\" -DLOCALSTATEDIR=\"/var\" -DPKGLOCALSTATEDIR=\"/var/lib/collectd\" -DPIDFILE=\"/var/run/collectd.pid\" -DPLUGINDIR=\"/usr/lib/collectd\" -DPKGDATADIR=\"/usr/share/collectd\" -I/build/buildd-collectd_4.10.4-1-kfreebsd-amd64-2FaKuj/collectd-4.10.4/debian/include "-DLT_LAZY_OR_NOW=RTLD_LAZY|RTLD_GLOBAL" -UCONFIGFILE -DCONFIGFILE=\"/etc/collectd/collectd.conf\" -Wall -Werror -Wall -g -O2 -MT processes.lo -MD -MP -MF .deps/processes.Tpo -c processes.c  -fPIC -DPIC -o .libs/processes.o
> In file included from /usr/include/kvm.h:38:0,
>                  from processes.c:96:
> /usr/include/nlist.h:33:2: error: #warning "Deprecated header, use <bsd/nlist.h> or libbsd-overlay.pc instead." [-Werror=cpp]
> cc1: all warnings being treated as errors

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).

If you don't agree, please clone and reassign the cloned bug. The
libkvm-dev bug should be kept open as wishlist, though, in that case ;-)

Thanks in advance!

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature


Reply to: