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 bsd/nlist.h
retitle 657772 libbsd-dev: Should not provide nlist.h
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 nlist.h
 thanks
 
 El 28 de gener de 2012 17:39, Sebastian Harl tok...@debian.org 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 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.

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-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 nlist.h
Bug 657772 cloned as bug 661274.

 reassign -1 libkvm-dev
Bug #661274 [libbsd-dev] libbsd-dev: please provide a working nlist.h
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 bsd/nlist.h
Bug #661274 [libkvm-dev] libbsd-dev: please provide a working nlist.h
Changed Bug title to 'libkvm-dev: Should use bsd/nlist.h' from 'libbsd-dev: 
please provide a working nlist.h'
 retitle 657772 libbsd-dev: Should not provide nlist.h
Bug #657772 [libbsd-dev] libbsd-dev: please provide a working nlist.h
Changed Bug title to 'libbsd-dev: Should not provide nlist.h' from 
'libbsd-dev: please provide a working nlist.h'
 severity 657772 important
Bug #657772 [libbsd-dev] libbsd-dev: Should not provide nlist.h
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



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

2012-01-28 Thread Christoph Egger
Package: src:collectd
Version: 4.10.4-1
Severity: serious
Tags: sid wheezy
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org
Justification: fails to build from source (but built successfully in the past)

Hi!

Your package failed to build on the kfreebsd-* buildds:

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

make[4]: *** [processes.lo] Error 1

Full build log at
https://buildd.debian.org/status/fetch.php?pkg=collectdarch=kfreebsd-amd64ver=4.10.4-1stamp=1326126327

Regards

Christoph

If you have further questions please mail debian-bsd@lists.debian.org

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer



-- 
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/871uqjd9qv@hepworth.siccegge.de



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



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 nlist.h
thanks

El 28 de gener de 2012 17:39, Sebastian Harl tok...@debian.org 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).

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