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

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



tag 621820 +help
thanks
On sam., 2011-04-09 at 06:03 +0200, Cyril Brulebois wrote:
> Source: xfce4-netload-plugin
> Version: 1.0.0-1
> Severity: serious
> Justification: FTBFS
> User: debian-bsd@lists.debian.org
> Usertags: kfreebsd
> 
> Hi,
> 
> your package no longer builds on kfreebsd-*:
> | […] xfce4_netload_plugin-netload.o `test -f 'netload.c' || echo './'`netload.c
> | In file included from net.h:25,
> |                  from netload.c:26:
> | os.h:125:28: error: net/ppp_defs.h: No such file or directory
> | os.h:126:26: error: net/if_ppp.h: No such file or directory
> | make[3]: *** [xfce4_netload_plugin-netload.o] Error 1
> 
> Full build logs:
>   https://buildd.debian.org/status/package.php?p=xfce4-netload-plugin&suite=experimental
> 
> KiBi.

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?

Regards,
-- 
Yves-Alexis

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: