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

Re: Bug#621820: [Pkg-xfce-devel] Bug#621820: Bug#621820: xfce4-netload-plugin: FTBFS on kfreebsd-*: os.h:125:28: error: net/ppp_defs.h: No such file or directory



Hi!

On Mon, 2011-04-25 at 23:45:00 +0200, Yves-Alexis Perez wrote:
> reassign 621820 kfreebsd-kernel-headers
> 
> On lun., 2011-04-25 at 12:28 +0200, Yves-Alexis Perez wrote:
> > On Linux arches net/ppp_defs.h and net/if_ppp.h are provided by
> > libc6-dev. On kFreeBSD it's a bit different, the headers are only
> > provided in (versioned) kfreebsd-headers-* packages, and they are
> > located in /usr/src/kfreebsd-headers-8.2-1/sys/ 
> > 
> > I don't think it's a good idea to build-dep on versioned kernel
> > headers
> > nor passing a (versioned) -I to the build, that'd be too much trouble.
> > 
> > Any idea how to fix that?

> After discussing this with Cyril on irc it seems the solution might be
> to include the relevant header files in kfreebsd-kernel-headers, so
> reassigning.

kFreeBSD 8.0+ does not have if_ppp any longer, so this is not
possible, the fix upstream proposes seems to be to port to ppp(8), as
seen from the removal commit log:

  <http://www.mail-archive.com/svn-src-all@freebsd.org/msg07293.html>

  <http://www.freebsd.org/cgi/man.cgi?query=ppp&sektion=8>

This bug should be reassigned back I guess.

regards,
guillem


Reply to: