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

2012-01-28 Thread Sebastian Harl
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 
>  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



signature.asc
Description: Digital signature


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

2012-01-28 Thread Robert Millan
reassign 657772 libbsd-dev
found 657772 0.3.0-1
retitle 657772 libbsd-dev: please provide a working 
thanks

El 28 de gener de 2012 17:39, Sebastian Harl  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  in its
standard location).

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOfDtXMkziyHpmTinCFpSbCH=sw_t-cs5gmybr42dig9_uu...@mail.gmail.com



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

2012-02-25 Thread Guillem Jover
clone 657772 -1
reassign -1 libkvm-dev
retitle -1 libkvm-dev: Should use 
retitle 657772 libbsd-dev: Should not provide 
severity 657772 important
thanks

On Sat, 2012-01-28 at 18:04:42 +, Robert Millan wrote:
> reassign 657772 libbsd-dev
> found 657772 0.3.0-1
> retitle 657772 libbsd-dev: please provide a working 
> thanks
> 
> El 28 de gener de 2012 17:39, Sebastian Harl  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.

Yes.

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

thanks,
guillem


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120225202441.ga19...@gaara.hadrons.org



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

2012-01-28 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 657772 libkvm-dev
Bug #657772 [src:collectd] collectd: FTBFS(kfreebsd): deprecated libbsd-dev 
usage and Werror
Bug reassigned from package 'src:collectd' to 'libkvm-dev'.
Bug No longer marked as found in versions collectd/4.10.4-1.
> found 657772 8.2+ds2-2
Bug #657772 [libkvm-dev] collectd: FTBFS(kfreebsd): deprecated libbsd-dev usage 
and Werror
Bug Marked as found in versions freebsd-libs/8.2+ds2-2.
> retitle 657772 libkvm-dev: kvm.h should include bsd/nlist.h rather than 
> nlist.h
Bug #657772 [libkvm-dev] collectd: FTBFS(kfreebsd): deprecated libbsd-dev usage 
and Werror
Changed Bug title to 'libkvm-dev: kvm.h should include bsd/nlist.h rather than 
nlist.h' from 'collectd: FTBFS(kfreebsd): deprecated libbsd-dev usage and 
Werror'
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
657772: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657772
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.132777239216466.transcr...@bugs.debian.org



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

2012-01-28 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 657772 libbsd-dev
Bug #657772 [libkvm-dev] libkvm-dev: kvm.h should include bsd/nlist.h rather 
than nlist.h
Bug reassigned from package 'libkvm-dev' to 'libbsd-dev'.
Bug No longer marked as found in versions freebsd-libs/8.2+ds2-2.
> found 657772 0.3.0-1
Bug #657772 [libbsd-dev] libkvm-dev: kvm.h should include bsd/nlist.h rather 
than nlist.h
Bug Marked as found in versions libbsd/0.3.0-1.
> retitle 657772 libbsd-dev: please provide a working 
Bug #657772 [libbsd-dev] libkvm-dev: kvm.h should include bsd/nlist.h rather 
than nlist.h
Changed Bug title to 'libbsd-dev: please provide a working ' from 
'libkvm-dev: kvm.h should include bsd/nlist.h rather than nlist.h'
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
657772: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657772
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.132777388927907.transcr...@bugs.debian.org



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

2012-02-25 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> clone 657772 -1
Bug#657772: libbsd-dev: please provide a working 
Bug 657772 cloned as bug 661274.

> reassign -1 libkvm-dev
Bug #661274 [libbsd-dev] libbsd-dev: please provide a working 
Bug reassigned from package 'libbsd-dev' to 'libkvm-dev'.
Bug No longer marked as found in versions libbsd/0.3.0-1.
> retitle -1 libkvm-dev: Should use 
Bug #661274 [libkvm-dev] libbsd-dev: please provide a working 
Changed Bug title to 'libkvm-dev: Should use ' from 'libbsd-dev: 
please provide a working '
> retitle 657772 libbsd-dev: Should not provide 
Bug #657772 [libbsd-dev] libbsd-dev: please provide a working 
Changed Bug title to 'libbsd-dev: Should not provide ' from 
'libbsd-dev: please provide a working '
> severity 657772 important
Bug #657772 [libbsd-dev] libbsd-dev: Should not provide 
Severity set to 'important' from 'serious'

> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
657772: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657772
661274: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661274
-1: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=-1
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.13302015104721.transcr...@bugs.debian.org